Re: Bizarre: MakeMaker won't install itself

2002-04-22 Thread Ken Williams


On Monday, April 22, 2002, at 02:47 PM, Michael G Schwern wrote:
 record type=brokenCan I see your Makefile?/record

 From what you say on IRC it sounds like you don't need it after 
all, but for thread completion here's a relevant excerpt:

=
# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = ExtUtils::MakeMaker
DISTNAME = ExtUtils-MakeMaker
NAME_SYM = ExtUtils_MakeMaker
VERSION = 5.90_01
VERSION_SYM = 5_90_01
XS_VERSION = 5.90_01
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
INST_BIN = blib/bin
INST_LIB = blib/lib
INSTALLDIRS = perl
PREFIX = /usr
SITEPREFIX = /usr/local
VENDORPREFIX = /usr/local
INSTALLPRIVLIB = $(PREFIX)/lib/perl5
INSTALLSITELIB = $(SITEPREFIX)/lib/perl5/site_perl
INSTALLVENDORLIB = $(VENDORPREFIX)/lib/perl5
INSTALLARCHLIB = $(PREFIX)/lib/perl5/5.6.1/darwin
INSTALLSITEARCH = $(SITEPREFIX)/lib/perl5/site_perl/5.6.1/darwin
INSTALLVENDORARCH = $(VENDORPREFIX)/lib/perl5/5.6.1/darwin
INSTALLBIN = $(PREFIX)/bin
INSTALLSITEBIN = $(SITEPREFIX)/bin
INSTALLVENDORBIN = $(VENDORPREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /System/Library/Perl
PERL_ARCHLIB = /System/Library/Perl/darwin
SITELIBEXP = /Library/Perl
SITEARCHEXP = /Library/Perl/darwin
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /System/Library/Perl/darwin/CORE
PERL = /usr/bin/perl
=

  -Ken




Re: Bizarre: MakeMaker won't install itself

2002-04-21 Thread Michael G Schwern

On Sun, Apr 21, 2002 at 10:07:04PM +1000, Ken Williams wrote:
 On Sunday, April 21, 2002, at 08:54 PM, Ken Williams wrote:
 It didn't actually install any Perl modules!  It didn't even try, 
 either - note that it doesn't say it's skipping them either.  My 
 blib/ tree is built correctly, but blib/lib just isn't getting put 
 anywhere.
 
 I've done a little more investigating by running 'make install 
 VERBINST=1'.  Doing this, I notice lines like the following:
 
 =
 snip...
 Skipping /usr/lib/perl5/ExtUtils/Command.pm (unchanged)
 Skipping /usr/lib/perl5/ExtUtils/Install.pm (unchanged)
 Skipping /usr/lib/perl5/ExtUtils/Installed.pm (unchanged)
 snip...
 =
 
 WHOA, /usr/lib/perl5/ ???  Where is that getting set?  It's not in my 
 @INC, and right now the only thing contained in /usr/lib/perl5/ is the 
 stuff that it seems to have (successfully) installed several attempts 
 ago.

 I'm on OS X 10.1.3, with the following potentially relevant bits in 
 Config.pm:
 
 ==
 installsitearch='/Library/Perl/darwin'
 installsitelib='/Library/Perl'
 privlib='/System/Library/Perl'
 sitearch='/Library/Perl/darwin'
 sitearchexp='/Library/Perl/darwin'
 sitelib='/Library/Perl'
 sitelib_stem='/Library/Perl'
 sitelibexp='/Library/Perl'
 prefix='/usr'
 installbin='/usr/bin'
 installman1dir='/usr/share/man/man1'
 installman3dir='/usr/share/man/man3'
 installprefix='/usr'
 installprefixexp='/usr'
 installscript='/usr/bin'
 installsitebin='/usr/local/bin'
 ==
 
 I'm guessing that this has something to do with the new PREFIX logic?  
 Seems like it's respecting PREFIX ($Config{prefix}) a bit too much now.

record type=brokenCan I see your Makefile?/record

I think you're right.  It's trying to prefixify regardless of if you
gave it a new PREFIX.  This means make install PREFIX=something will work,
but it causes the problem above.

Welp, it's gotta work.  Rather than having make install PREFIX=something
work sometimes, I'm going to scratch it out completely.


-- 

Michael G. Schwern   [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance  [EMAIL PROTECTED] Kwalitee Is Job One
36 haikus
would scare the shit out of me.
Thank goodness for paste!
-- Schwern