LinuxSir.cn,穿越时空的Linuxsir!

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

关于安装程序的问题?

[复制链接]
发表于 2003-10-31 23:33:22 | 显示全部楼层 |阅读模式
[root@power httpd-2.0.48]# ./configure --prefix=/server/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
configure failed for srclib/apr

请问下,我安装APACHE时出现以上信息,哪里出错呢?

/server/apache  这是我建立了的目录  当然是在根目录下建立的相关目录

我的linux分区是 /SWAP /BOOT  /  我刚学,所以分区是按最容易的分的,我的LINUX是redhat8.0

谢谢大家
 楼主| 发表于 2003-10-31 23:49:35 | 显示全部楼层
[root@power soft]# rpm -ivh gcc-3.2-7.src.rpm
warning: gcc-3.2-7.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot create %sourcedir /usr/src/redhat/SOURCES

还有我安装一些普通的RPM包也出错?
发表于 2003-11-1 09:41:56 | 显示全部楼层
checking for gcc... no
checking for cc... no
checking for cc... no
gcc编译器没有安装
发表于 2003-11-4 15:53:33 | 显示全部楼层
我解压带src的文件也是这样,其他的比如rpm或者tar.gz的都可以,是为什么呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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