VPS侦探论坛

标题: lnmp后安装apache失败,很多人都遇到了这类问题 [打印本页]

作者: suwubee    时间: 2011-8-10 10:00
标题: lnmp后安装apache失败,很多人都遇到了这类问题
在服务器上一键安装lnmp,然后./apache.sh后最后安装失败,进入状态管理的时候会提示/etc/init.d/httpd: line 98: /usr/local/apache/bin/httpd: No such file or directory


同样的问题出现于https://bbs.vpser.net/thread-2851-1-1.html,这个应该不是个例了。
最主要的问题是 “Perl is not installed”,然后在服务器yum install perl* 了几次也没有安装上。。。

[ 本帖最后由 suwubee 于 2011-8-10 10:22 编辑 ]
作者: licess    时间: 2011-8-10 10:32
安装perl提示什么错误
作者: suwubee    时间: 2011-8-10 10:38
标题: 回复 2# 的帖子
yum clean all
yum update -y
yum install *perl*
然后再安装perl的时候提示已经安装成功并且都是最新版,再安装./apache.sh的时候还是提示没有perl。另外我安装mapn的时候也是apache+nginx,没有遇到这个问题。
作者: suwubee    时间: 2011-8-10 10:54
标题: 回复 2# 的帖子
The output of /usr/local/apache/bin/apxs follows:
./configure: line 6461: /usr/local/apache/bin/apxs: No such file or directory
configure: error: Aborting
cp: cannot stat `/usr/local/apache/build/libtool': No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop
作者: licess    时间: 2011-8-10 11:24
提供更多一些的错误信息




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4