Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 480
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: abe [...] ztreet.demon.nl
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.90_01
Fixed in: (no value)

Attachments


Subject: MakeMaker installdirectories NOT OK for Win32
I'm trying to build an ActivePerl like install of bleadperl on Win32. Apart from the fact that two (for Win32) important extensions don't build (libwin32-0.18 and Compress::Zlib), the part of libwin32 that does build and tests OK isn't installed in the right place. This is what my Config.pm says: installarchlib='c:\opt\perl573\lib' installprivlib='c:\opt\perl573\lib' installbin='c:\opt\perl573\bin' installhtmldir='c:\opt\perl573\html' installhtmlhelpdir='c:\opt\perl573\htmlhelp' installman1dir='c:\opt\perl573\man\man1' installman3dir='c:\opt\perl573\man\man3' installprefix='c:\opt\perl573' installprefixexp='c:\opt\perl573' installscript='c:\opt\perl573\bin' installsitearch='c:\opt\perl573\site\lib' installsitebin='c:\opt\perl573\bin' installsitelib='c:\opt\perl573\site\lib' installstyle='lib' and this is what the makefile says: INST_BIN = blib\bin INST_LIB = blib\lib INST_ARCHLIB = blib\arch INST_SCRIPT = blib\script INSTALLDIRS = site PREFIX = c:\opt\perl573 SITEPREFIX = c:\opt\perl573\site VENDORPREFIX = c:\opt\perl573 INSTALLPRIVLIB = $(PREFIX)\lib\perl5 INSTALLSITELIB = $(SITEPREFIX)\lib\perl5\site_perl INSTALLVENDORLIB = $(VENDORPREFIX)\lib\perl5 INSTALLARCHLIB = $(PREFIX)\lib\perl5\5.7.3\MSWin32-x86-multi-thread INSTALLSITEARCH = $(SITEPREFIX)\lib\perl5\site_perl\5.7.3\MSWin32-x86-multi-thread INSTALLVENDORARCH = $(VENDORPREFIX)\lib\perl5\5.7.3\MSWin32-x86-multi-thread INSTALLBIN = $(PREFIX)\bin INSTALLSITEBIN = $(SITEPREFIX)\bin INSTALLVENDORBIN = $(VENDORPREFIX)\bin INSTALLSCRIPT = $(PREFIX)\bin PERL_LIB = c:\opt\perl573\lib PERL_ARCHLIB = c:\opt\perl573\lib SITELIBEXP = c:\opt\perl573\site\lib SITEARCHEXP = c:\opt\perl573\site\lib C:\usr\local\src\.cpan>perl -MV=ExtUtils::MakeMaker ExtUtils::MakeMaker C:\opt\perl573\lib\ExtUtils\MakeMaker.pm: 5.90_01
[guest - Sat Apr 13 07:26:48 2002]: Show quoted text
> installarchlib='c:\opt\perl573\lib' > installprivlib='c:\opt\perl573\lib' > installprefix='c:\opt\perl573' > installprefixexp='c:\opt\perl573' > installsitearch='c:\opt\perl573\site\lib' > installsitelib='c:\opt\perl573\site\lib'
Show quoted text
> PREFIX = c:\opt\perl573 > SITEPREFIX = c:\opt\perl573\site > INSTALLPRIVLIB = $(PREFIX)\lib\perl5 > INSTALLSITELIB = $(SITEPREFIX)\lib\perl5\site_perl > INSTALLARCHLIB = $(PREFIX)\lib\perl5\5.7.3\MSWin32-x86-multi-thread > INSTALLSITEARCH = $(SITEPREFIX)\lib\perl5\site_perl\5.7.3\MSWin32-x86- > multi-thread
For some reason it's not prefixifying these and you're getting the default layout. Could you run: "perl -w Makefile.PL verbose verbose" and show me the first two pages (ie. all the stuff about prefixing).
From: abe [...] ztreet.demon.nl
[MSCHWERN - Sat Apr 13 16:19:43 2002]: Show quoted text
> [guest - Sat Apr 13 07:26:48 2002]:
[ about makemakers dir struct ] Show quoted text
> For some reason it's not prefixifying these and you're
getting Show quoted text
> the default layout.
yup Show quoted text
> Could you run: "perl -w Makefile.PL
verbose verbose" and show Show quoted text
> me the first two pages (ie. all the stuff about
prefixing). I'v attatched the hole STDOUT/STDERR output. hth, Abe
Download makemake.out.gz
application/x-gzip 3.1k

Message body not shown because it is not plain text.

Latest snapshot on www.makemaker.org should fix this problem. Let me know.
Date: Fri, 19 Apr 2002 00:30:05 -0400
From: Michael G Schwern <schwern [...] pobox.com>
To: Guest via RT <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
Subject: Re: [cpan #480] MakeMaker installdirectories NOT OK for Win32
On Mon, Apr 15, 2002 at 01:45:55AM -0400, Guest via RT wrote: Show quoted text
> > For some reason it's not prefixifying these and you're
> getting
> > the default layout.
> > yup
Got it. prefixify() had a hard wired / in it. Fixed. Will be in 5.91_01. -- Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/ Perl Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One Now if you'll excuse me, I've got about a hundred hours of memories to erase!! -- http://www.angryflower.com/allrigh.gif
[abe@ztreet.demon.nl - Fri Apr 19 13:14:42 2002]: Show quoted text
> This looks good, although I'm not sure about the "vendor" stuff...
Most distributions won't have the *vendor* Config stuff set (though they should). Debian is about the only one currently using it. It's just giving you a default layout. So it looks right.