Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable.
Posted Wed, 01/27/2010 - 1:10am
if you try running the following:
phpizeand get this error
$PHP_PREFIX/bin/phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
Then it's because you don't have autoconf installed.
To fix this error, do the following:
yum install autoconfor you can install from source (if you want to use the latest version)
cd /usr/local/src/
/* find latest version of m4 here: http://ftp.gnu.org/gnu/m4/ */
wget http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz
tar xvfz m4-latest.tar.gz
cd m4-latest
./configure
make
make install
/* find latest version of autoconf here: http://ftp.gnu.org/gnu/autoconf/ */
wget http://ftp.gnu.org/gnu/autoconf/autoconf-LATESTVERSION.tar.gz
tar xvfz autoconf-LATESTVERSION.tar.gz
cd autoconf-LATESTVERSION
./configure
make
make install
Comments
Some other options is also
by Olav Frengstad - 07/28/2010 - 2:06pm
Some other options is also that there is nothing set for variabels $PHP_AUTOCONF & $PHP_AUTOHEADER;
Try:
# echo $PHP_AUTOCONF
and
# echo $PHP_AUTOHEADER
if any of them are blank you need to use
# export PHP_AUTOCONF=/usr/bin/autoconf
or
# export PHP_AUTOHEADER=/usr/bin/autoheader
Remember to change the values to point to your executables.
Thanks! A few hairs from my
by Anonymous - 01/15/2011 - 10:37am
Thanks! A few hairs from my head have been saved from being ripped out due to frustration.
Thanks!!
Post new comment