From owner-freebsd-bugs Sat Sep 4 18:20:20 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 EBA0015051 for ; Sat, 4 Sep 1999 18:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA03245; Sat, 4 Sep 1999 18:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Sep 1999 18:20:01 -0700 (PDT) Message-Id: <199909050120.SAA03245@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:12:53 -0700 I created the following Makefile.PL: use ExtUtils::MakeMaker; WriteMakefile( NAME => "Foo::Bar" ); and created a Bar.pm with a little bit of pod, and ran "perl Makefile.PL LIB=/tmp" to create a Makefile. I found some interesting things: - Perl on 3.2-STABLE creates Makefiles with "OSVERS = 4.0-current" and ccsymbols including __FreeBSD__=4 and __FreeBSD_cc_version=400002. - The machine-specific identifier in path names is sometimes "mach" and sometimes "i386-freebsd", where on other systems it is consistent. And, in fact, I think I found the bug. My hypothesis is that the difference between the two machines is not that one is OpenBSD and one is FreeBSD; rather, the one on which installation works already has some perl modules installed in /usr/local/lib/perl5 and the one on which it doesn't doesn't. When I did a "make install", everything worked fine until I moved /usr/local/lib/perl5 out of the way. fenestro# mv perl5 perl5.not fenestro# suspend Suspended fenestro% make install mkdir /usr/local/lib/perl5: Permission denied at /usr/libdata/perl/5.00503/ExtUtils/Install.pm line 57 *** Error code 2 su fenestro# mv perl5.not perl5 fenestro# suspend Suspended fenestro% make install Warning: You do not have permissions to install into /usr/local/lib/perl5/5.00503/man/man3 at /usr/libdata/perl/5.00503/ExtUtils/Install.pm line 61. Skipping /tmp/i386-freebsd/auto/Storable/Storable.so (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/Storable.bs (unchanged) Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree! Skipping /tmp/i386-freebsd/auto/Storable/store.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/nstore.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/_store.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/store_fd.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/nstore_fd.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/_store_fd.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/freeze.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/nfreeze.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/_freeze.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/retrieve.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/retrieve_fd.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/thaw.al (unchanged) Skipping /tmp/i386-freebsd/auto/Storable/autosplit.ix (unchanged) Skipping /tmp/i386-freebsd/Storable.pm (unchanged) Installing /usr/local/lib/perl5/5.00503/man/man3/Storable.3 Writing /tmp/i386-freebsd/auto/Storable/.packlist Appending installation info to /tmp/i386-freebsd/perllocal.pod fenestro% This appears to be a bug in ExtUtils::Install, and so should be reported to the Perl folks, not the FreeBSD folks. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message