Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
来源:互联网 发布:dos命令运行java程序 编辑:程序博客网 时间:2024/06/03 13:38
1、出现错误的场合:
运行/usr/local/webserver/php/bin/phpize时出现:时出现:
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(我是试了上边源码编译方式,但是老师出错,我就用yum安装成功了)
2、解释./configure
./代表当前目录,属于相对路径../代表上一级目录,属于相对路径/代表根目录,/开头的文件都是绝对路径./configure的意思是执行当前目录下面的configure文件configure一般都有可执行的权限,如果没有的话,用./configure是不能执行的,但是可以这样执行:sh ./configure
3、解释autoconf
Autoconf是一个用于生成可以自动地配置软件源代码包以适应多种Unix类系统的 shell脚本的工具。由Autoconf生成的配置脚本在运行的时候与Autoconf是无关的, 就是说配置脚本的用户并不需要拥有Autoconf。
由Autoconf生成的配置脚本在运行的时候不需要用户的手工干预;通常它们甚至不需要 通过给出参数以确定系统的类型。相反,它们对软件包可能需要的各种特征进行独立 的测试。(在每个测试之前,它们打印一个单行的消息以说明它们正在进行的检测, 以使得用户不会因为等待脚本执行完毕而焦躁。)因此,它们在混合系统或者从各种 常见Unix变种定制而成的系统中工作的很好。没有必要维护文件以储存由各个Unix变种 、各个发行版本所支持的特征的列表。
对于每个使用了Autoconf的软件包,Autoconf从一个列举了该软件包需要的,或者可以 使用的系统特征的列表的模板文件中生成配置脚本。在shell代码识别并响应了一个被 列出的系统特征之后,Autoconf允许多个可能使用(或者需要)该特征的软件包共享该特征。 如果后来因为某些原因需要调整shell代码,就只要在一个地方进行修改; 所有的配置脚本都将被自动地重新生成以使用更新了的代码。
Metaconfig包在目的上与Autoconf很相似,但它生成的脚本需要用户的手工干预,在配置一个 大的源代码树的时候这是十分不方便的。不象Metaconfig脚本,如果在编写脚本时小心谨慎, Autoconf可以支持交叉编译(cross-compiling)。
阅读全文
0 0
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this scrip
- [php] Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environme
- phpize时Cannot find autoconf. Please check your autoconf installation and the
- Cannot find autoconf. Please check your autoconf installation
- Cannot find autoconf. Please check your autoconf installation
- mac下phpize报错Cannot find autoconf. Please check your autoconf installation解决方法
- 运行phpize时出现:Cannot find autoconf. Please check your autoconf installation
- mac下phpize报错Cannot find autoconf. Please check your autoconf installation解决方法
- Can't find X includes. Please check your installation and add the correct paths!
- Cannot find autoconf
- Cannot find autoconf
- linux cannot find autoconf
- Cannot find build files at '/usr/local/lib/php/build'. Please check your PHP installation.
- python3的map问题
- Java8元空间代替持久代
- 如何保证线程按顺序执行
- OSI参考模型——传输层:TCP、UDP协议详解
- 时间差1
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
- Spring Data JPA入门
- 书的复制 解题报告(动态规划dp四边形不等式优化)
- 部署war包到Tomcat根目录(测试有效)
- Spark 内核的总结
- 不想升级,iOS系统自动更新可彻底关闭! 2016-05-23 16:38 更新/自动/on 昨天笔者发布了一篇关于iOS系统总提醒更新,到底要不要升级的文章,不少读者在微信上留言给笔者, iPhon
- Android-PullToRefresh 之一:概要设计
- JPEG—范式哈夫曼编码(Canonical Huffman Code)
- 360个人图书馆 轻松解除网页防复制