当前位置: 技术问答>linux和unix
装APACHE时出现问题,请教
来源: 互联网 发布时间:2015-05-15
本文导语: 执行了./configure --prefix=/usr/local/apache2 --enable-so 后再执行MAKE,可是有错,如下 [root@hwtlinux httpd-2.0.48]# make Making all in srclib make[1]: Entering directory `/usr/local/httpd-2.0.48/srclib' Making all in apr make[2]: Entering directory `/usr/lo...
执行了./configure --prefix=/usr/local/apache2 --enable-so
后再执行MAKE,可是有错,如下
[root@hwtlinux httpd-2.0.48]# make
Making all in srclib
make[1]: Entering directory `/usr/local/httpd-2.0.48/srclib'
Making all in apr
make[2]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr'
Making all in strings
make[3]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[4]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
/bin/sh /usr/local/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:432: #error no decision has been made on APR_PATH_MAX for your
platform
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0.48/srclib'
make: *** [all-recursive] Error 1
请教如何修改???
后再执行MAKE,可是有错,如下
[root@hwtlinux httpd-2.0.48]# make
Making all in srclib
make[1]: Entering directory `/usr/local/httpd-2.0.48/srclib'
Making all in apr
make[2]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr'
Making all in strings
make[3]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[4]: Entering directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
/bin/sh /usr/local/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:432: #error no decision has been made on APR_PATH_MAX for your
platform
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0.48/srclib'
make: *** [all-recursive] Error 1
请教如何修改???
|
你装的什么版本,在什么平台上都没说清楚