perl nightmare

James D. Parra Jamesp at MusicReports.com
Thu Jun 3 14:18:25 UTC 2004


Hello,

What is the *best* method to load perl modules?

I am trying to load the GD module from CPAN with;

perl -MCPAN -e shell
cpan> install GD

..., but I get a fist full of errors (below),

<snip>
GD.c:3554: `font' undeclared (first use in this function)
GD.c:3554: called object is not a function
GD.c: In function `XS_GD__Font_offset':
GD.c:3575: parse error before "font"
GD.c:3581: `font' undeclared (first use in this function)
GD.c:3581: called object is not a function
GD.c: In function `XS_GD__Font_width':
GD.c:3602: parse error before "font"
GD.c:3608: `font' undeclared (first use in this function)
GD.c:3608: called object is not a function
GD.c: In function `XS_GD__Font_height':
GD.c:3629: parse error before "font"
GD.c:3635: `font' undeclared (first use in this function)
GD.c:3635: called object is not a function
{standard input}: Assembler messages:
{standard input}:377: Error: symbol `__u' is already defined
{standard input}:383: Error: symbol `__u' is already defined
{standard input}:389: Error: symbol `__u' is already defined
{standard input}:395: Error: symbol `__u' is already defined
{standard input}:401: Error: symbol `__u' is already defined
{standard input}:407: Error: symbol `__u' is already defined
{standard input}:413: Error: symbol `__u' is already defined
{standard input}:419: Error: symbol `__u' is already defined
{standard input}:425: Error: symbol `__u' is already defined
{standard input}:431: Error: symbol `__u' is already defined
{standard input}:437: Error: symbol `__u' is already defined
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
----

The GD errors are numerous. These shown are only the last few lines. 

Using "perl, v5.8.0 built for i386-linux-thread-multi".

Any help would be greatly appreciated.

Thank you,


~James





More information about the redhat-list mailing list