产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] AMH 运行PHP-5.2.sh 错误

jiangjames
铁牌会员
23.00 价值分

jiangjames 发表于 2014-06-17 09:48:42
cd /usr/local/php-5.2/download_tar/php-5.2.17/libevent && /bin/sh /usr/local/php-5.2/download_tar/php-5.2.17/libevent/missing --run aclocal-1.9
/usr/local/php-5.2/download_tar/php-5.2.17/libevent/missing: line 52: aclocal-1.9: command not found
WARNING: `aclocal-1.9' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd /usr/local/php-5.2/download_tar/php-5.2.17/libevent && /bin/sh /usr/local/php-5.2/download_tar/php-5.2.17/libevent/missing --run automake-1.9 --foreign
/usr/local/php-5.2/download_tar/php-5.2.17/libevent/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd /usr/local/php-5.2/download_tar/php-5.2.17/libevent && /bin/sh /usr/local/php-5.2/download_tar/php-5.2.17/libevent/missing --run autoconf
我要安装什么库啊,
2014-06-17 09:48:42 1

jiangjames
铁牌会员
23.00 价值分

自己解决了,弄了一天多,终于,[OK] php-5.2.17 install completed.

方法是 吧自动自带的 aclocal automake cp 成 aclocal-1.9 automake-1.9
然后 yum install re2c
把 /usr/locla/php-5.2目录彻底删除
./php-5.2.sh 重新安装

OK 大功告成
  支持 (0分)  反对 (0分)
回复  2014-06-17 11:02:19 2

amysql
创始人
99530.81 价值分

楼主是用什么系统?
  支持 (0分)  反对 (0分)
回复  2014-06-17 11:12:40 3

AMH面板 - 好用高效低占用、安全可靠极稳定

 1  (总1页)
AMH社区列表
用户服务中心