LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 900|回复: 1

RedHat 9.0卸载自带的Apache后安装新版本的2.0出现问题

[复制链接]
发表于 2006-3-17 10:53:43 | 显示全部楼层 |阅读模式
自带的HTTPD,我使用
rpm -e php
rpm -e httpd
都卸载了!
http://httpd.apache.org下载的最新版本的:

httpd-2.2.0.tar.gz

只是为了学习安装,还有:
php-5.1.2.tar.gz
mysql-max-5.0.19-linux-i686.tar.gz

mysql安装好了!~~
但是apache安装却无法运行!~~

使用root帐号登陆
tar -zxvf  httpd-2.2.0.tar.gz
然后,
cd httpd-2.2.0
./configure --prefix=/usr/local/apache2 --enable-module=so
正常结束,接着
make
也正常结束
接着就
make install
就发生错误了!
错误信息如下所示:

/bin/sh /root/httpd-2.2.0/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apache/lib
libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /etc/apache/lib
make[2]: *** [install] Error 1
make[2]: Leaving directory `/root/httpd-2.2.0/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.2.0/srclib'
make: *** [install-recursive] Error 1


请问是否方法不对?我也没有看到apache的安装说明文件!
希望大家能够帮帮忙!~~谢谢!
发表于 2006-4-1 20:25:03 | 显示全部楼层
我的也是这样,找不到什么原因,在配置之前执行一下make clean一下看看
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表