Hi,
Am 01.09.2005 um 23:55 schrieb Joe Schaefer:
Boris Zentner <[EMAIL PROTECTED]> writes:
Hi,
whenever I try to use a script that use libapreq2 without mod_perl
libapreq segfaults.
Here is a small example.
lisa:~ borisz$ perl -MApache2::Request -e1
That's expected, since APR::Request::Apache2 depends on mod_perl
Have the script use APR::Request::CGI instead.
I can not use APR::Request::CGI since the whole application depends
on mod_perl and Apache2::Request. The point is that I do a simple
load check during make && make test that does nothing much but
# 00_load.t
BEGIN { eval { require Apache2 }; $| = 1; $^W = 0; print "1..1\n"; }
END {print "not ok 1\n" unless $loaded;}
use mod_perl2;
use MyApp;
$loaded = 1;
print "ok 1\n";
and that segfaults. I removed the test for now, but thats not my
preferred solution.
--
Boris