perlunity.de - PERL | JAVASCRIPT | PHP | MySQL | APACHE



#!/COMMUNITY

Members: 5374
davon online: 1
weitere User: 20
Click for quality!




12.02.2012 / 02:58

Community-Member werden   |   Paßwort vergessen   |   OnlineMonitor (1) Wer ist online ... OnlineMonitor starten !
     

 

Home


PERLscripts


PHPscripts


JAVAscripts


Hilfreiches


Links2www


Newscenter


Community


Interna




Community  »  CGI: Allgemeines Forum zur Themenübersicht Themensuche Themenansicht in Thread-Modus


BeitragGD install geht nicht. . .
Seitenanfang
Hi zusammen,

Ich wollte mir gerade das GD Modul installieren, habe allerdings kleine Probleme damit. . .
Ich poste hier mal die Fehlermeldung, die mir die CPAN Shell ausspuckt, ich persönlich kann damit nix anfangen :-(


Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Wed, 02 Mar 2005 07:48:18 GMT
CPAN: HTTP::Date loaded ok
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Running install for module GD
Running make for L/LD/LDS/GD-2.19.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.19.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.19/
GD-2.19/t/
GD-2.19/t/GD.t
GD-2.19/t/Polyline.t
GD-2.19/t/test.out.4.png-1
GD-2.19/t/test.out.10.png-1
GD-2.19/t/test.out.10.png-2
GD-2.19/t/test.out.1.png
GD-2.19/t/test.out.2.png
GD-2.19/t/test.out.3.png
GD-2.19/t/test.out.4.png
GD-2.19/t/test.out.5.png
GD-2.19/t/test.out.6.png
GD-2.19/t/test.out.7.png
GD-2.19/t/test.out.8.png
GD-2.19/t/test.out.9.png
GD-2.19/t/Generic.ttf
GD-2.19/t/frog.jpg
GD-2.19/t/frog.xpm
GD-2.19/t/test.out.8.png-1
GD-2.19/t/test.out.8.png-2
GD-2.19/t/test.out.8.png-3
GD-2.19/t/test.out.8.png-4
GD-2.19/t/test.out.8.png-5
GD-2.19/t/tile.png
GD-2.19/t/test.out.9.png-1
GD-2.19/t/palettemap.png
GD-2.19/t/test.out.10.png
GD-2.19/GD/
GD-2.19/GD/Simple.pm
GD-2.19/GD/Polyline.pm
GD-2.19/GD.pm
GD-2.19/GD.xs
GD-2.19/demos/
GD-2.19/demos/brushes.pl
GD-2.19/demos/font_list.png
GD-2.19/demos/fonttest
GD-2.19/demos/polys.pl
GD-2.19/demos/fills.pl
GD-2.19/demos/truetype_test
GD-2.19/demos/shapes.pl
GD-2.19/demos/copies.pl
GD-2.19/demos/ttf.pl
GD-2.19/demos/gd_example.cgi
GD-2.19/demos/tile.png
GD-2.19/demos/polyline.pl
GD-2.19/demos/transform.pl
GD-2.19/qd.pl
GD-2.19/README
GD-2.19/Makefile.PL
GD-2.19/README.QUICKDRAW
GD-2.19/META.yml
GD-2.19/typemap
GD-2.19/bdf_scripts/
GD-2.19/bdf_scripts/README
GD-2.19/bdf_scripts/bdf2gdfont.PLS
GD-2.19/bdf_scripts/cvtbdf.pl
GD-2.19/bdf_scripts/bdftogd
GD-2.19/README.unix
GD-2.19/ChangeLog
GD-2.19/MANIFEST
Removing previously used /root/.cpan/build/GD-2.19

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

NOTICE: This module requires libgd 2.0.28 or higher.
it will NOT work with earlier versions. If you are getting
compile or link errors, then please get and install a new
version of libgd from www.boutell.com. Do NOT ask Lincoln
for help until you try this.

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] /usr/lib

Please choose the features that match how libgd was built:
Build JPEG support? [y] y
Build PNG support? [y] y
Build FreeType support? [y] y
Build support for animated GIFs? [y] y
Build XPM support? [y] 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
Writing Makefile for GD
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)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -I/usr/include/gd -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.19\" -DXS_VERSION=\"2.19\" -fPIC -I/usr/lib/perl/5.6.1/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: parse 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

Sorry, wenn es etwas lang wurde, ich bin aber echt am Verzweifeln, ich habe alles versucht, was mir als newbie in Sachen Perl eingefallen ist. . .
THX schonmal!

Datum: 02.03.2005-21:17

Beitragre: GD install geht nicht. . .
Seitenanfang
okay, das hat sich erledigt. Ich hab mir einfach libgd aus den sourcen gebaut, und dann gings.
War eine zu alte Version installiert.
Jetzt habe ich aber ein anderes Problem.
Ich bekomm eine 500, wenn ich ein script aufrufe. Perl-c sagt allerdings syntax ok.
Muss ich da noch irgendwie was anderes (vielleicht beim apache oder so) was einrichten?
Das script liegt in einem ausführbaren verzeichniss.
Hat da vielleicht jemand ahnung von und kann mir helfen?
THX schonmal, nochmal ;D

Datum: 03.03.2005-21:06

-






-
-