Installing Perl Module

Discussion in 'Perl Misc' started by amerar@iwc.net, May 20, 2008.

  1. Guest

    Hi,

    I'm not very good with figuring this wtuff out, so I'm hoping someone
    can offer some advice.

    We need to install some ability to create line charts from Perl. So,
    I'm trying to install DBIx::Chart. One of the requirements is to
    install GD 1.19.

    I tried installing that, but when I get to the make command I get
    these errors:

    /usr/bin/perl GD/Image.pm.PLS GD/Image.pm
    Extracting Image.pm (with variable substitutions)
    cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    cp qd.pl blib/lib/qd.pl
    cp GD/Image.pm blib/lib/GD/Image.pm
    cp GD.pm blib/lib/GD.pm
    AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    cp GD/Simple.pm blib/lib/GD/Simple.pm
    cp GD/Polygon.pm blib/lib/GD/Polygon.pm
    /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/
    perl5/5.8.5/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
    GD.xsc GD.c
    gcc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -
    fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
    D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -
    march=i386 -mtune=pentium4 -DVERSION=\"2.39\" -DXS_VERSION=\"2.39\" -
    fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -
    DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -
    DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
    GD.xs: In function `XS_GD__Image_stringFT':
    GD.xs:2211: error: `gdFTEX_DISABLE_KERNING' undeclared (first use in
    this function)
    GD.xs:2211: error: (Each undeclared identifier is reported only once
    GD.xs:2211: error: for each function it appears in.)

    I have no clue what all that means or how to solve it. Can anyone
    help? It would really help me out a lot.

    Thanks!
     
    , May 20, 2008
    #1
    1. Advertising

  2. <> wrote:
    > I'm not very good with figuring this wtuff out, so I'm hoping someone
    > can offer some advice.


    > We need to install some ability to create line charts from Perl. So,
    > I'm trying to install DBIx::Chart. One of the requirements is to
    > install GD 1.19.


    > I tried installing that, but when I get to the make command I get
    > these errors:


    > /usr/bin/perl GD/Image.pm.PLS GD/Image.pm
    > Extracting Image.pm (with variable substitutions)
    > cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    > cp qd.pl blib/lib/qd.pl
    > cp GD/Image.pm blib/lib/GD/Image.pm
    > cp GD.pm blib/lib/GD.pm
    > AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    > cp GD/Simple.pm blib/lib/GD/Simple.pm
    > cp GD/Polygon.pm blib/lib/GD/Polygon.pm
    > /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/
    > perl5/5.8.5/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
    > GD.xsc GD.c
    > gcc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -
    > fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
    > D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -
    > march=i386 -mtune=pentium4 -DVERSION=\"2.39\" -DXS_VERSION=\"2.39\" -
    > fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -
    > DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -
    > DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
    > GD.xs: In function `XS_GD__Image_stringFT':
    > GD.xs:2211: error: `gdFTEX_DISABLE_KERNING' undeclared (first use in
    > this function)
    > GD.xs:2211: error: (Each undeclared identifier is reported only once
    > GD.xs:2211: error: for each function it appears in.)


    The C compiler is complaining about some variables, functions or
    defines or whatever not being found. Tou find in the README for
    the GD module:

    If this module fails to compile and link, you are probably using an
    older version of libgd. Symptoms of this problem include errors
    about functions not being recognized in the gd.h header file, and
    undefined symbols from the linker. If you are having this type of
    error, please REMOVE all versions of libgd, gd.h from your system
    and reinstall libgd 2.0.28 or higher. Do not contact Lincoln for
    help until you have done this.

    Your symptoms look exactly like described here. So as a first step
    I would do what's recommended, i.e. install the newest version of
    libgd available from http://www.boutell.com/gd/.

    Regards, Jens
    --
    \ Jens Thoms Toerring ___
    \__________________________ http://toerring.de
     
    Jens Thoms Toerring, May 20, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren Dale
    Replies:
    2
    Views:
    308
    Darren Dale
    Jul 20, 2004
  2. Maric Michaud
    Replies:
    0
    Views:
    7,194
    Maric Michaud
    Jun 24, 2006
  3. Jim Keenan

    Installing Perl module with nmake

    Jim Keenan, Mar 5, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    154
    Sisyphus
    Mar 5, 2004
  4. Nospam
    Replies:
    2
    Views:
    175
    sisyphus
    Mar 18, 2008
  5. Chankey Pathak

    Problem installing perl module

    Chankey Pathak, Aug 11, 2011, in forum: Perl Misc
    Replies:
    1
    Views:
    152
    bobmct
    Aug 13, 2011
Loading...

Share This Page