On Wednesday 01 December 2004 18:58 CET Justin Mason wrote:
> Tony Finch writes:
> > > >  perl Build.PL install_base=~
> > > >
> > > > This is different from PREFIX in that its not going to try and
> > > > guess how you want things installed based on your system
> > > > installation.  It's just going to plop things into ~/bin, ~/lib,
> > > > ~/man, etc...  This is much saner and easier to predict than
> > > > PREFIX.
> >
> > I install SpamAssassin in a non-standard location in order to permit
> > multiple parallel installations. This sounds much closer to what I want
> > - it's really painful to get MakeMaker to do the right thing.
>
> hmm, are you using the way documented in the INSTALL file?  as far as I
> know that should work reliably --
>
>         perl Makefile.PL PREFIX=$HOME
>
> I *think* we got that working eventually.  agreed, it was tricky due
> to EU:MM wierdness.

The command
 perl Makefile.PL PREFIX=$HOME
should work reliably.
 perl Makefile.PL PREFIX=/usr/local
triggers some weird guessing code inside EU::MM and can make your SA install 
go to /usr/lib/perl5 instead of /usr/local/lib/perl5 (IIRC).

Cheers,
Malte

-- 
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
      <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
      <http://www.catb.org/~esr/faqs/smart-questions.html>

Reply via email to