Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default GD 2.0.33 fails to install

    GD is always erroring out during the installation. It does this if you run sysup from WHM and the installation fails if you type /scripts/upcp.

    At the installation it says, INSTALLATION IMPOSSIBLE!

    make: *** [GD.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible


    This problem is now over a month old and it occurs on every one of our servers. When can we have a fix where GD acutally installs properly?

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    16

    Default

    Under Software > Apache Update...

    Check the "GD" box and rebuild Apache.. that worked for me after days of trying to manually install GD

  3. #3
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Nope, sorry that didnt work. I did not see GD errors when i recompiled the box twice last night and installed phpsuexec. I see these errors only during upcp and susup. Whats the solutions? If its already complied and installed during a full system recompile why does upcp trying to reinstall it?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You could try running:

    /scripts/cleangd
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Nope that didnt work. Full of errors. It tries to recompile 4 times over and over finally with a status of;

    -c gdft.c -fPIC -DPIC -o .libs/gdft.lo
    gdft.c:111:10: #include expects "FILENAME" or <FILENAME>
    make[1]: *** [gdft.lo] Error 1
    make[1]: Leaving directory `/home/cpgdbuild/gd-2.0.33'
    make: *** [install-recursive] Error 1
    Method: Perl Expect

    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done
    GD install failed

  6. #6
    Member
    Join Date
    Feb 2004
    Posts
    11

    Thumbs up Finally fixed this for me!

    In WHM, when I click on Show Current Disk Usage, I receive this error message

    Software error:
    Can't locate GD.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl . /usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi) at ./cgi/diskusage.cgi line 9.
    BEGIN failed--compilation aborted at ./cgi/diskusage.cgi line 9.
    /scripts/cleangd then try compiling apache with gd.
    This did not work for me. I got failure errors.
    Manually compiling GD and then re-compiling Apache would get rid of the error but I never got the graphics on the "Show Current Disk Usage" page. All I got was the tables and data but the graphics had the white square with the red X on them. Very frustating.


    Anyway:
    CentOS 3.5

    Part of the problem was I had no idea I was either missing the gd-2.0.33 libraries or they were corrupt or something. I had to manually install this. gd is different from GD! I did not know that.
    Install the gd libraries:
    Code:
    cd /root
    wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
    cd gd-2.0.33
    ./configure
    make
    make install
    Then install GD:

    Code:
    wget http://cpan.mirror.solnet.ch/modules/by-module/GD/GD-2.30.tar.gz
    zcat GD-2.30.tar.gz | tar xvf -
    cd GD-2.30
    perl Makefile.PL
    make
    make install
    (btw, it also worked with GD-2.19)

    I didn't have to recompile Apache or anything. Possibly because I had already compiled with GD? My graphics show up now when running System Health --> Show Current Disk Usage!

    I hope this helps at least one person because I had almost given up on fixing this.
    Thanks all who have contributed up to this point and please let me know if there is a potential problem with what I've just done. I hope cpanel update doesn't break this.

    Thanks,
    -Stinky

  7. #7
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by stinky
    This did not work for me. I got failure errors.
    Manually compiling GD and then re-compiling Apache would get rid of the error but I never got the graphics on the "Show Current Disk Usage" page. All I got was the tables and data but the graphics had the white square with the red X on them. Very frustating.


    Anyway:
    CentOS 3.5

    Part of the problem was I had no idea I was either missing the gd-2.0.33 libraries or they were corrupt or something. I had to manually install this. gd is different from GD! I did not know that.
    Install the gd libraries:
    Code:
    cd /root
    wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
    cd gd-2.0.33
    ./configure
    make
    make install
    Then install GD:

    Code:
    wget http://cpan.mirror.solnet.ch/modules/by-module/GD/GD-2.30.tar.gz
    zcat GD-2.30.tar.gz | tar xvf -
    cd GD-2.30
    perl Makefile.PL
    make
    make install
    (btw, it also worked with GD-2.19)

    I didn't have to recompile Apache or anything. Possibly because I had already compiled with GD? My graphics show up now when running System Health --> Show Current Disk Usage!

    I hope this helps at least one person because I had almost given up on fixing this.
    Thanks all who have contributed up to this point and please let me know if there is a potential problem with what I've just done. I hope cpanel update doesn't break this.

    Thanks,
    -Stinky
    Tried this and it didnt work.

    gdft.c:111:10: #include expects "FILENAME" or <FILENAME>
    make[2]: *** [gdft.lo] Error 1
    make[2]: Leaving directory `/usr/local/src/gd-2.0.33'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/gd-2.0.33'
    make: *** [all] Error 2

    Even manually it doesnt want to compile.

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    Not sure but it seems that you need to get those libraries installed before installing GD. That is what I think my issue was.
    If somehow you can get that going I think you'll be set. Sorry I am of no other help but trial and error is what got me fixed.
    Good luck

    -Stinky

  9. #9
    Member
    Join Date
    Mar 2004
    Posts
    117

    Default

    Quote Originally Posted by stinky
    This did not work for me. I got failure errors.
    Manually compiling GD and then re-compiling Apache would get rid of the error but I never got the graphics on the "Show Current Disk Usage" page. All I got was the tables and data but the graphics had the white square with the red X on them. Very frustating.


    Anyway:
    CentOS 3.5

    Part of the problem was I had no idea I was either missing the gd-2.0.33 libraries or they were corrupt or something. I had to manually install this. gd is different from GD! I did not know that.
    Install the gd libraries:
    Code:
    cd /root
    wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
    cd gd-2.0.33
    ./configure
    make
    make install
    Then install GD:

    Code:
    wget http://cpan.mirror.solnet.ch/modules/by-module/GD/GD-2.30.tar.gz
    zcat GD-2.30.tar.gz | tar xvf -
    cd GD-2.30
    perl Makefile.PL
    make
    make install
    (btw, it also worked with GD-2.19)

    I didn't have to recompile Apache or anything. Possibly because I had already compiled with GD? My graphics show up now when running System Health --> Show Current Disk Usage!

    I hope this helps at least one person because I had almost given up on fixing this.
    Thanks all who have contributed up to this point and please let me know if there is a potential problem with what I've just done. I hope cpanel update doesn't break this.

    Thanks,
    -Stinky
    THANK YOU! THANK YOU!

    cleangd failed on a virtuozzo vps (RHE3), but the above instrutions worked great. Many thanks.

Similar Threads & Tags
Similar threads

  1. Enkompass Install Fails
    By Aita in forum Enkompass Discussions
    Replies: 2
    Last Post: 09-20-2010, 10:02 AM
  2. MYSQL fails on install
    By hosterplus in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-29-2007, 11:06 AM
  3. cPanel install fails to install MySQL
    By mstyne in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-13-2005, 05:11 PM
  4. RPM install fails - dependencies - auto install?
    By rjn in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2003, 01:19 AM
  5. GD install fails !!!
    By IT Hosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-03-2002, 01:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube