您的位置:首页 > 编程语言 > PHP开发

PHP编译后动态添加模块时autoconf出错

2017-03-13 15:58 393 查看
PHP编译完成后,想要动态添加模块时报错

Cannot find autoconf. Please check your autoconf installation and the

$PHP_AUTOCONF environment variable. Then, rerun this script.


Autoconf是一个用于生成可以自动地配置软件源代码包以适应多种Unix类系统的shell脚本的工具。

解决方法:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  php linux