Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th September 2006, 09:05
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default installing Perl module GD - ran into problems

here is the output:

Quote:
Executing /usr/bin/perl Makefile.PL && make ..

NOTICE: This module requires libgd 2.0.28 or higher.

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 GIF 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
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -ty
pemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno
-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2
.35\" -DXS_VERSION=\"2.35\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAV
E_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:444: error: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:464: error: structure has no member named `alpha'
GD.xs:464: error: structure has no member named `alpha'
GD.xs:470: error: structure has no member named `thick'
GD.xs:470: error: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:640: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:696: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:723: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image__newFromGif':
GD.xs:855: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Image_newFromGifData':
GD.xs:878: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_STORABLE_thaw':
GD.xs:922: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:1246: error: invalid lvalue in assignment
GD.xs:1246: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1267: error: invalid lvalue in assignment
GD.xs:1267: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1288: error: invalid lvalue in assignment
GD.xs:1288: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1309: error: invalid lvalue in assignment
GD.xs:1309: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1330: error: invalid lvalue in assignment
GD.xs:1330: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1351: error: invalid lvalue in assignment
GD.xs:1351: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1372: error: invalid lvalue in assignment
GD.xs:1372: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1392: error: invalid lvalue in assignment
GD.xs:1392: error: invalid lvalue in assignment
GD.xs:1393: error: invalid lvalue in assignment
GD.xs:1393: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1431: error: invalid lvalue in assignment
GD.xs:1431: error: invalid lvalue in assignment
GD.xs:1432: error: invalid lvalue in assignment
GD.xs:1432: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1449: error: invalid lvalue in assignment
GD.xs:1449: error: invalid lvalue in assignment
GD.xs:1450: error: invalid lvalue in assignment
GD.xs:1450: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:2163: error: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:2163: error: (Each undeclared identifier is reported only once
GD.xs:2163: error: for each function it appears in.)
GD.xs:2163: error: syntax error before "strex"
GD.xs:2182: error: `strex' undeclared (first use in this function)
GD.xs:2186: error: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:2190: error: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:2192: error: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:2194: error: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:2196: error: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:2217: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_DESTROY':
GD.xs:2437: warning: comparison between pointer and integer
GD.xs:2438: warning: comparison between pointer and integer
GD.xs:2439: warning: comparison between pointer and integer
GD.xs:2440: warning: comparison between pointer and integer
GD.xs:2441: warning: comparison between pointer and integer
GD.xs: In function `XS_GD__Font_Small':
GD.xs:2453: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Large':
GD.xs:2464: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Giant':
GD.xs:2475: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_MediumBold':
GD.xs:2486: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Tiny':
GD.xs:2497: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
I then found my mistake: I had libgd installed instead of libgd2 so when installing libgd2 php4-gd got removed???

Now I have no GD support for php? How can I fix this? Any ideas?
I just found out it was only libgd2-dev conflicting so I deinstalled that one and could install php4-gd still phpinfo does not show me the GD information???? PLEASE help ;-)

Last edited by Ovidiu; 18th September 2006 at 09:11.
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2006, 09:13
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Isn't there also a package php4-gd2 for gd2 support?
Reply With Quote
  #3  
Old 18th September 2006, 09:45
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

I cannot find one :-(
Reply With Quote
  #4  
Old 18th September 2006, 09:47
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,138
Thanks: 4
Thanked 54 Times in 50 Posts
Default

Are you on debian or debian-like system?
Reply With Quote
  #5  
Old 18th September 2006, 09:49
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

oops, I am using debian 3.1
Reply With Quote
  #6  
Old 19th September 2006, 09:25
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

hi there, it seems a libgd-dev package was conflicting with php4-gd, I managed to reinstall php4-gd but still it shows no support for gd inside my phpinfo.

do I have to somehow enable it? or should installing suffice?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with ATI's graphics driver installer Wraithfire Installation/Configuration 25 16th June 2007 13:33
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51
errors on the end of the installing process tom Installation/Configuration 1 8th April 2006 01:56
Virtual Users + Domains With Postfix etc. byw HOWTO-Related Questions 6 20th February 2006 10:10
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 13:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.