I have a Solaris 8 box and need to install Apache 2.0.55 on it. First thing I tried was compiling from source code. During the make phase, I got the following errors:
Quote:
/bin/bash /export/home/smartin/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sendrecv.c && touch sendrecv.lo
sendrecv.c: In function `apr_socket_sendfile':
sendrecv.c:852: error: `sendfilevec_t' undeclared (first use in this function)
sendrecv.c:852: error: (Each undeclared identifier is reported only once
sendrecv.c:852: error: for each function it appears in.)
sendrecv.c:852: error: `sfv' undeclared (first use in this function)
sendrecv.c:871: error: `SFV_FD_SELF' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `sendrecv.lo'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr/network_io/unix
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr/network_io/unix
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Then I tried downloading the binaries. I tried the one available from Apache's site and the one from sunfreeware.com, with the same results. I run "apachectl start", it doesn't return any errors. But the HTTP server is not running, either. I'm trying "lynx localhost" and all I get is "HTTP request sent; waiting for response". If I do "ps -fe|grep http", I get the following:
Quote:
root 1011 1 0 14:26:30 ? 0:00 /usr/local/apache2/bin/httpd -k start
It doesn't quite look right, I think there should be multiple httpd processes. If I run "apachectl stop". I get the following:
Quote:
httpd (no pid file) not running
There's no PID file in the /usr/local/apache2/logs directory. And no errors in the error log.
So I'm really stuck now, I can't compile Apache, and the precompiled builds don't work. I don't know if there's a relation between the two. Any suggestions? Any help will be appreciated!