安装perl的GD出错[求助]
安装perl的GD出错[求助]
在FC5中安装perl的GD-2.35.tar.gz模块出错,能帮我看看是那里的问题吗?如何解决?谢谢!!!!!
出错如下:
GD.c: In function ‘XS_GD__Font_MediumBold’:
GD.c:4344: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4344: error: expected ‘;’ before ‘RETVAL’
GD.xs:2486: error: ‘RETVAL’ undeclared (first use in this function)
GD.c: In function ‘XS_GD__Font_Tiny’:
GD.c:4371: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4371: error: expected ‘;’ before ‘RETVAL’
GD.xs:2497: error: ‘RETVAL’ undeclared (first use in this function)
GD.c: In function ‘XS_GD__Font_nchars’:
GD.c:4397: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4397: error: expected ‘;’ before ‘font’
GD.c:4398: warning: ISO C90 forbids mixed declarations and code
GD.c:4403: error: ‘font’ undeclared (first use in this function)
GD.c: In function ‘XS_GD__Font_offset’:
GD.c:4425: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4425: error: expected ‘;’ before ‘font’
GD.c:4426: warning: ISO C90 forbids mixed declarations and code
GD.c:4431: error: ‘font’ undeclared (first use in this function)
GD.c: In function ‘XS_GD__Font_width’:
GD.c:4453: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4453: error: expected ‘;’ before ‘font’
GD.c:4454: warning: ISO C90 forbids mixed declarations and code
GD.c:4459: error: ‘font’ undeclared (first use in this function)
GD.c: In function ‘XS_GD__Font_height’:
GD.c:4481: error: ‘GD__Font’ undeclared (first use in this function)
GD.c:4481: error: expected ‘;’ before ‘font’
GD.c:4482: warning: ISO C90 forbids mixed declarations and code
GD.c:4487: error: ‘font’ undeclared (first use in this function)
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