Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 32486
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: mjh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.0.2
Fixed in: (no value)



Subject: ModPerl::MM: no include path for apr.h
Newer versions of the libapr have renamed apr-config to apr-1-config, and put the headers in /usr/include/apr-1/. Not all distributions provide backwards compatibility/alternates symlinks. The makefile creation code isn't handling this case, so modules that use ModPerl::MM don't see the apr headers without explicitly adding the include path.
You can specify additional apr config paths with the following invocation: perl Makefile.PL MP_APR_CONFIG=/path/to/apr-config