  | |  | Installing GD perl module with CPAN | Installing GD perl module with CPAN 2005-01-24 - By Gerard Ceraso
Back I am trying to install the GD perl module via CPAN. But, it seems to be failing and I am getting the below errors. Has anyone else come across this?
Where is libgd installed? [/usr/lib] /usr/lib
Please choose the features that match how libgd was built: Build JPEG support? [y] Build PNG support? [y] Build FreeType support? [y] Build support for animated GIFs? [y] Build XPM support? [y]
If you experience compile problems, please check the @(protected), @(protected) and @(protected) arrays defined in Makefile.PL and manually adjust, if necessary.
Checking if your kit is complete... Looks good Writing Makefile for GD cp GD/Polyline.pm blib/lib/GD/Polyline.pm cp qd.pl blib/lib/qd.pl cp GD/Simple.pm blib/lib/GD/Simple.pm cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c gcc -c -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.19\" -DXS_VERSION=\"2.19\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_PNG -DHAVE_ANIMGIF GD.c GD.xs: In function `newDynamicCtx': GD.xs:440: structure has no member named `gd_free' GD.xs: In function `gd_cloneDim': GD.xs:460: structure has no member named `alpha' GD.xs:460: structure has no member named `alpha' GD.xs:466: structure has no member named `thick' GD.xs:466: structure has no member named `thick' GD.xs: In function `XS_GD__Image_newFromPngData': GD.xs:604: structure has no member named `gd_free' GD.xs: In function `XS_GD__Image_newFromGdData': GD.xs:628: structure has no member named `gd_free' GD.xs: In function `XS_GD__Image_newFromGd2Data': GD.xs:645: structure has no member named `gd_free' GD.xs: In function `XS_GD__Image_newFromJpegData': GD.xs:665: structure has no member named `gd_free' GD.xs: In function `XS_GD__Image_newFromWBMPData': GD.xs:690: structure has no member named `gd_free' GD.xs: In function `XS_GD__Image_copyRotate90': GD.xs:1211: invalid lvalue in assignment GD.xs:1211: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyRotate180': GD.xs:1232: invalid lvalue in assignment GD.xs:1232: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyRotate270': GD.xs:1253: invalid lvalue in assignment GD.xs:1253: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyFlipHorizontal': GD.xs:1274: invalid lvalue in assignment GD.xs:1274: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyFlipVertical': GD.xs:1295: invalid lvalue in assignment GD.xs:1295: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyTranspose': GD.xs:1316: invalid lvalue in assignment GD.xs:1316: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_copyReverseTranspose': GD.xs:1337: invalid lvalue in assignment GD.xs:1337: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_rotate180': GD.xs:1357: invalid lvalue in assignment GD.xs:1357: invalid lvalue in assignment GD.xs:1358: invalid lvalue in assignment GD.xs:1358: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_flipHorizontal': GD.xs:1375: invalid lvalue in assignment GD.xs:1375: invalid lvalue in assignment GD.xs:1376: invalid lvalue in assignment GD.xs:1376: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_flipVertical': GD.xs:1393: invalid lvalue in assignment GD.xs:1393: invalid lvalue in assignment GD.xs:1394: invalid lvalue in assignment GD.xs:1394: invalid lvalue in assignment GD.xs: In function `XS_GD__Image_stringFT': GD.xs:2107: `gdFTStringExtra' undeclared (first use in this function) GD.xs:2107: (Each undeclared identifier is reported only once GD.xs:2107: for each function it appears in.) GD.xs:2107: syntax error before "strex" GD.xs:2126: `strex' undeclared (first use in this function) GD.xs:2130: `gdFTEX_LINESPACE' undeclared (first use in this function) GD.xs:2134: `gdFTEX_CHARMAP' undeclared (first use in this function) GD.xs:2136: `gdFTEX_Unicode' undeclared (first use in this function) GD.xs:2138: `gdFTEX_Shift_JIS' undeclared (first use in this function) GD.xs:2140: `gdFTEX_Big5' undeclared (first use in this function) GD.xs:2162: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Font_DESTROY': GD.xs:2382: warning: comparison between pointer and integer GD.xs:2383: warning: comparison between pointer and integer GD.xs:2384: warning: comparison between pointer and integer GD.xs:2385: warning: comparison between pointer and integer GD.xs:2386: warning: comparison between pointer and integer GD.xs: In function `XS_GD__Font_Small': GD.xs:2398: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Font_Large': GD.xs:2409: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Font_Giant': GD.xs:2420: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Font_MediumBold': GD.xs:2431: warning: assignment makes pointer from integer without a cast GD.xs: In function `XS_GD__Font_Tiny': GD.xs:2442: warning: assignment makes pointer from integer without a cast make: *** [GD.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |