[16870] in Athena Bugs
Re: perl's makemaker stuff
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Mon May 31 22:58:50 1999
To: Joseph Sokol-Margolis <seph@MIT.EDU>
Cc: Greg Hudson <ghudson@MIT.EDU>, bugs@MIT.EDU
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jacob Morzinski <jmorzins@MIT.EDU>
Date: 31 May 1999 22:58:44 -0400
In-Reply-To: Greg Hudson's message of "Mon, 31 May 1999 11:16:23 EDT"
Message-Id: <w6mhfoszkwr.fsf@well.mit.edu>
seph wrote:
> "perl Makefile.pl && make && make test && make install"
I would have argued that an easier way to address this is
for affected users to appropriately customize the initial
"perl Makefile.PL" command. In the past, I've used things like:
#!/bin/sh
prefix=/afs/sipb/contrib/perl
exec_prefix="$prefix"/arch/"$ATHENA_SYS"
perl Makefile.PL \
INSTALLPRIVLIB="$prefix"/arch/share/perl5.004 \
INSTALLSITELIB="$prefix"/arch/share/perl5.004/site_perl \
INSTALLARCHLIB="$exec_prefix"/lib/perl5.004 \
INSTALLSITEARCH="$exec_prefix"/lib/perl5.004/site_perl \
INSTALLBIN="$exec_prefix"/bin \
INSTALLSCRIPT="$prefix"/arch/share/bin \
INSTALLMAN1DIR="$prefix"/man/man1 \
INSTALLMAN3DIR="$prefix"/man/man3
(The "make"s will work fine if the call to perl is properly done.)
-Jacob Morzinski