|
楼主 |
发表于 2003-9-26 18:03:31
|
显示全部楼层
另外想给perl安装GD模块,但是下载之后安装出现以下错误
[root@linux9 bugzilla]# cd GD-2.07
[root@linux9 GD-2.07]# ls
bdf_scripts demos GD.pm Makefile.PL qd.pl README.unix
blib GD GD.xs MANIFEST README t
ChangeLog GD.c Makefile pm_to_blib README.QUICKDRAW typemap
[root@linux9 GD-2.07]# perl Makefile.PL
NOTICE: This module requires libgd 2.0.12 or higher.
it will NOT work with earlier versions.
See www.cpan.org for versions of GD that are compatible
with earlier versions of libgd.
Type perl Makefile.PL -h for command-line option summary
Where is libgd installed? [/usr/lib]
Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]
Build XPM support? [y]
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.
Writing Makefile for GD
[root@linux9 GD-2.07]# make
gcc -c -I/usr/local/include -I/usr/local/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 -march=i386 -mcpu=i686 -g -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:388: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:408: structure has no member named `alpha'
GD.xs:408: structure has no member named `alpha'
GD.xs:414: structure has no member named `thick'
GD.xs:414: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:542: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:561: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:578: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:598: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:623: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:984: invalid lvalue in assignment
GD.xs:984: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1005: invalid lvalue in assignment
GD.xs:1005: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1026: invalid lvalue in assignment
GD.xs:1026: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1047: invalid lvalue in assignment
GD.xs:1047: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1068: invalid lvalue in assignment
GD.xs:1068: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1089: invalid lvalue in assignment
GD.xs:1089: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1110: invalid lvalue in assignment
GD.xs:1110: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1130: invalid lvalue in assignment
GD.xs:1130: invalid lvalue in assignment
GD.xs:1131: invalid lvalue in assignment
GD.xs:1131: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1148: invalid lvalue in assignment
GD.xs:1148: invalid lvalue in assignment
GD.xs:1149: invalid lvalue in assignment
GD.xs:1149: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1166: invalid lvalue in assignment
GD.xs:1166: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1756: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1756: (Each undeclared identifier is reported only once
GD.xs:1756: for each function it appears in.)
GD.xs:1756: parse error before "strex"
GD.xs:1775: `strex' undeclared (first use in this function)
GD.xs:1779: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1783: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1785: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1787: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1789: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1793: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
[root@linux9 GD-2.07]# |
|