on 3/30/01 1:09 PM, Adam Foxson at [EMAIL PROTECTED] wrote:
> Did you have any Perl specific questions related to OS X?
> Good luck and enjoy!
I do!!
Have you installed GD.pm, Adam? I'm getting errors from both my manual
installation and when using CPAN. I've installed the supporting libraries
and all seemed to go well there.
Here's what happens:
########################################
[localhost:/billStuff/GD-1.32] root# make
cc -c -I/usr/local/include -I/usr/local/include/gd -g -pipe -pipe
-fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3
-DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -I/System/Library/Perl/darwin/CORE
GD.c
GD.xs: In function `XS_GD__Image_newFromXpm':
GD.xs:546: warning: assignment makes pointer from integer without a cast
Running Mkbootstrap for GD ()
chmod 644 GD.bs
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc -o blib/arch/auto/GD/GD.bundle
-bundle -undefined suppress GD.o -L/usr/local/lib -lgd -lpng -lz
/usr/bin/ld: table of contents for archive: /usr/local/lib/libgd.a is out of
date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/local/lib/libpng.a is out
of date; rerun ranlib(1) (can't load from it)
make: *** [blib/arch/auto/GD/GD.bundle] Error 1
[localhost:/billStuff/GD-1.32] root# make install
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc -o blib/arch/auto/GD/GD.bundle
-bundle -undefined suppress GD.o -L/usr/local/lib -lgd -lpng -lz
/usr/bin/ld: table of contents for archive: /usr/local/lib/libgd.a is out of
date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/local/lib/libpng.a is out
of date; rerun ranlib(1) (can't load from it)
make: *** [blib/arch/auto/GD/GD.bundle] Error 1
########################################
I see these things in the above that look bad:
GD.xs:546: warning: assignment makes pointer from integer without a cast
/usr/bin/ld: table of contents for archive: /usr/local/lib/libgd.a is out of
date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/local/lib/libpng.a is out
of date; rerun ranlib(1) (can't load from it)
I don't really understand these errors. Anybody see what I'm doing wrong?
--
Bill Stephenson
www.SecureShopper.com
1-417-546-5593