Perl on Mac OS X

gubaba

Registered
I've heard good and bad from people trying to install Perl 5.6.1 on their new Mac OS X system, so I decided to try it out. However the standard

sh Configure -de
make
make test
make install

doesn't do the trick -- and others have confirmed this as well. Have any of you out there had any success building perl? If so, what steps did you take?

TIA,
David
 
(This is NOT my information - it comes from the MacOSX Perl mailing list from a man named Gary Blackburn)

1) Make sure you decompress the tar file with gzip and tar... do NOT
decompress from Mac OS 9.x or from a Classic program such as Stuffit.

2) Make sure you

setenv LC_ALL C
setenv LANG "en_US"

(assuming that "en_US" applies to you. :-D) This will prevent most of
the warnings during the make tests. (I had 4 out of 251 fail. "Test 303"
(filehandle open only for output), lib/db-btree, "Test 51" (re: Berkeley
DB), and lib/posix.)

3) Here's the order of commands that works for me:

rm -f config.sh Policy.sh
sh Configure -ds -e -Dprefix=/usr -Dccflags="-g -pipe"
-Dfirstmakefile=GNUmakefile
make
make test
mv install install.txt # Necessary because INSTALL eq install on
OS X
make install

And there you go. Hopefully this will be useful to someone.

---
Gary Blackburn
gblackburn@mac.com
 
Back
Top