免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3124 | 回复: 12
打印 上一主题 下一主题

安装apache 出问题了。求教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-25 17:15 |只看该作者 |倒序浏览
[root@SHARK httpd-2.0.52]# ./configure --prefix=/usr/local/apache2 --enable-module=so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to "  -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
  setting LDFLAGS to " "
  setting INCLUDES to " -I/usr/include/apr-0 "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E

Configuring PCRE regular expression library ...

configuring package in srclib/pcre now
/bin/sh: /123/httpd-2.0.52/srclib/pcre/configure: No such file or directory
configure failed for srclib/pcre
[root@SHARK httpd-2.0.52]# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to "  -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
  setting LDFLAGS to " "
  setting INCLUDES to " -I/usr/include/apr-0 "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E

Configuring PCRE regular expression library ...

configuring package in srclib/pcre now
/bin/sh: /123/httpd-2.0.52/srclib/pcre/configure: No such file or directory
configure failed for srclib/pcre


以上是我安装时出现的提示~~高手快点来帮忙啊。。版本是rhel 4

论坛徽章:
0
2 [报告]
发表于 2007-09-26 09:21 |只看该作者
我是新手啊。

怎么没有人帮我啊。。版主GG呢。。

论坛徽章:
0
3 [报告]
发表于 2007-09-26 11:36 |只看该作者
不都提示缺少pcre的源码吗

论坛徽章:
0
4 [报告]
发表于 2007-09-26 13:06 |只看该作者
楼主的源代码包可能有问题,哪儿下的?不完整吧。
否则,怎么会/bin/sh: /123/httpd-2.0.52/srclib/pcre/configure: No such file or directory
我check过我的一个2.0.58的apache的src,对应目录下有configure文件

论坛徽章:
0
5 [报告]
发表于 2007-09-27 08:15 |只看该作者
哪里下忘了。。都下载了两三个了,都不行。。郁闷的说`~

论坛徽章:
0
6 [报告]
发表于 2007-09-27 12:30 |只看该作者
上官方网下,这样比较有保障。

论坛徽章:
0
7 [报告]
发表于 2007-09-27 14:49 |只看该作者
楼上的意见
用什么都要到 官方站点!
可能会慢点 但很有保障阿
这样下来也会节省自己的很多时间

论坛徽章:
0
8 [报告]
发表于 2007-09-28 10:36 |只看该作者
谢谢 ~~~发现用linux,要装点东西。问题还真的好多啊。。


论坛徽章:
0
9 [报告]
发表于 2007-09-28 13:08 |只看该作者
这个问题我好像也遇到过,好像是你安装的时候少装什么东西了吧,可能是gcc之类的,你是不是当初是最简化安装呀?

论坛徽章:
0
10 [报告]
发表于 2007-09-28 13:40 |只看该作者
我也不清楚。。问下刚装系统的话,哪里是一定要装的啊。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP