Dear Perl-on-Mac OS X List,


Using OS X Server 10.2.8, Upgraded to 10.3 Server


Since I upgraded to 10.3 I have not been able to get Perl to work. Although I think perhaps the Perl is working from the 10.3 install, I can't figure out how to compile any modules because it says it can't find where to link it to the Perl Library. I get this message:

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some recompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.

(You get this message, because MakeMaker could not find "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h")
------------------------


SO I was thinking I would redownload and compile Perl itself in the hopes that doing so would put the linkage information in the right place and make it so I could compile modules, but when i did that following the steps at http://developer.apple.com/internet/macosx/perl.html I am stopped by more compile errores when I try to "make" the Perl module....

Was I wrong to try to follow these steps for OS X Server?

Here are the compile errors I get when I try to make Perl from the Perl for OS X instructions at apple-dev (link above)


rm -f ../../../lib/auto/B/C/C.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup C.o -o ../../../lib/auto/B/C/C.bundle
ld: -undefined: unknown argument: dynamic_lookup
make[2]: *** [../../../lib/auto/B/C/C.bundle] Error 1
make[1]: *** [subdirs] Error 2
make: *** [lib/auto/B/B.bundle] Error 2
-------------------------


So what do I need to do? how do I successfully make the Perl module so that it will compile on Mac OS X Server and also link it self to the right place so that I can compile modules without getting the "Unable to locate installed Perl libraries or Perl source code" error?

Any advice?


Jason FB in San Francisco

Reply via email to