Cannot find autoconf. Please check your autoconf i

Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
運行/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


作者:機電愛迪生
來源:CSDN
原文:https://blog.csdn.net/weixin_42161963/article/details/80536958
版權聲明:本文爲博主原創文章,轉載請附上博文鏈接!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章