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.

Broken GD install/upgrade/gd install failed

Discussion in 'General Discussion' started by mesranet, Aug 8, 2005.

  1. mesranet

    mesranet Well-Known Member

    Joined:
    May 6, 2002
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I just install cpanel on 4 machine and the OS is CentOS 4.1 but i face a never sucessfuly install GD whenever i run /scripts/upcp, error message is:


    Extracting Image.pm (with variable substitutions)
    /usr/bin/make -- OK
    Running make install
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Writing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/.packlist
    Appending installation info to /usr/lib/perl5/5.8.7/i686-linux/perllocal.pod
    /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done
    GD install failed

    Somebody please help. Thank you.
     
    #1 mesranet, Aug 8, 2005
    Last edited: Aug 8, 2005
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Did you tried it via compiling APACHE with GD. Run

    /scripts/cleangd then try compiling apache with gd.
     
  3. mesranet

    mesranet Well-Known Member

    Joined:
    May 6, 2002
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Thanks nickb, i did try but when i run /scripts/upcp, it will install again the GD and its show same error message, Please help.

    Thank you.
     
  4. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Hello, I have the same problem, install cpanel in a new centos 4.1 server. 1 month ago worked fine. Here is my original post: http://forums.cpanel.net/showthread.php?t=42300

    Recompiling apache, cleangd, etc... and the error continue.

    Thanks,

    Antonio
     
  5. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Oh, I thought only FreeBSD...

    I didn't touch CentOS machines, so I didn't know...
    If it's also CentOS, please add your comments at:
    http://bugzilla.cpanel.net/show_bug.cgi?id=2982
    fix for FreeBSD, I wrote there. Nightly upcp might break perl GD again...I'll see...

    for CentOS, maybe you can CPAN? I guess GD-2.27 is bad?

    It seems like upcp is broken...
     
    #5 eos1, Aug 8, 2005
    Last edited: Aug 8, 2005
  6. IberHosting

    IberHosting Well-Known Member

    Joined:
    Jun 1, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Here is the complete error:

    Code:
    Using newyum support
    Repository base already added, not adding again
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Repository base already added, not adding again
    Setting up Update Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    No Packages marked for Update/Obsoletion
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.erlbaum.net
    Repository base already added, not adding again
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Sun, 07 Aug 2005 03:07:58 GMT
    Time::HiRes is up to date.
    Net::AIM is up to date.
    Net::SSLeay is up to date.
    Archive::Tar is up to date.
    GD::Graph is up to date.
    Tree::MultiNode is up to date.
    Tie::IxHash is up to date.
    HTML::Entities is up to date.
    IO::Tty is up to date.
    DBI is up to date.
    Data::ShowTable is up to date.
    Mysql is up to date.
    DBD::mysql is up to date.
    CGI is up to date.
    MD5 is up to date.
    Digest::MD5 is up to date.
    Expect is up to date.
    Mail::SpamAssassin is up to date.
    Net::DNS is up to date.
    Digest::MD5 is up to date.
    MIME::Base64 is up to date.
    URI::URL is up to date.
    HTML::Tagset is up to date.
    MIME::Base64 is up to date.
    Digest::MD5 is up to date.
    URI is up to date.
    Net::FTP is up to date.
    HTML::Tagset is up to date.
    HTML::Parser is up to date.
    HTML::HeadParser is up to date.
    LWP is up to date.
    Parse::RecDescent is up to date.
    OLE::Storage_Lite is up to date.
    MIME::Base64 is up to date.
    Digest::MD5 is up to date.
    URI is up to date.
    Net::FTP is up to date.
    HTML::Tagset is up to date.
    HTML::Parser is up to date.
    HTML::HeadParser is up to date.
    LWP is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    Text::Query is up to date.
    Image::Size is up to date.
    DBI is up to date.
    Safe::Hole is up to date.
    Tie::ShadowHash is up to date.
    Set::Crontab is up to date.
    IO::Scalar is up to date.
    Storable is up to date.
    Spreadsheet::ParseExcel is up to date.
    Spreadsheet::WriteExcel is up to date.
    Geo::IPfree is up to date.
    Digest::SHA1 is up to date.
    Sys::Hostname::Long is up to date.
    File::Scan::ClamAV is up to date.
    perlmod--Install done
    Repository base already added, not adding again
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Building GD....Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.erlbaum.net
    Repository base already added, not adding again
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Sun, 07 Aug 2005 03:07:58 GMT
    Tree::MultiNode is up to date.
    GD is up to date.
    perlmod--Install done
    ......
    Done
    GD status [0]
    gd-2.0.33.tar.gz
    /root
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.erlbaum.net
    Repository base already added, not adding again
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Sun, 07 Aug 2005 03:07:58 GMT
    Running install for module GD
    Running make for L/LD/LDS/GD-2.27.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/L/LD/LDS/GD-2.27.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    GD-2.27/
    GD-2.27/t/
    GD-2.27/t/test.out.3.jpeg
    GD-2.27/t/GD.t
    GD-2.27/t/tile.jpeg
    GD-2.27/t/test.out.4.jpeg
    GD-2.27/t/test.out.5.jpeg
    GD-2.27/t/test.out.6.jpeg
    GD-2.27/t/test.out.7.jpeg
    GD-2.27/t/test.out.8.jpeg
    GD-2.27/t/test.out.9.jpeg
    GD-2.27/t/test.out.3.png-1
    GD-2.27/t/Polyline.t
    GD-2.27/t/test.out.4.png-1
    GD-2.27/t/test.out.4.png-2
    GD-2.27/t/test.out.10.png-1
    GD-2.27/t/test.out.10.png-2
    GD-2.27/t/test.out.10.png-3
    GD-2.27/t/test.out.1.png
    GD-2.27/t/test.out.2.gif
    GD-2.27/t/test.out.2.png
    GD-2.27/t/test.out.3.gif
    GD-2.27/t/test.out.3.png
    GD-2.27/t/test.out.4.gif
    GD-2.27/t/test.out.4.png
    GD-2.27/t/test.out.5.gif
    GD-2.27/t/test.out.5.png
    GD-2.27/t/test.out.6.gif
    GD-2.27/t/test.out.6.png
    GD-2.27/t/test.out.7.gif
    GD-2.27/t/test.out.7.png
    GD-2.27/t/test.out.8.gif
    GD-2.27/t/test.out.8.png
    GD-2.27/t/test.out.9.gif
    GD-2.27/t/test.out.9.png
    GD-2.27/t/test.out.5.png-1
    GD-2.27/t/Generic.ttf
    GD-2.27/t/test.out.6.png-1
    GD-2.27/t/test.out.7.png-1
    GD-2.27/t/frog.jpg
    GD-2.27/t/frog.xpm
    GD-2.27/t/test.out.10.jpeg
    GD-2.27/t/test.out.8.png-1
    GD-2.27/t/test.out.8.png-2
    GD-2.27/t/test.out.8.png-3
    GD-2.27/t/test.out.8.png-4
    GD-2.27/t/test.out.8.png-5
    GD-2.27/t/test.out.8.png-6
    GD-2.27/t/tile.gif
    GD-2.27/t/tile.png
    GD-2.27/t/test.out.2.png-1
    GD-2.27/t/test.out.9.png-1
    GD-2.27/t/test.out.9.png-2
    GD-2.27/t/palettemap.png
    GD-2.27/t/test.out.10.gif
    GD-2.27/t/test.out.10.png
    GD-2.27/t/test.out.2.jpeg
    GD-2.27/GD/
    GD-2.27/GD/Polygon.pm
    GD-2.27/GD/Simple.pm
    GD-2.27/GD/Image.pm.PLS
    GD-2.27/GD/Polyline.pm
    GD-2.27/GD.pm
    GD-2.27/GD.xs
    GD-2.27/demos/
    GD-2.27/demos/brushes.pl
    GD-2.27/demos/font_list.png
    GD-2.27/demos/fonttest
    GD-2.27/demos/polys.pl
    GD-2.27/demos/fills.pl
    GD-2.27/demos/truetype_test
    GD-2.27/demos/shapes.pl
    GD-2.27/demos/copies.pl
    GD-2.27/demos/ttf.pl
    GD-2.27/demos/gd_example.cgi
    GD-2.27/demos/tile.png
    GD-2.27/demos/polyline.pl
    GD-2.27/demos/transform.pl
    GD-2.27/qd.pl
    GD-2.27/README
    GD-2.27/Makefile.PL
    GD-2.27/README.QUICKDRAW
    GD-2.27/META.yml
    GD-2.27/typemap
    GD-2.27/bdf_scripts/
    GD-2.27/bdf_scripts/README
    GD-2.27/bdf_scripts/bdftofnt
    GD-2.27/bdf_scripts/bdf2gdfont.PLS
    GD-2.27/bdf_scripts/bdftogd
    GD-2.27/bdf_scripts/bdf2gdfont.pl
    GD-2.27/README.unix
    GD-2.27/ChangeLog
    GD-2.27/MANIFEST
    Removing previously used /home/.cpan/build/GD-2.27
    
      CPAN.pm: Going to build L/LD/LDS/GD-2.27.tar.gz
    
    Included Features:          GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
    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.pm blib/lib/GD.pm
    AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    cp GD/Simple.pm blib/lib/GD/Simple.pm
    /usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc && mv GD.xsc GD.c
    cc -c  -I/usr/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"2.27\" -DXS_VERSION=\"2.27\" -fpic "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
    Running Mkbootstrap for GD ()
    chmod 644 GD.bs
    rm -f blib/arch/auto/GD/GD.so
    LD_RUN_PATH="/usr/X11R6/lib:/usr/lib" cc  -shared -L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.so   -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd   
    chmod 755 blib/arch/auto/GD/GD.so
    cp GD.bs blib/arch/auto/GD/GD.bs
    chmod 644 blib/arch/auto/GD/GD.bs
    cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
    /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl
    Manifying blib/man1/bdf2gdfont.pl.1
    Manifying blib/man3/GD::Polyline.3
    Manifying blib/man3/GD::Simple.3
    Manifying blib/man3/GD.3
    /usr/bin/perl "-Iblib/arch" "-Iblib/lib" GD/Image.pm.PLS GD/Image.pm
    Extracting Image.pm (with variable substitutions)
      /usr/bin/make  -- OK
    Running make install
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Writing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/.packlist
    Appending installation info to /usr/lib/perl5/5.8.7/i686-linux/perllocal.pod
      /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done
    GD install failed
    
    :eek:
     
  7. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Nightly upcp JUST broke perl GD again... :mad:
     
  8. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    ok, I fixed for FreeBSD. :)
    [p5-GD-2.25]

    CentOS:
    I think somehow GD-2.27 is bad...? :eek:

    I guess reinstalling GD-2.19 might fix it (I'm not sure...) since all my CentOS has GD-2.19, and they are fine.
     
  9. mesranet

    mesranet Well-Known Member

    Joined:
    May 6, 2002
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
  10. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    2.19?

    Our servers also failed last night we already had 2.0.28 it tired to take it to 2.0.33
     
  11. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
  12. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    not that one, GD Perl module.
     
  13. AndyM

    AndyM Registered

    Joined:
    Mar 8, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I also get the same problem under FreeBSD with WHM 10.1.0/cPanel 10.2.0-S83.

    Reinstalling p5-GD does fix it, but I too believe the nightly upcp will break it (I get the same error as posted above)...

    If anyone's interested, to reinstall in FreeBSD using the ports collection (as root in SSH):

    cd /usr/ports/graphics/p5-GD
    make deinstall
    make reinstall

    TTFN
     
  14. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    We just updated to 10.5.0-C21 and now we get errors !!

    Removing previously used /home/.cpan/build/GD-2.28

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

    NOTICE: This module requires libgd 2.0.25 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.33.
    Included Features: GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
    GD library used from: /usr

    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
    /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 GD/Image.pm.PLS GD/Image.pm
    Extracting Image.pm (with variable substitutions)
    cp GD/Image.pm blib/lib/GD/Image.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)
    cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    cp GD/Polygon.pm blib/lib/GD/Polygon.pm
    /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-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
    gcc -c -I/usr/include -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.28\" -DXS_VERSION=\"2.28\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FTCIRCLE 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:597: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromJpegData':
    GD.xs:651: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_newFromWBMPData':
    GD.xs:673: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image__newFromGif':
    GD.xs:797: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Image_newFromGifData':
    GD.xs:816: structure has no member named `gd_free'
    GD.xs: In function `XS_GD__Image_copyRotate90':
    GD.xs:1153: invalid lvalue in assignment
    GD.xs:1153: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyRotate180':
    GD.xs:1174: invalid lvalue in assignment
    GD.xs:1174: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyRotate270':
    GD.xs:1195: invalid lvalue in assignment
    GD.xs:1195: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
    GD.xs:1216: invalid lvalue in assignment
    GD.xs:1216: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyFlipVertical':
    GD.xs:1237: invalid lvalue in assignment
    GD.xs:1237: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyTranspose':
    GD.xs:1258: invalid lvalue in assignment
    GD.xs:1258: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_copyReverseTranspose':
    GD.xs:1279: invalid lvalue in assignment
    GD.xs:1279: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_rotate180':
    GD.xs:1299: invalid lvalue in assignment
    GD.xs:1299: invalid lvalue in assignment
    GD.xs:1300: invalid lvalue in assignment
    GD.xs:1300: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_flipHorizontal':
    GD.xs:1338: invalid lvalue in assignment
    GD.xs:1338: invalid lvalue in assignment
    GD.xs:1339: invalid lvalue in assignment
    GD.xs:1339: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_flipVertical':
    GD.xs:1356: invalid lvalue in assignment
    GD.xs:1356: invalid lvalue in assignment
    GD.xs:1357: invalid lvalue in assignment
    GD.xs:1357: invalid lvalue in assignment
    GD.xs: In function `XS_GD__Image_stringFT':
    GD.xs:2070: `gdFTStringExtra' undeclared (first use in this function)
    GD.xs:2070: (Each undeclared identifier is reported only once
    GD.xs:2070: for each function it appears in.)
    GD.xs:2070: parse error before `strex'
    GD.xs:2089: `strex' undeclared (first use in this function)
    GD.xs:2093: `gdFTEX_LINESPACE' undeclared (first use in this function)
    GD.xs:2097: `gdFTEX_CHARMAP' undeclared (first use in this function)
    GD.xs:2099: `gdFTEX_Unicode' undeclared (first use in this function)
    GD.xs:2101: `gdFTEX_Shift_JIS' undeclared (first use in this function)
    GD.xs:2103: `gdFTEX_Big5' undeclared (first use in this function)
    GD.xs:2109: `gdFTEX_RESOLUTION' undeclared (first use in this function)
    GD.xs:2118: `gdFTEX_DISABLE_KERNING' undeclared (first use in this function)
    GD.xs:2124: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Image_stringFTCircle':
    GD.xs:2169: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_DESTROY':
    GD.xs:2344: warning: comparison between pointer and integer
    GD.xs:2345: warning: comparison between pointer and integer
    GD.xs:2346: warning: comparison between pointer and integer
    GD.xs:2347: warning: comparison between pointer and integer
    GD.xs:2348: warning: comparison between pointer and integer
    GD.xs: In function `XS_GD__Font_Small':
    GD.xs:2360: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Large':
    GD.xs:2371: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Giant':
    GD.xs:2382: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_MediumBold':
    GD.xs:2393: warning: assignment makes pointer from integer without a cast
    GD.xs: In function `XS_GD__Font_Tiny':
    GD.xs:2404: 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
     
  15. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Still broken with 10.5.0-E24
     
  16. afoster

    afoster Registered

    Joined:
    Apr 12, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    By what method do you guys recommend recompiling Apache? Is this what /scripts/easyapache is for? If so would I need to pick a specific configuration group?

    How can I tell if Perl has GD installed, and if so what version?

    I am experiencing the same issues but can't shake them either by running cleangd then easyapache or vice versa.

    - Andrew
     
  17. afoster

    afoster Registered

    Joined:
    Apr 12, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    Broken GD install/upgrade (GD 2.0.33)

    Hi,

    Our bandwidth usage piegraphs are broken. When running /scripts/cleangd on a CentOS 4.1 box, I get the following mess ending in "GD install failed".

    http://sol1.net/~andy/bong.txt

    Any ideas? I read on another post there are some Perl dependencies but they weren't specified.

    Thanks, Andrew
     
  18. kaosent

    kaosent Active Member

    Joined:
    Jul 12, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I am not certain if it is the same cause as the GD failure on FreeBSD, but to fix it on my FBSD boxes I have to install the perl-gd module manually, and configure the options as shown below (copied from the related FreeBSD post I made here: http://forums.cpanel.net/showthread.php?t=41588). I have never used CentOS, so I am not certain how usefull the steps I used will be, but it sounds like the same root cause.

    ------from original post---------

    GD Lib and Disk Usage/Bandwidth Images in WHM (7/27): An issue exists with the gd installation on FBSD 5.4 w/ CPanel-stable that prevents the diskusage.cgi generated pie graphs and bandwidth pie graphs from being generated, a simple compile flag difference that prevents png functionality. This issue is reported to be fixed in edge. (special thanks to B. Vincent: http://bugzilla.cpanel.net/show_bug.cgi?id=2786 for this manual fix that I applied):
    --------------------------------------
    >> cd /usr/ports/graphics/gd
    >> make deinstall
    >> cd /usr/ports/graphics/p5-GD
    >> make
    >> make deinstall
    >> cd /usr/ports/graphics/p5-GD/work/GD-2.23/
    >> perl Makefile.PL -options=GD_PNG,GD_XPM,GD_JPEG,GD_FONTCONFIG,GD_FRE ETYPE,GD_GIF,GD_UNCLOSEDPOLY,GD_ANIMGIF,GD_FTCIRCL E
    >> cd /usr/ports/graphics/gd
    >> make install
    and.... fixed.
     
  19. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    This is actaully a double edged issue.

    1) There is a problem detecting libpng on certin systems

    2) The release of GD-2.27 (perl module) was broken (it did not install some files). GD-2.28 resolved this.


    The best way to see whats really wrong is to remove the eval block from /scripts/checkgd ( just the eval { and the }; that ends it, not the code in between). Then run it so see the actually perl error. If you need help, please feel free to contact support at http://support.cpanel.net for free assistance.

    ---> REMOVE THIS
    eval {

    ---> KEEP STUFF IN BETWEEN HERE

    ---> REMOVE THIS
    };
     
  20. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Hi Ben,

    it seems like "detecting" issue... <---IMPORTANT

    one of CentOS 3.5 nightly upcp emails reporting:
    ---
    Checksum for /home/.cpan/sources/authors/id/L/LD/LDS/GD-2.28.tar.gz ok
    GD.xs: whatever...:
    GD.xs:2404: warning: whatever...
    make: *** [GD.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible

    GD installed ok
    ---

    the other CentOS 3.5's nightly upcp emails are looks like fine.
    I run some of scripts in this morning, I'll let you know tomorrow(If i'm not drunk... :D ).
    -------------------------------------------------------------

    it seems like sorted out for one CentOS 3.5. :)

    FreeBSD 4.9 became ok, but ImageMagick was deinstalled somehow...and i reinstalled it again...the other day.
     
    #20 eos1, Aug 17, 2005
    Last edited: Aug 17, 2005
Loading...

Share This Page