Leopard: Perl

brian_d_foy on 2007-11-01T19:56:00

Leopard comes with Perl 5.8.8 with threads enabled.

Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
Which means that, occasionally, stuff like this happens:

make: *** No rule to make target `/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'.  Stop.


Fix?

sigzero on 2007-11-01T16:54:43

What is the fix for that?

Re:Fix?

echo on 2007-11-01T18:04:28

Install the Dev Tools -- an optional package on the Leopard DVD. MacOSX has worked like this for as long as I can remember. Dev Tools also gives you a functional gcc, which can be useful.

Re:Fix?

sigzero on 2007-11-02T01:45:58

Ohhh...yes I always do that myself.

Means

kwilliams on 2007-11-02T13:12:10

I don't get the "which means that" part.

Re:Means

waltman on 2007-11-03T22:32:19

Yes, I don't see why this is something new in Leopard. Tiger also shipped with a threaded perl.

suggested fix for leopard

koops on 2007-12-06T04:55:25

If you copy the files from your old(er) installation of perl (5.8.6) you should be able to get around this problem.

sudo cp /System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/* /System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/

Cheers koops