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.0.33 fails to install

Discussion in 'General Discussion' started by jackie46, Sep 22, 2005.

  1. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    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. John9276

    John9276 Member

    Joined:
    Jun 10, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Under Software > Apache Update...

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

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    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? :confused:
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You could try running:

    /scripts/cleangd
     
  5. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    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. stinky

    stinky Member

    Joined:
    Feb 2, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Finally fixed this for me!

    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. :mad:


    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. :confused: I had to manually install this. gd is different from GD! :eek: I did not know that. :rolleyes:
    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. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    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. stinky

    stinky Member

    Joined:
    Feb 2, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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. Jeff-C

    Jeff-C Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    THANK YOU! THANK YOU!

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

Share This Page