Slash Boxes
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 ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Sunday April 23, 2006
08:12 PM

For Module Authors working on Macs...

[ #29425 ]

Remember this:


Instead of the usual "make dist". Otherwise resource forks get included, and some versions of MakeMaker try and run ._Makefile.PL, and discover it has weird characters in it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I currently just have the following lines in my MANIFEST.SKIP
    # OSX files
    I use Module::Build for most of my stuff.
    • That doesn't work. The resource forks still get included. The reason is that MANIFEST.SKIP just tells you how to build the MANIFEST file (when you run "make manifest"). So the MANIFEST file doesn't contain ._Makefile.PL, but it still gets included because when tar runs, and it sees Makefile.PL, it splits it into two files automatically - despite you not asking it for anything extra.

      This ONLY happens if you've been editing those files in an editor that creates resource forks of course - I was using TextWrang
  • (Disclaimer: I have never developed Mac software. This is a passing snipe.)

    "COPY_EXTENDED_ATTRIBUTES_DISABLE=1" seems a little backwards. Couldn't they (I don't know who that is... MakeMaker developers?) have named the flag simply "COPY_EXTENDED_ATTRIBUTES"?
    • COPY_EXTENDED_ATTRIBUTES_DISABLE affects the behavior of Mac OS X tar - it has nothing directly to do with EUMM.