On Tuesday 15 May 2007 22:33, Walt Reed wrote: > I would prefer however to put all my test modules for this migration in the > /usr/local/apache2/perllib space, but looking at the mod_perl configure > options, I didn't see which option specified this... MP_AP_PREFIX? > MP_AP_DESTDIR? Neither one of those looked appropriate.
BASE=/path/to/somewhere PERLV=$(perl -e 'printf "%vd", $^V') make \ INSTALLSITEARCH=$BASE/$PERLV/i586-linux-thread-multi \ INSTALLSITELIB=$BASE/$PERLV \ INSTALLSITEBIN=$BASE/usr/bin \ INSTALLSCRIPT=$BASE/usr/bin \ INSTALLSITEMAN1DIR=$BASE/man/man1 \ INSTALLSITEMAN3DIR=$BASE/man/man3 \ install Then in the httpd.conf: PerlSwitches -I${BASE} I do something like this in RPM builds. So I have httpd and mod_perl bundled in /opt/apache, /opt/apache22 etc. Apache is located in /opt/apache and mod_perl in /opt/apache/mod_perl. This is a bit cumbersome because you have to look out in which tree to install additional modules. But for me it works. Torsten
pgp5MXm5XdSK2.pgp
Description: PGP signature