On Fri, 25 May 2001, Philippe M . Chiasson wrote:

> When passing a PREFIX=/foo/bar to Makefile.PL, all the perl .pm will get installed
> under /foo/bar/lib/site_perl/perl-version/perl-arch but mod_perl.so isn't aware of
> that.  So, mod_perl will refuse to start, failing to locate Apache.pm.  My first
> way around this was to PerlRequire a file before anything else and push 
>/foo/bar/lib/site_perl/perl-version/perl-arch
> on the @INC path, but it's not very elegant.
> 
> This patches automatically makes sure the PREFIX path, if specified, is placed first 
>in the @INC
> path.

nice work, applied.


Reply via email to