Hi,
I have recently had to build a new Apache server and mod_perl for my
website.
OS: Linux RedHat 7.3 (2.4.18-3)
I managed to build Apache (DSO) with no problems. However, I cannot
subsequently build mod_perl successfully. I have downloaded but NOT built
libapreq-1.0 yet.
Here is the output of attempts at building mod_perl:
% cd /usr/local/src/apache/httpd-2.0.36/
% gunzip mod_perl-1.99_01.tar.gz
% tar xf mod_perl-1.99_01.tar
% cd mod_perl-1.99_01
% perl Makefile.PL MP_AP_PREFIX=/usr/local/src/apache/httpd-2.0.36
% make && make test
<snip>...
/usr/local/src/apache/httpd-2.0.36/include/ap_mpm.h:58:29:
apr_thread_proc.h: No such file or
directory
In file included from mod_perl.h:4,
from mod_perl.c:1:
modperl_apache_includes.h:46:22: apr_lock.h: No such file or directory
modperl_apache_includes.h:47:25: apr_strings.h: No such file or directory
modperl_apache_includes.h:48:21: apr_uri.h: No such file or directory
modperl_apache_includes.h:49:22: apr_date.h: No such file or directory
modperl_apache_includes.h:50:25: apr_buckets.h: No such file or directory
In file included from modperl_apache_includes.h:53,
from mod_perl.h:4,
from mod_perl.c:1:
...<snip>
...it's looking for header files from the apache dist, and exits.
I can't figure out what gives here. The last build I did was some time ago
(1.3.14 and mod_perl-1.24_01, I believe).
Any suggestions? If this requires libapreq first, is there a help URL for
it? Thanks alot.
..Tom
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com