configure问题

global_boy 2003-01-14 09:48:14
我在装apache2.0.43时遇到如下问题,请问如何解决?

[root@ftpserver httpd]# ./configure --prefix=/usr/loacl/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 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
...全文
60 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
linuxnewer 2003-01-16
  • 打赏
  • 举报
回复
在你的linux安装光盘里找一下gcc*.rpm,用
rpm -ivh gcc*.rpm安装一下,如果报告依赖关系错误,把需要的包挨个安装一下阿。
global_boy 2003-01-15
  • 打赏
  • 举报
回复
好像是没装gcc;
我初学linux,可否告知gcc如何安装?
linuxnewer 2003-01-15
  • 打赏
  • 举报
回复
没有安装gcc么?还是没有设置路径?
你装的哪个版本的linux?选择的什么安装方式?有没有安装gcc?
global_boy 2003-01-14
  • 打赏
  • 举报
回复
执行的是:

./configure --prefix=/home/apache2 --enable-shared=max --enable-module=most

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧