sun solaris下安装apache出错啦!请同志们帮帮忙!

qianshiyu 2005-04-04 11:49:48
我的安装步骤如下
#gzip -d httpd-2.1.3-beta.tar.gz
#tar xvf httpd-2.1.3-beta.tar
#cd httpd-2.1.3-beta
#./configure --prefix=/usr/local/apache --enable-module=so
出现如下信息:(最后一句出错)
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
Configuring APR library
Platform: sparc-sun-solaris2.9
checking for working mkdir -p... yes
APR Version: 1.1.0
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
See `config.log' for more details.
configure failed for srclib/apr
...全文
82 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
TianNi 2005-04-04
  • 打赏
  • 举报
回复
加路径,例如PATH=/usr/local/bin/gcc/bin:$PATH;export PATH
qianshiyu 2005-04-04
  • 打赏
  • 举报
回复
不好意思装gcc了!
qianshiyu 2005-04-04
  • 打赏
  • 举报
回复
不装有影响吗?怎么装呀?
TianNi 2005-04-04
  • 打赏
  • 举报
回复
没有安装cc或者gcc编译器???

19,615

社区成员

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

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