Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cwest (1514)

cwest
  (email not shown publicly)
http://caseywest.com/
AOL IM: caseyrwest (Add Buddy, Send Message)

Perl geek.

Journal of cwest (1514)

Tuesday May 03, 2005
09:30 PM

Tiger 'tar' an MakeMaker Don't Mix

[ #24513 ]
Writing Makefile for Email::FolderType::Net
MAKE failed! - No such file or directory in
  CPANPLUS::Internals::Make::_make at Tue May 3 22:18:56 2005 at
  /.../CPANPLUS/Internals/Make.pm line 462

Mac OS X Tiger (10.4) distributes a tar that is metadata-aware. That means that when you use tar to package up your Perl module distribution on Tiger and any of your files have metadata associated with them, that metadata is included in your distribution.

For example, TextWrangler keeps metadata about files. When I edited my Makefile.PL with TextWrangler attributes were stored about my file. When I ran 'make dist' those attributes were added to the archive in the form of '._' files. Including ._Makefile.PL.

That's a problem because, for whatever reason, MakeMaker tries to run ._Makefile.PL and that dies! Therefore my distribution is broken.

I tried to look for ways to shut off this "feature" of the Tiger tar but nothing is obvious. So I build gnu tar from source and stuffed it in /usr/local/bin/tar.

Be careful when packaging your Perl modules on Tiger.

Posted from caseywest.com, comment here.

New comment creation has been disabled on this discussion.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.