CC: | Perl 5 Porters <perl5-porters [...] perl.org>, Michael Schwern <schwern [...] pobox.com>, bug-extutils-makemaker [...] rt.cpan.org |
Subject: | ExtUtils::MakeMaker Bug with -Duserelocatableinc |
Date: | Sat, 25 Jul 2009 17:11:57 -0700 |
To: | Craig A. Berry <craig.a.berry [...] gmail.com> |
From: | "David E. Wheeler" <david [...] kineticode.com> |
On Jul 25, 2009, at 5:00 PM, Craig A. Berry wrote:
Show quoted text
> and I believe that file is part of ExtUtils::MakeMaker, not
> ExtUtils::Install [1]. Please make sure the problem been reported to
> the CPAN RT queue for MakeMaker.
Oh, right, duh. Cc'd to RT.
Schwern, on Mac OS X 10.5.7, I did this:
git pull
git checkout maint-5.10
sh Configure -Ode \
-DDEBUGGING \
-Dprefix=/usr/local/perl/blead \
-Dusedevel -Duseithreads \
-Dccflags='-I/usr/local/include' \
-Dldflags='-L/usr/local/lib' \
-Dlibpth='/usr/local/lib /usr/lib' \
-Duserelocatableinc \
-Uversiononly \
-Uinstallusrbinperl $@
make
make test
The failures I got were:
lib/ExtUtils/t/Installed......................................#
Failed test '... should find doc file under given dir'
# at ../lib/ExtUtils/t/Installed.t line 231.
# got: '0'
# expected: '1'
FAILED at test 46
lib/ExtUtils/t/Install........................................ok
lib/ExtUtils/t/INST_PREFIX....................................#
Failed test '$(SITEPREFIX) + sitearch'
# at ../lib/ExtUtils/t/INST_PREFIX.t line 142.
# './../lib/site_perl/5.10.1/darwin-thread-
multi-2level'
# doesn't match '(?-xism:^\$\(SITEPREFIX\))'
FAILED at test 19
I believe that Yves fixed the ExtUtils::Installed bug with a patch I
submitted to him, but I wasn't sure where to start with the EU::MM
bug. I assume, however, that it's related to building on a case-
insensitive file system with -Duserelocatableinc, and it may well
happen only in core.
Best,
David