For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > May 2004 > GD Install Failure (was: Re: elsif issues ....still)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GD Install Failure (was: Re: elsif issues ....still)
Wiggins D'Anconia

2004-05-22, 11:30 am

Please start a new thread when posting (and bottom post when replying)...

Allen Wang wrote:
> When I was trying to install GDGraph-1.43
> It failed due to the following message
> "
> Warning: prerequisite GD failed to load: Can't load '/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl' for module GD: No suc.
> at (eval 4) line 3
> Compilation failed in require at (eval 4) line 3.
> Warning: prerequisite GD::Text 0.80 not found at /opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340.
> Writing Makefile for GD::Graph
> "
>
> But I could not find GD::Text 0.80 through CPAN
>
>


In general the value specified is a minimum version, so you should try
whatever the most recent is, unless it is documented that the module
can't accept newer versions. So I would go with GD::Text 0.86 it
appears to be the most recent.

The first error is a bigger concern though, and appears to be related to
the GD module rather than GD::Text. Did GD successfully install? What
is the full error message as provided, the one you pasted appears to be
snipped ('No suc.')?

http://danconia.org
Allen Wang

2004-05-22, 11:30 am



The first error message should be=20
"
Warning: prerequisite GD failed to load: Can't load =
'/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl'=20
for module GD: No such file or directory at =
/opt/perl5/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 200.
at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Warning: prerequisite GD::Text 0.80 not found at =
/opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340.
Unable to open MakeMaker.tmp: Permission denied at =
/opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 747.

"

Thanks,
Allen
=20

-----Original Message-----
From: Wiggins d'Anconia [mailto:wiggins@danconia.org]
Sent: Friday, March 26, 2004 4:13 PM
To: Allen Wang
Cc: beginners-cgi@perl.org
Subject: GD Install Failure (was: Re: elsif issues ....still)


Please start a new thread when posting (and bottom post when =
replying)...

Allen Wang wrote:
> When I was trying to install GDGraph-1.43
> It failed due to the following message
> "
> Warning: prerequisite GD failed to load: Can't load =

'/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl' for module GD: =
No suc.
> at (eval 4) line 3
> Compilation failed in require at (eval 4) line 3.
> Warning: prerequisite GD::Text 0.80 not found at =

/opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340.
> Writing Makefile for GD::Graph
> "
>=20
> But I could not find GD::Text 0.80 through CPAN
>=20
>=20


In general the value specified is a minimum version, so you should try=20
whatever the most recent is, unless it is documented that the module=20
can't accept newer versions. So I would go with GD::Text 0.86 it=20
appears to be the most recent.

The first error is a bigger concern though, and appears to be related to =

the GD module rather than GD::Text. Did GD successfully install? What=20
is the full error message as provided, the one you pasted appears to be=20
snipped ('No suc.')?

http://danconia.org
Wiggins D'Anconia

2004-05-22, 11:30 am

Please bottom post...

Allen Wang wrote:
>
> The first error message should be
> "
> Warning: prerequisite GD failed to load: Can't load '/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl'
> for module GD: No such file or directory at /opt/perl5/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 200.
> at (eval 4) line 3
> Compilation failed in require at (eval 4) line 3.
> Warning: prerequisite GD::Text 0.80 not found at /opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340.
> Unable to open MakeMaker.tmp: Permission denied at /opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 747.
>


What OS are you on? What c compiler do you have installed?
Do you have GD.pm installed? Do you have gd libs installed? Are you
running this through CPAN or directly from a download? Are you root
and/or did you specify a prefix that you can write to? Do you have
write permission on the cwd?

http://danconia.org
Allen Wang

2004-05-22, 11:30 am



-----Original Message-----
From: Wiggins d'Anconia [mailto:wiggins@danconia.org]
Sent: Friday, March 26, 2004 6:11 PM
To: Allen Wang
Cc: beginners-cgi@perl.org
Subject: Re: GD Install Failure (was: Re: elsif issues ....still)


Please bottom post...

Allen Wang wrote:
>=20
> The first error message should be=20
> "
> Warning: prerequisite GD failed to load: Can't load =

'/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl'=20
> for module GD: No such file or directory at =

/opt/perl5/lib/5.6.0/PA-RISC2.0/DynaLoader.pm line 200.
> at (eval 4) line 3
> Compilation failed in require at (eval 4) line 3.
> Warning: prerequisite GD::Text 0.80 not found at =

/opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 340.
> Unable to open MakeMaker.tmp: Permission denied at =

/opt/perl5/lib/5.6.0/ExtUtils/MakeMaker.pm line 747.
>=20


What OS are you on?
HP/UX 11.0
What c compiler do you have installed?
Regular C, not gcc
Do you have GD.pm installed?
Not sure
Do you have gd libs installed?=20
Not sure
Are you running this through CPAN or directly from a download? =20
I download this through CPAN
Are you root and/or did you specify a prefix that you can write to? =20
Yes, login as root
Do you have write permission on the cwd?
Yes

http://danconia.org
Wiggins D'Anconia

2004-05-22, 11:30 am

Allen Wang wrote:
>
> -----Original Message-----
> From: Wiggins d'Anconia [mailto:wiggins@danconia.org]
> Sent: Friday, March 26, 2004 6:11 PM
> To: Allen Wang
> Cc: beginners-cgi@perl.org
> Subject: Re: GD Install Failure (was: Re: elsif issues ....still)
>
>
> Please bottom post...
>
> Allen Wang wrote:
>
>
>
> What OS are you on?
> HP/UX 11.0


Don't have experience on it...

> What c compiler do you have installed?
> Regular C, not gcc


This shouldn't matter, but probably prevents me from debugging
compilation and linking issues...

> Do you have GD.pm installed?
> Not sure


GD is a prerequisite for GD::Graph and will likely be the hard part of
this installation, concentrate on getting it installed.

perl -MGD -e 1

Will succeed if GD is available, otherwise it will give you the "Can't
locate GD.pm in ..." error. If it is not found install GD, after
reading content of next answer.

> Do you have gd libs installed?
> Not sure


GD.pm is simply a Perl module wrapper around the gd c libs, so they are
a prerequisite to get GD.pm installed. Sorry I can't provide help to
find gd libs on HP/UX with cc. I can tell you that GD is available at
the following location:

http://www.boutell.com/gd/

And is probably available for HPUX, it works on Solaris 8 and Linux with
gcc.

> Are you running this through CPAN or directly from a download?
> I download this through CPAN
> Are you root and/or did you specify a prefix that you can write to?
> Yes, login as root
> Do you have write permission on the cwd?
> Yes


I'm surprised you would get a permission denied error, hmm....

See if this helps, if not you might post to the regular 'beginners' list
as there is probably more diversity there. Surely someone around is on
HP-UX and can help.

http://danconia.org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com