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.

GD 2.19 Install Problems using /scripts/upcp

Discussion in 'General Discussion' started by minotauro, Jan 2, 2005.

  1. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    Today I receive the normal email send by /scripts/upcp but I find this error:

    Running install for module GD
    Running make for L/LD/LDS/GD-2.19.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/L/LD/LDS/GD-2.19.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    GD-2.19/
    GD-2.19/t/
    GD-2.19/t/GD.t
    GD-2.19/t/Polyline.t
    GD-2.19/t/test.out.4.png-1
    GD-2.19/t/test.out.10.png-1
    GD-2.19/t/test.out.10.png-2
    GD-2.19/t/test.out.1.png
    GD-2.19/t/test.out.2.png
    GD-2.19/t/test.out.3.png
    GD-2.19/t/test.out.4.png
    GD-2.19/t/test.out.5.png
    GD-2.19/t/test.out.6.png
    GD-2.19/t/test.out.7.png
    GD-2.19/t/test.out.8.png
    GD-2.19/t/test.out.9.png
    GD-2.19/t/Generic.ttf
    GD-2.19/t/frog.jpg
    GD-2.19/t/frog.xpm
    GD-2.19/t/test.out.8.png-1
    GD-2.19/t/test.out.8.png-2
    GD-2.19/t/test.out.8.png-3
    GD-2.19/t/test.out.8.png-4
    GD-2.19/t/test.out.8.png-5
    GD-2.19/t/tile.png
    GD-2.19/t/test.out.9.png-1
    GD-2.19/t/palettemap.png
    GD-2.19/t/test.out.10.png
    GD-2.19/GD/
    GD-2.19/GD/Simple.pm
    GD-2.19/GD/Polyline.pm
    GD-2.19/GD.pm
    GD-2.19/GD.xs
    GD-2.19/demos/
    GD-2.19/demos/brushes.pl
    GD-2.19/demos/font_list.png
    GD-2.19/demos/fonttest
    GD-2.19/demos/polys.pl
    GD-2.19/demos/fills.pl
    GD-2.19/demos/truetype_test
    GD-2.19/demos/shapes.pl
    GD-2.19/demos/copies.pl
    GD-2.19/demos/ttf.pl
    GD-2.19/demos/gd_example.cgi
    GD-2.19/demos/tile.png
    GD-2.19/demos/polyline.pl
    GD-2.19/demos/transform.pl
    GD-2.19/qd.pl
    GD-2.19/README
    GD-2.19/Makefile.PL
    GD-2.19/README.QUICKDRAW
    GD-2.19/META.yml
    GD-2.19/typemap
    GD-2.19/bdf_scripts/
    GD-2.19/bdf_scripts/README
    GD-2.19/bdf_scripts/bdf2gdfont.PLS
    GD-2.19/bdf_scripts/cvtbdf.pl
    GD-2.19/bdf_scripts/bdftogd
    GD-2.19/README.unix
    GD-2.19/ChangeLog
    GD-2.19/MANIFEST
    Removing previously used /home/.cpan/build/GD-2.19

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

    NOTICE: This module requires libgd 2.0.28 or higher.
    it will NOT work with earlier versions. If you are getting
    compile or link errors, then please get and install a new
    version of libgd from www.boutell.com. Do NOT ask Lincoln
    for help until you try this.

    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 may
    safely ignore this warning.

    Type perl Makefile.PL -h for command-line option summary

    Configuring for libgd version 2.0.27.

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

    Included Features: GD_XPM GD_JPEG GD_FREETYPE GD_PNG
    GD library used from: /usr
    Checking if your kit is complete...
    Looks good
    Writing Makefile for GD
    cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    cp qd.pl blib/lib/qd.pl
    cp GD/Simple.pm blib/lib/GD/Simple.pm
    cp GD.pm blib/lib/GD.pm
    AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
    /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
    GD.xsc GD.c
    gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
    -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.19\"
    -DXS_VERSION=\"2.19\" -fPIC
    "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT
    -DHAVE_XPM -DHAVE_PNG GD.c
    GD.xs: In function `newDynamicCtx':
    GD.xs:440: structure has no member named `gd_free'
    GD.xs: In function `gd_cloneDim':
    GD.xs:460: structure has no member named `alpha'
    GD.xs:460: structure has no member named `alpha'
    GD.xs:466: structure has no member named `thick'
    GD.xs:466: structure has no member named `thick'
    GD.xs: In function `XS_GD__Image_newFromPngData':
    GD.xs:604: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromGdData':
    GD.xs:628: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromGd2Data':
    GD.xs:645: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromJpegData':
    GD.xs:665: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromWBMPData':
    GD.xs:690: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_copyRotate90':
    GD.xs:1211: invalid lvalue in assignment
    GD.xs:1211: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyRotate180':
    GD.xs:1232: invalid lvalue in assignment
    GD.xs:1232: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyRotate270':
    GD.xs:1253: invalid lvalue in assignment
    GD.xs:1253: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
    GD.xs:1274: invalid lvalue in assignment
    GD.xs:1274: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyFlipVertical':
    GD.xs:1295: invalid lvalue in assignment
    GD.xs:1295: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyTranspose':
    GD.xs:1316: invalid lvalue in assignment
    GD.xs:1316: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyReverseTranspose':
    GD.xs:1337: invalid lvalue in assignment
    GD.xs:1337: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_rotate180':
    GD.xs:1357: invalid lvalue in assignment
    GD.xs:1357: invalid lvalue in assignment
    GD.xs:1358: invalid lvalue in assignment
    GD.xs:1358: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_flipHorizontal':
    GD.xs:1375: invalid lvalue in assignment
    GD.xs:1375: invalid lvalue in assignment
    GD.xs:1376: invalid lvalue in assignment
    GD.xs:1376: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_flipVertical':
    GD.xs:1393: invalid lvalue in assignment
    GD.xs:1393: invalid lvalue in assignment
    GD.xs:1394: invalid lvalue in assignment
    GD.xs:1394: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_stringFT':
    GD.xs:2107: `gdFTStringExtra' undeclared (first use in this function)
    GD.xs:2107: (Each undeclared identifier is reported only once
    GD.xs:2107: for each function it appears in.)
    GD.xs:2107: syntax error before "strex"
    GD.xs:2126: `strex' undeclared (first use in this function)
    GD.xs:2130: `gdFTEX_LINESPACE' undeclared (first use in this function)
    GD.xs:2134: `gdFTEX_CHARMAP' undeclared (first use in this function)
    GD.xs:2136: `gdFTEX_Unicode' undeclared (first use in this function)
    GD.xs:2138: `gdFTEX_Shift_JIS' undeclared (first use in this function)
    GD.xs:2140: `gdFTEX_Big5' undeclared (first use in this function)
    GD.xs:2162: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_DESTROY':
    GD.xs:2382: warning: comparison between pointer and integer
    GD.xs:2383: warning: comparison between pointer and integer
    GD.xs:2384: warning: comparison between pointer and integer
    GD.xs:2385: warning: comparison between pointer and integer
    GD.xs:2386: warning: comparison between pointer and integer
    GD.xs: In function `XS_GD__Font_Small':
    GD.xs:2398: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Large':
    GD.xs:2409: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Giant':
    GD.xs:2420: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_MediumBold':
    GD.xs:2431: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Tiny':
    GD.xs:2442: warning: assignment makes pointer from integer without a cast
    make: *** [GD.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done
    GD status [1]
    GD installed ok

    How to fix this error? I have 20 servers but only 2 servers show this error.

    Regards,
    Minotauro.
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You are missing a library, please open a ticket so we figure out which one and install it for you.
     
  3. minotauro

    minotauro Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    Hello cpanelnick,

    The ticket opened is 85349. Thanks!

    Regards,
    Minotauro.
     
  4. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Having smae problem. Did this get resolved? What package was missing?
     
  5. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Run /scripts/cleangd
     
  6. boeki

    boeki Active Member

    Joined:
    Jan 30, 2004
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    /scripts/cleangd gave the following result (same as in /scripts/upcp):

    Unable to retrieve file
    gd-2.0.0.tar.gz
    --13:09:51-- http://www.boutell.com/gd/http/gd-2.0.0.tar.gz
    => `gd-2.0.0.tar.gz'
    Resolving www.boutell.com... done.
    Connecting to www.boutell.com[64.246.53.141]:80... failed: Connection timed out.
    Retrying.

    --13:10:37-- http://www.boutell.com/gd/http/gd-2.0.0.tar.gz
    (try: 2) => `gd-2.0.0.tar.gz'
    Connecting to www.boutell.com[64.246.53.141]:80... failed: Connection timed out.
    Retrying.

    --13:11:24-- http://www.boutell.com/gd/http/gd-2.0.0.tar.gz
    (try: 3) => `gd-2.0.0.tar.gz'
    Connecting to www.boutell.com[64.246.53.141]:80... failed: Connection timed out.
    Retrying.

    --13:12:12-- http://www.boutell.com/gd/http/gd-2.0.0.tar.gz
    (try: 4) => `gd-2.0.0.tar.gz'
    Connecting to www.boutell.com[64.246.53.141]:80...


    any ideas what's up with this?
     
  7. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    No joy for me either. Somehting is messed up...
     
  8. jayesh

    jayesh Registered

    Joined:
    Jan 27, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    --13:12:12-- http://www.boutell.com/gd/http/gd-2.0.0.tar.gz
    (try: 4) => `gd-2.0.0.tar.gz'
    Connecting to www.boutell.com[64.246.53.141]:80...


    The above is because your server cannot connect to the server which hosts boutell.com. May boutell.com is blocking you. Please conatct boutell.com to resolve the issue. After which the upcp script as well as cleangd script will run fine.
     
  9. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Weirdness. No idea why it wasn't resolving, but I changed namesevers, and sure enough, all was good.

    Thanks.
     
Loading...

Share This Page