develooper Front page | perl.perl5.porters | Postings from July 2009

ExtUtils::MakeMaker Bug with -Duserelocatableinc

Thread Previous | Thread Next
From:
David E. Wheeler
Date:
July 25, 2009 17:12
Subject:
ExtUtils::MakeMaker Bug with -Duserelocatableinc
Message ID:
63CAA9DD-2438-4EE2-813E-0F817757D31B@kineticode.com
On Jul 25, 2009, at 5:00 PM, Craig A. Berry wrote:

> 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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About