在安装完PHP后,想动态编译PHP的memcache扩展库
cd memcache-2.2.5/
/usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config
但是执行/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 is set correctly and then rerun this script. |
在网上搜索一通,发现这个问题提的人还挺多,摘了一段下来:
# 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动态编译出现Cannot find autoconf的解决方法。分享给大家供大家参考。具体方法如下: 在安装完PHP后,想动态编译PHP的memcache扩展库 复制代码 代码如下:cd memcache-2.2.5/ /usr/local/webserver/...
phpize Configuring for: PHP Api Version: 20131106 ...Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.
编译利器之大型项目如何使用Automake和Autoconf完成编译配置分享.pdf
sqlite-autoconf-3330000-源码编译后,文章中用到,作为附件用。
Autoconf编译配置.md
7-LINUX程序设计与交叉编译(7)-autoconf和automake工具使作(多个文件).pdf 学习资料 复习资料 教学资源
编译openwrt时需要用到的一个文件,找了很久才找到,分享给大家
Autoconf是一个用于生成可以自动地配置软件源代码包以适应多种Unix类系统的 shell脚本的工具。由Autoconf生成的配置脚本在运行的时候与Autoconf是无关的, 就是说配置脚本的用户并不需要拥有Autoconf。
linux中编译程序时要用到autoconf
一个完整的automake,autoconf运用例子,非hello,world之类的,一个大型项目产生makefile的完整的学习用例子,包括构建库,M4宏等
autoconf教程
自动创建makefile等编译文件,傻瓜式手把手教程,非常实用
还觉得写Makefile是难事吗?autoconf-图文详解-附带详细解释 作者亲自写的例子: MyFirst.cpp Hello.h Hello.cpp configure.in Makefile.am autoconf总结.docx 手把手教你玩转 autoconf automake
Autoconf_手册.pdf
autoconf automake 轻松入门
autoconf和automake
6-LINUX程序设计与交叉编译(6)-autoconf和automake工具使作(一个文件).pdf 学习资料 复习资料 教学资源
用autoconf生成makefile的实例
makefile m4 autoconf automake