[Web]
在SOLARIS编译APACHE遇到的问题???
编译时遇到这样的错误,导致编译无法进行;错误如下:
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
请问该如何解决???