On Wed, 11 Apr 2007, michael watson (IAH-C) wrote:
However, with my new install, ModPerl/Registry.pm has gone into
/usr/local/apache2/lib/site_perl/5.8.0/i386-linux-thread-multi/, which
isn't in my @INC.
Can someone tell me which options during the mod_perl install (or indeed
the apache2 install) I need to set so that ModPerl/Registry.pm goes into
a directory that perl already looks at? I realise I can alter my
PERL5LIB to look at
/usr/local/apache2/lib/site_perl/5.8.0/i386-linux-thread-multi/, but it
just seems messy...
mod_perl supports the usual options supported by ExtUtils::MakeMaker:
http://perl.apache.org/docs/2.0/user/install/install.html#Configuring_mod_perl
So you should be able to 'perl Makefile.PL LIB=/usr/lib' or something
quite similar.