Compile Error (GD)

DRKT

Verified User
Joined
Oct 8, 2003
Messages
201
Hi!

i have this error if compile

./build clean
./build update
./build all y

why?

thanks!

-----------
Error
-----------
Trying to make gd...
cd . && /bin/sh /usr/local/directadmin/customapache/gd-2.0.34/config/missing --run autoheader
configure.ac:5: error: Autoconf version 2.54 or higher is required
configure.ac:5: the top level
autoheader: autom4te-2.53 failed with exit status: 1
at /usr/bin/autoheader line 163
make: *** [config.hin] Error 1

-----------
 
Because you have an old version of autoconf. If you use RedHat based OS, please post an output of:
Code:
rpm -q autoconf
and
Code:
cat /etc/*release
 
autoconf-2.53-8
Red Hat Linux release 8.0 (Psyche)
 
Very old OS, I suggest you upgrading it to the new, not end of life OS :) But if you want to use it:
Code:
cd /usr/src
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz
tar xzf autoconf-2.61.tar.gz
cd autoconf-2.61
./configure
make
make install

If it won't work try autoconf-2.54 instead of autoconf-2.61.
 
hi!

i test and don't work...

only... GD_VER=2.0.33 ... work

not GD_VER=2.0.34 :(
 
This is odd. I followed instructions, downloaded, configured, installed. No errors. But when I check the version of autoconf or even try to compile GD, it STILL shows the old version. What am I doing wrong?

EDIT: I figured out what was going on. I used the above directions, but it seems it was installing the new version of autoconf into a different folder. (/usr/local/bin instead of /usr/bin/)
Oh, was done in one of my RedHat 9 machines.

I changed:
Code:
./configure

to:
Code:
./configure --prefix=/usr

This fixed it! :)

So working code for me:
Code:
cd /usr/src
wget [url]http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz[/url]
tar xzf autoconf-2.61.tar.gz
cd autoconf-2.61
./configure --prefix=/usr
make
make install
 
Last edited:
Back
Top