Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Where do I put libgd?

by einet89 (Initiate)
on May 02, 2014 at 10:15 UTC ( [id://1084765]=perlquestion: print w/replies, xml ) Need Help??

einet89 has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I'm completely new to coding and would greatly appreciate your advice on this(probably trivial) problem. I wanted to install the GD module, and when I input cpanm GD, it spit out this:

cpanm (App::cpanminus) 1.7004 on perl 5.016003 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\einet89/.cpanm/work/1399023717.4388 You have make C:\Perl64\site\bin\dmake.exe You have LWP 6.05 Falling back to Archive::Tar 1.96 Searching GD on cpanmetadb ... --> Working on GD Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.53.tar.gz -> OK Unpacking GD-2.53.tar.gz Entering GD-2.53 Checking configure dependencies from META.json Configuring GD-2.53 Running Makefile.PL Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Notice: Type perl Makefile.PL -h for command-line option summary. 'gdlib-config' is not recognized as an internal or external command, operable program or batch file. **UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2 +.0.28 or higher. If you want to try to compile anyway, please rerun this script with th +e option --ignore_missing_gd. -> N/A -> FAIL Configure failed for GD-2.53. See C:\Users\einet89\.cpanm\work +\1399023717.4388\build.log for details.

I figured I had to install something called libgd, so I googled it and found something named libgd-2.1.0.tar.gz Where do I have to put this file?

Replies are listed 'Best First'.
Re: Where do I put libgd? (strawberry)
by Anonymous Monk on May 02, 2014 at 10:19 UTC
      Your assertion regarding libgd being contained by Strawberry perl is undoubtedly true for 5.18.2, but the questioner is asking about 5.16.3 - is it true for that version as well ? Given the observed problem, that self-evidently isn't true, so that isn't of much use to the OP.

      That being said, a quick google for libgd strawberry perl came up with this as the second hit.

      UPDATE:

      Added google search result.

      A user level that continues to overstate my experience :-))
        but the questioner is asking about 5.16.3 - is it true for that version as well

        That was my first thought, too ... but Strawberry 5.16.3 *does* provide GD-2.49 (according to http://strawberryperl.com/release-notes/5.16.3.1-64bit.html).

        And then there's the question of the missing gdlib-config. Strawberry 5.18.2 provides gdlib-config.bat, and I would've expected 5.16.3 to do the same (unverified).
        I'm actually wondering whether the OP is, in fact, running Strawberry Perl.

        Anyway ... if it's Strawberry Perl, then the OP should already have GD installed, and if it's ActivePerl then installing via PPM should work:
        ppm install http://www.sisyphusion.tk/ppm/GD.ppd --force
        Cheers,
        Rob
Re: Where do I put libgd?
by Anonymous Monk on May 02, 2014 at 11:31 UTC
    Thanks for all your help guys, "ppm install http://www.sisyphusion.tk/ppm/GD.ppd --force" also caused an error for some reason, so I just erased what I had and replaced it with strawberry perl, and I got to do what I wanted to.
      "ppm install http://www.sisyphusion.tk/ppm/GD.ppd --force" also caused an error for some reason

      Hmmm ... I get:
      Unpacking GD-2.49...ppm install failed: Can't extract files from C:\Us +ers\sisyphus\AppData\Local\Temp\ppm-DoOKcP/GD-2.49.tgz
      Dunno what's going on there. I'll have to try and sort out that ... bugger !!

      Good that you got your problem sorted anyway :-)

      Cheers,
      Rob
        I'll have to try and sort out that ... bugger !!

        Well ... that was easy. Everything's working fine this morning - no need for me to take any action at all.

        I have no idea what was going on. The error message's reference to a ".tgz" file instead of the more usual ".tar.gz" is a little suspicious.
        I'm guessing the web hosting company did something that led to the problem ... and then subsequently un-did it.
        No good asking them about that - they're as secretive as a national security organisation, and as ruthless faik.

        Cheers,
        Rob
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1084765]
Approved by Bloodnok
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found