[SORRY IF THIS IS A REPEAT] I recently installed Perl 5.8.0 onto Mac 10.2 I am using Fink to provide the GD 1.8.4-11 and freetype 1.3.1-6 libraries. I downloaded GD-1.33 and modified the Makefile.PL to include the /sw libraries I did have GD installed this way with 5.6.0.....
I now getting this error. Anyone have any ideas? Below is output from the Makefile.pl and subsequent 'make' Errors include "GD.xs:365: warning: passing arg 1 of `gdImageCreateFromPng' from incompatible pointer type" Also, what is CAPI? Thanks! Ward <output> perl Makefile.PL perl Makefile.PL Makefile.PL NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X). Please choose the features that match how libgd was built: Build JPEG support? [y] y Build FreeType support? [y] y Build XPM support? [y] n If you experience compile problems, please check the @INC, @LIBPATH and @LIBS arrays defined in Makefile.PL and manually adjust, if necessary. WARNING: CAPI is not a known parameter. Checking if your kit is complete... Looks good Writing Makefile for GD [Gandalf:local/src/GD-1.33] wwv# make cp patch_gd.pl blib/lib/patch_gd.pl cp qd.pl blib/lib/qd.pl cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) /usr/bin/perl /Library/Perl/ExtUtils/xsubpp -typemap /Library/Perl/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c cc -c -I/sw/include -I/sw/include/gd -I/usr/local/include -I/usr/local/include/gd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=Ä"1.33Ä" -DXS_VERSION=Ä"1.33Ä" "-I/Library/Perl/darwin/CORE" -DHAVE_JPEG -DHAVE_TTF GD.c GD.xs: In function `XS_GD__Image__newFromPng': GD.xs:365: warning: passing arg 1 of `gdImageCreateFromPng' from incompatible pointer type GD.xs: In function `XS_GD__Image__newFromXbm': GD.xs:467: warning: passing arg 1 of `gdImageCreateFromXbm' from incompatible pointer type GD.xs: In function `XS_GD__Image__newFromGd': GD.xs:477: warning: passing arg 1 of `gdImageCreateFromGd' from incompatible pointer type GD.xs: In function `XS_GD__Image__newFromGd2': GD.xs:487: warning: passing arg 1 of `gdImageCreateFromGd2' from incompatible pointer type GD.xs: In function `XS_GD__Image__newFromJpeg': GD.xs:501: warning: passing arg 1 of `gdImageCreateFromJpeg' from incompatible pointer type GD.xs: In function `XS_GD__Image__newFromWBMP': GD.xs:526: warning: passing arg 1 of `gdImageCreateFromWBMP' from incompatible pointer type GD.xs: In function `XS_GD__Image_newFromXpm': GD.xs:546: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Image__newFromGd2Part': GD.xs:567: warning: passing arg 1 of `gdImageCreateFromGd2Part' from incompatible pointer type Running Mkbootstrap for GD () chmod 644 GD.bs rm -f blib/arch/auto/GD/GD.bundle LD_RUN_PATH="/sw/lib:/usr/lib" cc -flat_namespace -bundle -undefined suppress GD.o -o blib/arch/auto/GD/GD.bundle -L/usr/X11R6/lib -L/sw/lib -lgd -lpng -lz -lttf -ljpeg chmod 755 blib/arch/auto/GD/GD.bundle cp GD.bs blib/arch/auto/GD/GD.bs chmod 644 blib/arch/auto/GD/GD.bs Manifying blib/man3/GD.3 </output>