安装Apache2 执行make的时候出现错误
root@Ferdinand:/home/source/httpd-2.0.35# make
Making all in srclib
make[1]: Entering directory `/home/source/httpd-2.0.35/srclib'
Making all in apr
make[2]: Entering directory `/home/source/httpd-2.0.35/srclib/apr'
Making all in strings
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/strings'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/strings'
Making all in passwd
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/passwd'
Making all in tables
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/tables'
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/tables'
Making all in file_io/unix
make[3]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[4]: Entering directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
/bin/sh /home/source/httpd-2.0.35/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -I../../include -I../../include/arch/unix -I../../include/arch/unix -c pipe.c && touch pipe.lo
pipe.c:79:17: error: operator "defined" requires an identifier
pipe.c:79:18: error: missing binary operator before token "04000"
make[4]: *** [pipe.lo] Error 1
make[4]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/source/httpd-2.0.35/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/source/httpd-2.0.35/srclib'
make: *** [all-recursive] Error 1
请问大家这个错误在什么地方啊?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
configure的时候没有报错?
回复 2# chenyx
恩 没有错