Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Trouble Installing GD

by kalchas (Acolyte)
on Mar 30, 2008 at 00:04 UTC ( #677270=perlquestion: print w/ replies, xml ) Need Help??
kalchas has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, monks, I'm trying to get the GD perl module running on my machine. I'm running ActivePerl 5.10 and GD 2.0.33. My OS is Windows Vista. When I try to make the perl module, here's what I get:
Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\User\Desktop\GD-2.35>perl makefile.pl NOTICE: This module requires libgd 2.0.28 or higher. If you are using Math::Trig 1.01 or lower, it has a bug that causes a "prerequisite not found" warning to be issued. You m +ay safely ignore this warning. Type perl Makefile.PL -h for command-line option summary Where is libgd installed? [/usr/lib] C:/Progra~1/GD/lib Please choose the features that match how libgd was built: Build JPEG support? [y] y Build PNG support? [y] y Build FreeType support? [y] y Build GIF support? [y] y Build support for animated GIFs? [y] y If you experience compile problems, please check the @INC, @LIBPATH an +d @LIBS arrays defined in Makefile.PL and manually adjust, if necessary. Note (probably harmless): No library found for -I/C:/Progra~1/GD/lib Note (probably harmless): No library found for -lfreetype Note (probably harmless): No library found for -ljpeg Note (probably harmless): No library found for -lpng Note (probably harmless): No library found for -lz Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for GD C:\Users\User\Desktop\GD-2.35>
I've tried to point out where libgd is installed a number of other ways and have been trying to get this installed for a couple days now. I'm pulling my hair out! Thank you all for your help. Cheers, K.

Comment on Trouble Installing GD
Download Code
Re: Trouble Installing GD
by syphilis (Canon) on Mar 30, 2008 at 03:43 UTC
    You could install GD-2.35 by running:
    ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/GD.ppd
    Of course, that doesn't help you if you really want to build it yourself :-)

    Cheers,
    Rob
      I've tried ppm-ing it in, but it hasn't worked, as the ppm doesn't seem to be able to find libgd on my machine. Perhaps I should have installed libgd somewhere else? Right now it's in C:\Program Files\GD, and Perl is in C:\Perl. Any advice would be awesome... I definitely appreciate the thought, Rob, just that I've already taken a crack at it that way. Cheers, K.
        the ppm doesn't seem to be able to find libgd on my machine

        PPM doesn't need to find libgd on your machine. (The binaries already incorporate the libgd functionality, so you don't need libgd on your machine.)

        1) What was the exact ppm command that you ran ?
        2) What was the exact error you got ?
        3) What does running perl -v produce ?

        Cheers,
        Rob
Re: Trouble Installing GD
by Anonymous Monk on Mar 30, 2008 at 12:07 UTC
    Which compiler? Did you run vcvars32?
      I installed GD using the GNU binary. Cheers, K.
Re: Trouble Installing GD
by poolpi (Hermit) on Mar 31, 2008 at 08:14 UTC

      I finally installed GD with the cpan shell (Strawberry Perl 5.8.8) AND GnuWin32 + Curl

      hth,
      PooLpi

      'Ebry haffa hoe hab im tik a bush'. Jamaican proverb

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-09-30 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (381 votes), past polls