libapreq
view release on metacpan or search on metacpan
INSTALL.MacOSX view on Meta::CPAN
To apply the patch to the Apache sources (assuming the apache-1.3.x source is
along side of the libapreq-1.x source):
% cd apache-1.3.x
% patch -p0 < ../libapreq-1.x/patches/apache-1.3+apreq.patch
% cp ../libapreq-1.x/c/*.[ch] src/lib/apreq
If you've installed Perl and mod_perl in the default Darwin locations, you'll
next need to set the PER5LIB environment variable to "/Library/Perl" so that
the new mod_perl modules you install are preferred to the ones in
/System/Library/Perl when Apache compiles. Use "setenv" under tsch:
% setenv PERL5LIB /Library/Perl
Or "export" under bash or zsh:
% export PER5LIB=/Library/Perl
Now build and install Apache (+modperl) as normal. Make sure that you use
APACI, as the libapreq patch requires it. For example, if you're letting
mod_perl's Makefile build Apache, configure it like this:
% cd mod_perl-1.xx
( run in 0.376 second using v1.01-cache-2.11-cpan-a1d94b6210f )