Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: cpanm GD error

by hippo (Chancellor)
on May 26, 2020 at 15:54 UTC ( #11117289=note: print w/replies, xml ) Need Help??


in reply to cpnam GD error

Did you remember to install libgd first?

Replies are listed 'Best First'.
Re^2: cpanm GD error
by Jerry_J (Initiate) on May 26, 2020 at 17:36 UTC

    Thanks for the quick reply marto and hippo.

     If I can't get the current install I have of Perl working with GD, I will try Strawberry. My biggest problem is the switch. I have logging scripts that run automatically all times of day and night. Really don't want to switch if it means the machine will be in a transitional phase. 

    Regarding the libgd - no I haven't installed this. By the looks of the link, I need to do something else besides run a CPANM install. libgd doesn't look to be a perl module. 

    I have no experience with trying to install something like this. If there is a binary version of libgd available for an install into Window 10? It didn't look like it from the link. 

    Sorry to be such a novice on this, but these non CPANM installs are beyond my experience level. Any comments on my naive needs?

      libgd is not a Perl module - it's really nothing to do specifically with Perl at all. But it is a graphics library of long repute. The Perl module GD is essentially a Perl wrapper around libgd so without libgd it would be of no use.

      Either you or the systems administrator of your Windows box will need to install libgd if you want to use GD. I can't really help you with that since I've spent the past 30 years avoiding MS Windows. The repo has some instructions here but I can't vouch for them because ... well, Windows.

      Best of luck.

        Thnaks hippo and marto.   I realized I had a window of opoortunity to look at Strawberry Perl.  So I uninstalled ActivePerl and installed Starwberry Perl.   I now have GD module installed.   

        I was worried that many of the modules I had previously installed may not re-install.   Well low and behold probably half of the modules I had to install in ActivePerl are in the initial install with Strawberry. 

        So I now have Strawbery Perl up and running and everything seems to be working with my existing perl scripts. 

        Thanks again for the help.   I appreciate it.   Stay safe. 

      If your logging is done using the AS Perl, then you can install the portable version of Strawberry perl in parallel so it does not affect things. If you use berrybrew to manage it then you can install multiple versions, which simplifies upgrading and downgrading.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11117289]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-12-04 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (58 votes). Check out past polls.

    Notices?