Fred Moyer wrote:
Eric Snyder wrote:
/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.

Erm, you installed from source so scratch my last. Figure out where apr.h is and add MP_APR_CONFIG=/dir/to/apr/installation. That directory should have an include and lib directory beneath it, and apr.h will be in the include directory.

HTH

Reply via email to