码迷,mamicode.com
首页 > Web开发 > 详细

运行phpize时出现:Cannot find autoconf. Please check your autoconf installation

时间:2015-08-26 15:31:01      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:

运行/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安装缺失包:
yum install m4 
yum install autoconf

两个命令就搞定了

 

运行phpize时出现:Cannot find autoconf. Please check your autoconf installation

标签:

原文地址:http://www.cnblogs.com/fjping0606/p/4760453.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!