For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > December 2004 > Installing Gd









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 Installing Gd
Octavian Rasnita

2004-12-20, 3:56 pm

Hi all,

I have tried to install Gd using the following:

perl -MCPAN -e "install Gd;"

Perl downloaded the package, and tried to install it, but it ended telling
"Cannot install Gd. Don't know what it is".

Do you have any idea what could be the problem or how to install Gd?

Note: I use Perl 5.8.4 under Windows 2000.

And BTW. I hope I won't need to install a C compiler, then download Gd
tarball, and compile it manually....

Thank you.

Teddy

Ing. Branislav Gerzo

2004-12-20, 3:56 pm

Octavian Rasnita [OR], on Monday, December 20, 2004 at 16:24 (+0200)
wrote:

OR> And BTW. I hope I won't need to install a C compiler, then download Gd
OR> tarball, and compile it manually....

if ( $your_perl_dist eq "Activestate" ) {
`ppm install gd`;
} else {
download_activestate_perl()
}

:)

try write to commandline:
ppm install gd

--

...m8s, cu l8r, Brano.

["Sorry, Governor Clinton, I choke on small bones..." - Paula Jones.]


Chris Devers

2004-12-20, 3:56 pm

On Mon, 20 Dec 2004, Octavian Rasnita wrote:

> I have tried to install Gd using the following:
>
> perl -MCPAN -e "install Gd;"


Perl modules are case sensitive.

Foo.pm and FOO.pm are different modules (or would be, if they existed.)

Fix the case of the module you're installing and it should work.

> And BTW. I hope I won't need to install a C compiler, then download Gd
> tarball, and compile it manually....


You may well need a C compiler. I've never used it on Windows, but I
understand that some people have luck using Cygwin's gcc/make toolkit to
build modules like this. For that matter, you may just be able to find
this module itself in Cygwin's catalog...


--
Chris Devers
Octavian Rasnita

2004-12-20, 3:56 pm

Thanks. I have tried that, but it told me that it cannot find the ppd for
GD.

Teddy

----- Original Message -----
From: "Ing. Branislav Gerzo" <konfera@2ge.us>
To: <beginners@perl.org>
Sent: Monday, December 20, 2004 4:40 PM
Subject: Re: Installing Gd


Octavian Rasnita [OR], on Monday, December 20, 2004 at 16:24 (+0200)
wrote:

OR> And BTW. I hope I won't need to install a C compiler, then download Gd
OR> tarball, and compile it manually....

if ( $your_perl_dist eq "Activestate" ) {

Ing. Branislav Gerzo

2004-12-20, 8:56 pm

Octavian Rasnita [OR], on Monday, December 20, 2004 at 17:59 (+0200)
wrote about :

OR> Thanks. I have tried that, but it told me that it cannot find the ppd for
OR> GD.

[c:\4nt]ppm install GD
====================
Install 'GD' version 2.16 in ActivePerl 5.8.4.810.
====================
....
....

maybe you tried it with lowercase, sorry for that. Also check if you
have right repository, but GD should be in standard AS repositories.

--

...m8s, cu l8r, Brano.

[Yo Mama so fat when she sits on a rainbow skittles pop out...]



-=x=-
Skontrolované antivírovým programom NOD32

Octavian Rasnita

2004-12-21, 8:56 am

Hi,

It seems that there is no GD in the default ActiveState repository.

I have tried:

C:\Documents and Settings\teddy>ppm install GD
Error: PPD for 'GD.ppd' could not be found.
C:\Documents and Settings\teddy>

Please tell me (if you know) the address of a repository that has GD, in
order to add it.

Thank you.

Teddy

----- Original Message -----
From: "Ing. Branislav Gerzo" <konfera@2ge.us>
To: <beginners@perl.org>
Sent: Monday, December 20, 2004 11:19 PM
Subject: Re: Installing Gd


Octavian Rasnita [OR], on Monday, December 20, 2004 at 17:59 (+0200)
wrote about :

OR> Thanks. I have tried that, but it told me that it cannot find the ppd
for
OR> GD.

[c:\4nt]ppm install GD
====================
Install 'GD' version 2.16 in ActivePerl 5.8.4.810.
====================
....
....

maybe you tried it with lowercase, sorry for that. Also check if you
have right repository, but GD should be in standard AS repositories.

--

...m8s, cu l8r, Brano.

[Yo Mama so fat when she sits on a rainbow skittles pop out...]



-=x=-
Skontrolované antivírovým programom NOD32


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Sponsored Links







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

Copyright 2008 codecomments.com