Re: [Module::Build] win32 install problem
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <ke...@ma...> - 2006-05-18 19:23:22
|
On May 16, 2006, at 11:12 PM, Randy W. Sims wrote: > Ben Lavender wrote: >> The supplied patch gets me to perl Build test, which fails at this >> point: >> t\runthrough......ok 13/28Use of uninitialized value in pattern >> match (m//) at c >> :/work/Perl/lib/File/Spec/Win32.pm line 72. >> Use of uninitialized value in pattern match (m//) at c:/work/Perl/ >> lib/File/Spec/ >> Win32.pm line 72. >> Use of uninitialized value in pattern match (m//) at c:/work/Perl/ >> lib/File/Spec/ >> Win32.pm line 140. >> t\runthrough......ok 19/28 >> t\runthrough......NOK 20# Failed test in t\runthrough.t at line >> 151. >> # got: 'Can't locate object method "create_archive" via >> package "Archiv >> e::Tar" (perhaps you forgot to load "Archive::Tar"?) at C:\work >> \mbtest\Module-Bu >> ild-0.28\blib\lib/Module/Build/Base.pm line 3436. >> # ' >> # expected: '' >> t\runthrough......ok 28/28# Looks like you failed 1 test of 28. > > The patch works because it throws away the volume part, but the > volume shouldn't be there at all. Yeah, it shouldn't, but there it is. =) Older versions of File::Spec include it, and even though it's not strictly incorrect to have a drive letter on a relative path, if we don't jump through the byzantine File::Spec hoops correctly we'll screw things up. Newer versions of File::Spec don't include the drive letter in this situation - there are some regression tests in File::Spec now to ensure that. -Ken |