OVH Community, votre nouvel espace communautaire.

Problem d'install de GD


Conrad
23/02/2004, 15h16
Voila je souhaite installer un soft de mise a jour des statistiques de jeux counterstrike.
Pour cela il me faut le module GD.

Donc j'essaye de proceder a son installation il a apprecie moyennement à priori...

*** You are missing $totalneeded module(s) that PsychoStats requires.

To install these modules you should use CPAN. If you do not already have CPAN installed you can get it at:
http://theoryx5.uwinnipeg.ca/cpan/au...AN-1.76.tar.gz


Once CPAN is installed you start it by typing 'cpan' at your shell prompt (you will need root privileges to install the
modules). Install the modules by typing these commands at the CPAN prompt:

install GD
install GDTextUtil
install GD::Graph

After installing the modules, rerun the install. You can still continue with the rest of this installation, However,
Psychostats is not going to work fully on this machine until these modules are installed.

Press enter to continue with next step

[root@ns30541 psychostats2.0b]#
[root@ns30541 psychostats2.0b]#
[root@ns30541 psychostats2.0b]#
[root@ns30541 psychostats2.0b]# cpan install GD
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 23 Feb 2004 00:49:39 GMT
Warning: Cannot install install, don't know what it is.
Try the command

i /install/

to find objects with matching identifiers.
Running install for module GD
Running make for L/LD/LDS/GD-2.12.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.12.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.12/
GD-2.12/t/
GD-2.12/t/GD.t
GD-2.12/t/Polyline.t
GD-2.12/t/test.out.10.png-1
GD-2.12/t/test.out.10.png-2
GD-2.12/t/test.out.1.png
GD-2.12/t/test.out.2.png
GD-2.12/t/test.out.3.png
GD-2.12/t/test.out.4.png
GD-2.12/t/test.out.5.png
GD-2.12/t/test.out.6.png
GD-2.12/t/test.out.7.png
GD-2.12/t/test.out.8.png
GD-2.12/t/test.out.9.png
GD-2.12/t/Generic.ttf
GD-2.12/t/frog.jpg
GD-2.12/t/frog.xpm
GD-2.12/t/test.out.8.png-1
GD-2.12/t/test.out.8.png-2
GD-2.12/t/test.out.8.png-3
GD-2.12/t/test.out.8.png-4
GD-2.12/t/test.out.8.png-5
GD-2.12/t/tile.png
GD-2.12/t/palettemap.png
GD-2.12/GD/
GD-2.12/GD/Polyline.pm
GD-2.12/GD.pm
GD-2.12/GD.xs
GD-2.12/demos/
GD-2.12/demos/brushes.pl
GD-2.12/demos/font_list.png
GD-2.12/demos/fonttest
GD-2.12/demos/polys.pl
GD-2.12/demos/fills.pl
GD-2.12/demos/truetype_test
GD-2.12/demos/shapes.pl
GD-2.12/demos/copies.pl
GD-2.12/demos/ttf.pl
GD-2.12/demos/gd_example.cgi
GD-2.12/demos/tile.png
GD-2.12/demos/polyline.pl
GD-2.12/demos/transform.pl
GD-2.12/qd.pl
GD-2.12/README
GD-2.12/Makefile.PL
GD-2.12/README.QUICKDRAW
GD-2.12/typemap
GD-2.12/bdf_scripts/
GD-2.12/bdf_scripts/README
GD-2.12/bdf_scripts/cvtbdf.pl
GD-2.12/bdf_scripts/bdftogd
GD-2.12/README.unix
GD-2.12/ChangeLog
GD-2.12/MANIFEST

CPAN.pm: Going to build L/LD/LDS/GD-2.12.tar.gz


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.

If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.

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.

Checking if your kit is complete...
Looks good
Warning: prerequisite Math::Trig 0 not found.
Note (probably harmless): No library found for -lX11
Note (probably harmless): No library found for -lXpm
Writing Makefile for GD
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/local/include -I/usr/local/include/gd -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -fpic "-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:430: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:450: structure has no member named `alpha'
GD.xs:450: structure has no member named `alpha'
GD.xs:456: structure has no member named `thick'
GD.xs:456: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:584: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:603: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:620: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:640: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:665: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:1026: invalid lvalue in assignment
GD.xs:1026: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1047: invalid lvalue in assignment
GD.xs:1047: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1068: invalid lvalue in assignment
GD.xs:1068: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1089: invalid lvalue in assignment
GD.xs:1089: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1110: invalid lvalue in assignment
GD.xs:1110: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1131: invalid lvalue in assignment
GD.xs:1131: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1152: invalid lvalue in assignment
GD.xs:1152: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1172: invalid lvalue in assignment
GD.xs:1172: invalid lvalue in assignment
GD.xs:1173: invalid lvalue in assignment
GD.xs:1173: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1190: invalid lvalue in assignment
GD.xs:1190: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs:1191: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1208: invalid lvalue in assignment
GD.xs:1208: invalid lvalue in assignment
GD.xs:1209: invalid lvalue in assignment
GD.xs:1209: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1858: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1858: (Each undeclared identifier is reported only once
GD.xs:1858: for each function it appears in.)
GD.xs:1858: parse error before `strex'
GD.xs:1877: `strex' undeclared (first use in this function)
GD.xs:1881: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1885: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1887: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1889: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1891: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1895: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Erreur 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
[root@ns30541 psychostats2.0b]#


Si quelqu'un a une idee de comment resoudre ce probleme, ca me sauverait un peu la donne