httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Moseley <>
Subject Building with Perlbrew environment.
Date Sat, 28 Jul 2012 15:55:40 GMT
Apache/2.2.17 Fedora 14, with mod_perl-2.0.7.

I'm tying to build libapreq2-2.13 in a non-root Perlbrew environment.

I'm able to build and install mod_perl2 without any problem.   Although I
have to set MP_AP_DESTDIR to someplace I can write to since I don't want to
install system-wide with sudo.   The important thing to realize here is
that ends up in a non-standard location.   That's a minor
problem because in my httpd.conf I can use Apache modules from their
standard location, but for mod_perl I only need to specify the full path to
the .so file.

It seems I can build libarpreq2 successfully

$ pwd

$ find -name \*.so

But many tests fail because mod_perl isn't getting loaded.

$ fgrep Compilation glue/perl/t/logs/error_log  | head -1
[Sat Jul 28 08:32:29 2012] [error] [client] failed to resolve
handler `TestAPI::cookie': Can't load
for module APR::Request:
symbol: PL_tainting* at /usr/lib64/perl5/ line 200.\n at
/home/bill/libapreq2-2.13/glue/perl/blib/lib/APR/Request/ line
27\nCompilation failed in require at
/home/bill/libapreq2-2.13/glue/perl/blib/lib/APR/Request/ line
27.\nBEGIN failed--compilation aborted at
/home/bill/libapreq2-2.13/glue/perl/blib/lib/APR/Request/ line
27.\nCompilation failed in require at
/home/bill/libapreq2-2.13/glue/perl/t/response/TestAPI/ line
9.\nBEGIN failed--compilation aborted at
/home/bill/libapreq2-2.13/glue/perl/t/response/TestAPI/ line
9.\nCompilation failed in require at (eval 3) line 2.\n

Can you think of how to build and run tests in this situation?

BTW -- when running the tests I see warnings about missing include
directories that are configured in my /etc/httpd/conf/httpd.conf file.  Why
would this configuration file get used when running tests?


Bill Moseley

View raw message