Date: Sat, 4 Sep 1999 18:40:02 -0700 (PDT) From: Bill Fenner <fenner@research.att.com> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/13575: perl Makefile.PL LIB=~/lib;make install fails Message-ID: <199909050140.SAA04179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/13575; it has been noted by GNATS.
From: Bill Fenner <fenner@research.att.com>
To: freebsd-gnats-submit@freebsd.org
Cc:
Subject: Re: misc/13575: perl Makefile.PL LIB=~/lib;make install fails
Date: Sat, 4 Sep 1999 18:36:23 -0700
BTW, MakeMaker has a bunch of bugs. It seems to try to take its idea of
what the paths from Config.pm should be and use s/// to turn them into
something else, but
a) it seems to get the defaults wrong -- a perl installation with
no defaults overridden at configure time (i.e. Config.pm has
"config_args=''") tries some things that will work:
prefixify INSTALLPRIVLIB (/usr/local/lib/perl5/5.00503), with /usr/local/lib/perl5 -> $(PREFIX)/lib/perl5
prefixify INSTALLARCHLIB (/usr/local/lib/perl5/5.00503/i686-linux-thread), with /usr/local/lib/perl5 -> $(PREFIX)/lib/perl5
and some that won't:
prefixify INSTALLMAN1DIR (/usr/local/man/man1), with /usr/local/lib/perl5/man -> $(PREFIX)/lib/perl5/man
prefixify INSTALLMAN3DIR (/usr/local/lib/perl5/5.00503/man/man3), with /usr/local/lib/perl5/man -> $(PREFIX)/lib/perl5/man
b) if you give args to Configure, like the FreeBSD build does, MakeMaker
doesn't take them into account so does even more things wrong:
prefixify INSTALLPRIVLIB (/usr/libdata/perl/5.00503), with /usr/lib/perl5 -> $(PREFIX)/lib/perl5
prefixify INSTALLARCHLIB (/usr/libdata/perl/5.00503/mach), with /usr/lib/perl5 -> $(PREFIX)/lib/perl5
prefixify INSTALLSITELIB (/usr/local/lib/perl5/site_perl/5.005), with /usr/lib/perl5 -> $(PREFIX)/lib/perl5
prefixify INSTALLSITEARCH (/usr/local/lib/perl5/site_perl/5.005/i386-freebsd), with /usr/lib/perl5 -> $(PREFIX)/lib/perl5
prefixify INSTALLMAN1DIR (/usr/local/man/man1), with /usr/lib/perl5/man -> $(PREFIX)/lib/perl5/man
prefixify INSTALLMAN3DIR (/usr/local/lib/perl5/5.00503/man/man3), with /usr/lib/perl5/man -> $(PREFIX)/lib/perl5/man
None of these substitutions can work.
(this output is from instrumenting ExtUtils::MM_Unix prefixify() with
print "prefixify $var ($self->{uc $var}), with $sprefix -> $rprefix\n";
)
I'm not perl-errific enough to want to get into MakeMaker deeply enough
to try to fix this, especially since it seems more or less fundamentally
broken. Perhaps someone with more spare time and/or more perl energy
can =)
Bill
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909050140.SAA04179>
