From owner-freebsd-bugs Sat Sep 4 18:40:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 18BE4158FA for ; Sat, 4 Sep 1999 18:40:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA04179; Sat, 4 Sep 1999 18:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Sep 1999 18:40:02 -0700 (PDT) Message-Id: <199909050140.SAA04179@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fenner Subject: Re: misc/13575: perl Makefile.PL LIB=~/lib;make install fails Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/13575; it has been noted by GNATS. From: Bill Fenner 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