You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/06/14 06:53:28 UTC

Re: [Patch] perl Makefile.PL PREFIX=/foo/bar breakage

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.