Foo JH wrote:
Hi all,
I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.
I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
The module mod_apreq2.so loaded quite happily. But when I tried to 'use
Apache2::Cookie' Apache22 throws out the error in http-error.log:
Can't locate Apache2/Cookie.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)
I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.
Other details:
1. FreeBSD 7.0
2. Apache 2.2.6_2
3. mod_perl 2.0.3
4. libapreq 2.08
Please enlighten...Thanks.
This is a linux box, but libapreq2 should just be libapreq2 regardless
of platform right?
$ find /usr/lib -name *ookie.pm
/usr/lib/perl5/site_perl/5.8.8/i686-linux/APR/Request/Cookie.pm
/usr/lib/perl5/site_perl/5.8.8/i686-linux/Apache2/Cookie.pm
Perhaps your install from ports didn't install the perl bindings for
libapreq2 at all? Are any of the APR/Apache2 modules that should have
been installed actually there?
Adam