I wish I had this list about 6 months ago when I first started using
OSX! In the interim, I've ported several things myself. For example,
libpng, jpeg, zlib*, Compress-Zlib*,GD, Data-Dumper, FreezeThaw,
HTML-Parser, Digest-MD5, MIME-Base64, MLDBM, Storable. Many of these
compile just as described in the READMEs, but a few were tricky. For
example, I had zlib and Compress-Zlib working on the PB, but they fail
tests now that I've moved to the 10.0 (anyone had better luck?)
I've found the advice offered on http://macosxsw.com/ helpful, and have
noticed a few other things useful in porting. To get this list rolling,
I thought I'd list a few of them.
1) you can't su in the GM of OSX.
Instead type 'sudo tcsh' to get to be root.
Supposedly you can use NetInfo to change this behavior, but I
couldn't make it work.
2) Make sure you have these directories
mkdir /usr/local/bin
mkdir /usr/local/lib
mkdir /usr/local/include
3) Install these links
ln -s /usr/share/man /usr/local/man
ln -s /usr/include/objc/malloc.h /usr/local/include
ln -s /usr/bin/cc /usr/bin/gcc
4) read those Makefiles.
Usually, the compile fails just because they expect some include in
a strange place.
Remove -lm in the LIBS= line. OSX has this functionality, but not
the actual library
5) Freely run ranlib.
Just after make, type 'ranlib *.a'
Sometimes the linker will complain about ranlib problems.
Try ranlib on the indicated library then, too (it might be in
/usr/local/lib).
A community suggestions: If anyone has a little web space they can
spare, it might be great for us to compile lists of instructions for
each perl module or library we get to compile (plus the ported libraries
and headers along with a simple install.sh script).
Randal Cox
[EMAIL PROTECTED]