在ubuntu下安装apache2.2.2的问题!帮忙看看

banyi 2006-07-14 04:11:07
本来可以用apt-get install 来装的,但是这种装上去的不太好用,我从官网上下了apache2.2.2,我是这样安装的:
$ gzip -d httpd-2_2_2.tar.gz
$ tar xvf httpd-2_2_2.tar

$ ./configure --prefix=/usr/local/apache2
结果出现下面的提示:
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring APR library
Platform: i686-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version: 1.2.7
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

貌似不能建立可执行文件!!可我的这个目录的权限都改过了,到底怎么回事呢?
...全文
268 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
sosopro 2006-07-14
  • 打赏
  • 举报
回复
这是没有安装c和c++环境,去装个。
ubuntu不自带的

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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