Eric Snyder wrote:
...
perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/usr/src/httpd-2.2.4
MP_AP_CONFIGURE="--with-mpm=prefork"
This seemed to go with no problems.
Make totally blew up on me. I get massive errors from the start. Here is
the top of the output:
...
/usr/src/httpd-2.2.4/srclib/apr/include/apr_tables.h:25:17: apr.h: No
such file or directory
In file included from
/usr/src/httpd-2.2.4/srclib/apr/include/apr_pools.h:38,
from
/usr/src/httpd-2.2.4/srclib/apr/include/apr_tables.h:26,
from
/usr/src/httpd-2.2.4/srclib/apr-util/include/apr_hooks.h:22,
from /usr/src/httpd-2.2.4/include/ap_config.h:26,
from /usr/src/httpd-2.2.4/include/httpd.h:43,
from modperl_apache_includes.h:27,
from mod_perl.h:20,
from mod_perl.c:17:
/usr/src/httpd-2.2.4/srclib/apr/include/apr_errno.h:52: error: syntax
error before "apr_strerror"
/usr/src/httpd-2.2.4/srclib/apr/include/apr_errno.h:53: error: syntax
error before "apr_size_t"
/usr/src/httpd-2.2.4/srclib/apr/include/apr_errno.h:53: warning: data
definition has no type or storage class
What is wrong and how do I fix this?
You're missing the apr development package. I'm not familiar with
slackware so I can't say what exact package is missing, but if you
search your package tree there should be some apr packages. Install
those, and you should be ok.