Cannot find autoconf. Please check your autoconf installation

简介:
运行/usr/local/webserver/php/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.
第一种方法是:
# cd /usr/src
# wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
# tar -zvxf m4-1.4.9.tar.gz
# cd m4-1.4.9/
# ./configure && make && make install
# cd ../
# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
# tar -zvxf autoconf-2.62.tar.gz
# cd autoconf-2.62/
# ./configure && make && make install

本人使用第二种更简单的办法:
# yum install m4

# yum install autoconf

本文转自 boy461205160 51CTO博客,原文链接:http://blog.51cto.com/461205160/1733427


相关文章
checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel pa
checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel pa
497 0
|
C语言
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
494 0
configure: error: zlib not installed
configure: error: zlib not installed
88 0