Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem of install GM.pm

Status
Not open for further replies.

wlz99

Technical User
Joined
May 31, 2007
Messages
4
Location
DE
Hi,
I want to install GD module.
I run following commands:
perl -MCPAN -e shell
cpan>install GD
I got following errors:
GD.xs:7:16: error: gd.h: No such file or directory
GD.xs:8:21: error: gdfontg.h: No such file or directory
GD.xs:9:21: error: gdfontl.h: No such file or directory
GD.xs:10:22: error: gdfontmb.h: No such file or directory
GD.xs:11:21: error: gdfonts.h: No such file or directory
GD.xs:12:21: error: gdfontt.h: No such file or directory
GD.xs:340: error: syntax error before ‘GD__Image’
GD.xs:340: warning: type defaults to ‘int’ in declaration of ‘GD__Image’
GD.xs:340: warning: data definition has no type or storage class
GD.xs:341: error: syntax error before ‘GD__Font’

...........
make: *** [GD.o] Error 1
/usr/bin/make -- NOT OK

Can anyone help?
thanks
wlz99
 
Perl's GD module is just a wrapper around the GD library. Do you have that installed?
 
no , I did not install GD library
can you detail how to install it?
thanks
 
I'm running SUSE 10
 
I'm sure there's an option in YaST to install libgd or gd.
 
After I install the LibGD in YaST,
the GD module installation is finished?
Thanks
 
Doubtful. I would think you've then installed the library that the GD Perl module binds to, so you should be able to try it now. Did you try it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top