On Wed, 1 Dec 2004, Justin Mason wrote:
>
> 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.
My install script says
perl -pi -e "s|'contact_address' => undef|'contact_address' => '[EMAIL
PROTECTED]'|;
s|'run_net_tests' => undef|'run_net_tests' => 1|;
s|\\\$[(]I_LIBDIR[)]|\\\$(INSTALLSITELIB)|;
s|\\\$[(]PERL_BIN[)]|/usr/bin/perl|" Makefile.PL
LIBPERL="$PREFIX/lib/perl5"
PERL="/usr/bin/perl -I$LIBPERL"
PERLCONF="SYSCONFDIR=$PREFIX/etc INSTALLDIRS=perl"
PERLMAN1="INSTALLMAN1DIR=$PREFIX/man/man1"
PERLMAN3="INSTALLMAN3DIR=$PREFIX/man/man3"
PERLMAN5="INSTALLMAN5DIR=$PREFIX/man/man5"
PERLMAKEARGS="PREFIX=$PREFIX LIB=$LIBPERL $PERLCONF $PERLMAN1 $PERLMAN3"
$PERL Makefile.PL PERL="$PERL" FULLPERL="$PERL" $PERLMAKEARGS
I have to blat a couple of things in SpamAssassin's Makefile.PL in order
to support unattended installs. The other stuff is not necessary for
SpamAssassin - some of the module dependencies have other path prefix
configuration problems.
Tony.
--
f.a.n.finch <[EMAIL PROTECTED]> http://dotat.at/
MALIN HEBRIDES: NORTHEAST 4 OR 5 INCREASING 6. RAIN LATER. GOOD BECOMING
MODERATE.