Hello, I've been trying for days to install the gd.pm perl module in Mac OS X; my understanding of UNIX install procedures is poor, so any guidance would be very welcome! I used Fink to install all the prerequisites but when I get to gd-pm I get errors -- see transcript below. Thanks,
--Alexej ________________________________________________ sudo /sw/bin/fink install gd-pm Password: Reading package info... Information about 428 packages read in 3 seconds. mkdir -p /sw/src/gd-pm-1.33-3 tar -xzf /sw/src/GD.pm.tar.gz cp Makefile.PL Makefile.PL.original perl -pi -e 's/qw\(-I/qw\(-I\/sw\/include -I/' Makefile.PL perl -pi -e 's/qw\(-L/qw\(-L\/sw\/lib -L/' Makefile.PL perl -pi -e 's/warn.+Please.+//' Makefile.PL perl -pi -e 's/(JPEG +=).+eq /$1/' Makefile.PL perl -pi -e 's/(TTF +=).+eq /$1/' Makefile.PL perl -pi -e 's/(XPM +=).+eq /$1/' Makefile.PL perl -pi -e 's/(XPM.+)y/$1n/' Makefile.PL perl Makefile.PL PREFIX=/sw/src/root-gd-pm-1.33-3/sw LIB=/sw/src/root-gd-pm-1.33-3/sw/lib/perl5 INSTALLMAN1DIR=/sw/src/root-gd-pm-1.33-3/sw/share/man/man1 INSTALLMAN3DIR=/sw/src/root-gd-pm-1.33-3/sw/share/man/man3 NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X). If you experience compile problems, please check the @INC, @LIBPATH and @LIBS arrays defined in Makefile.PL and manually adjust, if necessary. Checking if your kit is complete... Looks good Writing Makefile for GD make mkdir blib mkdir blib/lib mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/GD mkdir blib/lib/auto mkdir blib/lib/auto/GD mkdir blib/man3 cp qd.pl blib/lib/qd.pl cp patch_gd.pl blib/lib/patch_gd.pl cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) /usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c cc -c -I/sw/include -I/usr/local/include -I/usr/local/include/gd -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -I/System/Library/Perl/darwin/CORE -DHAVE_JPEG -DHAVE_TTF -DHAVE_XPM GD.c cc1obj: Invalid option `-flat_namespace' GD.xs: In function `XS_GD__Image_newFromXpm': GD.xs:546: warning: assignment makes pointer from integer without a cast make: *** [GD.o] Error 1 ### make failed, exit code 2 Failed: compiling gd-pm-1.33-3 failed _______________________________________________________________ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
