Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Mod GD Compile issues

by sunadmn (Curate)
on Aug 27, 2003 at 21:50 UTC ( #287180=perlquestion: print w/replies, xml ) Need Help??

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

Good day monks has anyone come across a problem like this when trying to install mod GD:
perl Makefile.PL NOTICE: This module requires libgd 2.0.12 or higher. it will NOT work with earlier versions. See for versions of GD that are compatible with earlier versions of libgd. Type perl Makefile.PL -h for command-line option summary Where is libgd installed? [/usr/lib] Please choose the features that match how libgd was built: Build JPEG support? [y] Build FreeType support? [y] n Build XPM support? [y] If you experience compile problems, please check the @INC, @LIBPATH an +d @LIBS arrays defined in Makefile.PL and manually adjust, if necessary. WARNING: CAPI is not a known parameter. Checking if your kit is complete... Looks good Warning: prerequisite Math::Trig 1 not found. **ERROR** Writing Makefile for GDtall the GD mod on a Solaris box:
If you open the Makfile.PL the @INC looks like this:
my @INC = qw(-I/usr/local/include -I/usr/local/include/gd); my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr +/local/lib); my @LIBS = qw(-lgd -lpng -lz);
perl -V outputs this and am not sure if I should adjust the Mafile.PL:
Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Jul 11 2003 13:39:21 @INC: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
Please let me know if any of you know how to correct this issue as the prereq of Math::Trig is installed.
[root@steve GD-2.07] 184# perl -MMath::Trig -e '{print "Hello\n";}' Hello
I am lost on this one....

Replies are listed 'Best First'.
Re: Mod GD Compile issues
by Anonymous Monk on Sep 09, 2003 at 17:34 UTC
    I also get this, but cant get perl GD going ! perl -MMath::Trig -e '{print "Hello\n";}' Hello
      I finally figured this one out and the issue was that I had an older version of ExtUtils installed once I upgraded everything worked just fine.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2020-08-14 02:16 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (75 votes). Check out past polls.