Am a *nix newbie & here is a problem that has been driving me crazy for the last 36 hours or so.
I've attempted a clean install of Apache 2.0.48.
[1] I have successfully installed it in /usr/local/apache using the following steps:
(a) ./configure --prefix=/usr/local/apache --with-php --with-mysql --withsusexec --enable-mods-shared=all --disable-info
(b) make
(c) make install
[2] However, whenever httpd or apachectl runs it is looking for the conf directory in /usr/local/apache2. The error msgs I get are as follows:
(a) httpd: could not open document config file /usr/local/apache2/conf/httpd.conf
(b) /usr/local/apache/bin/httpd: error while loading shared libraries: libaprutil-0.so.0: cannot open shared object file: No such file or directory
I found this link:
http://www.freelists.org/archives/o...2/msg00254.html
So I tried what was suggested in there:
[1] CFLAGS="-DBEOS" ./configure --prefix=/usr/local/apache --with-php --with-mysql --with-susexec --enable-mods-shared=all --disable-info
[2] make; make install;
However during the make process I get the following errors:
In file included from /root/httpd-2.0.48/srclib/apr-util/include/apr_buckets.h:70,
from /root/httpd-2.0.48/include/httpd.h:82,
from /root/httpd-2.0.48/include/ap_listen.h:59,
from /root/httpd-2.0.48/server/exports.c:16:
/root/httpd-2.0.48/srclib/apr/include/apr_mmap.h:70:23: kernel/OS.h: No such file or directory
In file included from /root/httpd-2.0.48/srclib/apr-util/include/apr_buckets.h:70,
from /root/httpd-2.0.48/include/httpd.h:82,
from /root/httpd-2.0.48/include/ap_listen.h:59,
from /root/httpd-2.0.48/server/exports.c:16:
/root/httpd-2.0.48/srclib/apr/include/apr_mmap.h:105: parse error before "area_id"
/root/httpd-2.0.48/srclib/apr/include/apr_mmap.h:105: warning: no semicolon at end of struct or union
/root/httpd-2.0.48/srclib/apr/include/apr_mmap.h:127: parse error before } token
make[2]: *** [/root/httpd-2.0.48/server/exports.lo] Error 1
make[2]: Leaving directory `/root/httpd-2.0.48/server
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.0.48/server
make: *** [all-recursive] Error 1
Any suggestions? Thanks.