General discussion

Locked

Install of GD in CPAN problem

By stpatrick3 ·
I'm getting the following errors installing GD on a Ubuntu 5.10 x86 box.

GD.c:4234: error: syntax error before ?font?
GD.c:4240: error: ?font? undeclared (first use in this function)
GD.c:4240: error: called object ?GD__Font? is not a function
GD.c: In function ?XS_GD__Font_height?:
GD.c:4261: error: syntax error before ?font?
GD.c:4267: error: ?font? undeclared (first use in this function)
GD.c:4267: error: called object ?GD__Font? is not a function

These are just a few.
If there is someone out there that can help me get this module installed, it would be great.
I've tried everything short of building perl from source.
Checked all the FAQs and other pertinent information on Perl's & CPAN's websites with no luck.

Thanks everyone in advance.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Nico Baggus In reply to Install of GD in CPAN pro ...

First:
Have you tried to get the libgd1 or libgd2 modules applicable for you?

libgd1-noxpm or libgd1-xpm package:
libgd2-noxpm or libgd2-xpm package:

and possibly the accompaning perl packages for GD
libgd-graph-perl, libgd-text-perl ...

besides these packages, are these the very first error you get or are there other error messages before this (like "file not found" errors on include files?) In C probably the first few errors are realy usable, the remainder may be errors stemming from those...
Your errors just tell there are syntax errors.
This is not very likely in published/test code.
Thats why i suspect there are earlier errors, that might tell more.


Kind regards,

Collapse -

by stpatrick3 In reply to

Thanks Nico I needed to install the dev files for it to install.

Collapse -

by stpatrick3 In reply to Install of GD in CPAN pro ...

Thanks I had already installed those libs.
But you did point me in the proper direction.
It needed the dev files installed.

Collapse -

by stpatrick3 In reply to Install of GD in CPAN pro ...

This question was closed by the author

Back to Linux Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums