The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install GD

Discussion in 'General Discussion' started by compunet2, May 2, 2003.

  1. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    How do I install the GD Library? I had it installed a while ago, but I have a user telling me its not there anymore. Is there some way I can confirm this? And if its not there, whats the best way to reinstall it? I ran the rpm, then ran the 'install perl mod', but the perl mod gave me an error:
    -----------

    spawn /usr/local/cpanel/whostmgr/bin/perlmod -i
    GD

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Fri, 02 May 2003 01:43:17 GMT
    File::Spec is up to date.
    Digest::MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    CPAN::WAIT is up to date.
    CPAN is up to date.
    Running install for module GD
    Running make for L/LD/LDS/GD-2.07.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.07.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    GD-2.07/
    GD-2.07/t/
    GD-2.07/t/GD.t
    GD-2.07/t/Polyline.t
    GD-2.07/t/test.out.1.png
    GD-2.07/t/test.out.2.png
    GD-2.07/t/test.out.3.png
    GD-2.07/t/test.out.4.png
    GD-2.07/t/test.out.5.png
    GD-2.07/t/test.out.6.png
    GD-2.07/t/test.out.7.png
    GD-2.07/t/test.out.8.png
    GD-2.07/t/test.out.9.png
    GD-2.07/t/Generic.ttf
    GD-2.07/t/frog.jpg
    GD-2.07/t/frog.xpm
    GD-2.07/t/test.out.8.png-1
    GD-2.07/t/test.out.8.png-2
    GD-2.07/t/test.out.8.png-3
    GD-2.07/t/test.out.8.png-4
    GD-2.07/t/test.out.8.png-5
    GD-2.07/t/tile.png
    GD-2.07/t/palettemap.png
    GD-2.07/t/test.out.10.png
    GD-2.07/GD/
    GD-2.07/GD/Polyline.pm
    GD-2.07/GD.pm
    GD-2.07/GD.xs
    GD-2.07/demos/
    GD-2.07/demos/brushes.pl
    GD-2.07/demos/font_list.png
    GD-2.07/demos/fonttest
    GD-2.07/demos/polys.pl
    GD-2.07/demos/fills.pl
    GD-2.07/demos/truetype_test
    GD-2.07/demos/shapes.pl
    GD-2.07/demos/copies.pl
    GD-2.07/demos/ttf.pl
    GD-2.07/demos/gd_example.cgi
    GD-2.07/demos/tile.png
    GD-2.07/demos/polyline.pl
    GD-2.07/demos/transform.pl
    GD-2.07/qd.pl
    GD-2.07/README
    GD-2.07/Makefile.PL
    GD-2.07/README.QUICKDRAW
    GD-2.07/typemap
    GD-2.07/bdf_scripts/
    GD-2.07/bdf_scripts/README
    GD-2.07/bdf_scripts/cvtbdf.pl
    GD-2.07/bdf_scripts/bdftogd
    GD-2.07/README.unix
    GD-2.07/ChangeLog
    GD-2.07/MANIFEST
    Removing previously used /root/.cpan/build/GD-2.07

    CPAN.pm: Going to build L/LD/LDS/GD-2.07.tar.gz


    NOTICE: This module requires libgd 2.0.12 or higher.
    it will NOT work with earlier versions.
    See www.cpan.org 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] y
    Build FreeType support? [y] n
    Build XPM support? [y] y

    If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
    arrays defined in Makefile.PL and manually adjust, if necessary.

    Checking if your kit is complete...
    Looks good
    Writing Makefile for GD
    cp qd.pl blib/lib/qd.pl
    cp GD.pm blib/lib/GD.pm
    AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
    cc -c -I/usr/local/include -I/usr/local/include/gd -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE -DHAVE_JPEG -DHAVE_XPM GD.c
    GD.xs: In function `XS_GD__Image_stringFT':
    GD.xs:1777: structure has no member named `charmap'
    GD.xs:1783: `gdFTEX_CHARMAP' undeclared (first use in this function)
    GD.xs:1783: (Each undeclared identifier is reported only once
    GD.xs:1783: for each function it appears in.)
    GD.xs:1785: structure has no member named `charmap'
    GD.xs:1785: `gdFTEX_Unicode' undeclared (first use in this function)
    GD.xs:1787: structure has no member named `charmap'
    GD.xs:1787: `gdFTEX_Shift_JIS' undeclared (first use in this function)
    GD.xs:1789: structure has no member named `charmap'
    GD.xs:1789: `gdFTEX_Big5' undeclared (first use in this function)
    make: *** [GD.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done
     
  2. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    are you trying to install gd so that sombody can use it with php? if so you need to run /scripts/easyapache and choose the option with gd.
     
  3. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    oh boy.... I was afraid of that.... me and easyapache haven't had a very good week :-(. Last time I had to choose option 6 (because of memory problems), and I dont remember GD being anywhere in that option. I want to make sure I keep php, zend, etc. What option did you choose?

    Ed
     
  4. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    i always choose option 6 and then select modules manually... gd will be inside the php sub section.

    Also after apache is installed run /scripts/installzend if zend is broke.
     
  5. horrighs

    horrighs Well-Known Member

    Joined:
    Mar 8, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    I am tring to get GD installed on my system. I have tried via the Web interface (check off the GD option) but its not loading. what else can i try?
     
Loading...

Share This Page