这是什么问题阿 error no decision has been made on APR_PATH_MAX for your platform

showstv 2003-08-26 11:05:03
我在 编译 apache 的时候 ( httpd-2.0.47)

运行完 ./configure
运行 make

就会出现这样的提示:


make[1]: Entering directory `/www/httpd-2.0.47/srclib'
Making all in apr
make[2]: Entering directory `/www/httpd-2.0.47/srclib/apr'
Making all in strings
make[3]: Entering directory `/www/httpd-2.0.47/srclib/apr/strings'
make[4]: Entering directory `/www/httpd-2.0.47/srclib/apr/strings'
/bin/sh /www/httpd-2.0.47/srclib/apr/libtool --silent --mode=compile gcc -g -O2
-pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOU
RCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/unix -c apr_c
pystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:430: #error no decision has been made on APR_PATH_MAX for your
platform
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/www/httpd-2.0.47/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/www/httpd-2.0.47/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/www/httpd-2.0.47/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/www/httpd-2.0.47/srclib'
make: *** [all-recursive] Error 1


其中这一句到底是什么意思啊?

#error no decision has been made on APR_PATH_MAX for your
platform

请各位大虾指点

...全文
132 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
fierygnu 2003-08-26
  • 打赏
  • 举报
回复
This is what happens when you are missing the linux kernel include files (/usr/include/linux usually)... install the version of those that matches your running kernel and you should be good to go.
showstv 2003-08-26
  • 打赏
  • 举报
回复
真的没有人碰到过吗??
showstv 2003-08-26
  • 打赏
  • 举报
回复
不行啊!

23,223

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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