[Web] 在SOLARIS编译APACHE遇到的问题???

weixin_38052002 2003-05-17 02:48:14

编译时遇到这样的错误,导致编译无法进行;错误如下:
bash-2.05# make
Making all in srclib
make[1]: Entering directory `/ftp/httpd-2.0.45/srclib'
Making all in apr
make[2]: Entering directory `/ftp/httpd-2.0.45/srclib/apr'
Making all in strings
make[3]: Entering directory `/ftp/httpd-2.0.45/srclib/apr/strings'
make[4]: Entering directory `/ftp/httpd-2.0.45/srclib/apr/strings'
/bin/ksh /ftp/httpd-2.0.45/srclib/apr/libtool --silent --mode=compile /opt/sfw/bin/gcc -g -O2 -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/ksh /ftp/httpd-2.0.45/srclib/apr/libtool --silent --mode=compile /opt/sfw/bin/gcc -g -O2 -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from apr_snprintf.c:65:
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/math.h:5: math.h: No such file or directory
make[4]: *** [apr_snprintf.lo] Error 1
make[4]: Leaving directory `/ftp/httpd-2.0.45/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ftp/httpd-2.0.45/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ftp/httpd-2.0.45/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ftp/httpd-2.0.45/srclib'
make: *** [all-recursive] Error 1
请问该如何解决???
...全文
15 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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