Re: [Module::Build] win32 install problem
Status: Beta
Brought to you by:
kwilliams
From: Randy W. S. <ml...@th...> - 2006-05-17 04:12:44
|
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. All paths at this point should be relative, which is why we could get away with a simple fileparse() > Archive::Tar isn't there because it's version .23 instead of 1.08 as > recommended/required. I tried installing that, but I managed to get > an entirely new and unrelated error, unrelated to this problem or this > mailing list (not my week!). I made sure to include those pattern > match errors because they get spewn out like carrots from a salad > shooter throughout all steps of the install and test process. It's > midnight for me and I'll try and bend Archive::Tar to my will tomorrow > and I'll make another run then. > > For the record, I get this message while installing: > * Archive::Tar (0.23) is installed, but we prefer to have 1.08 > I'm all for the softening of computer language to make it more user > friendly, but required is required and prefer is prefer :) Not sure why the test in t/runthrough.t didn't detect the missing prereq... SKIP: { skip( "not sure if we can create a tarball on this platform", 1 ) unless $mb->check_installed_status('Archive::Tar', 0) || $mb->isa('Module::Build::Platform::Unix'); ... } Unfortunately, I wont be able to look into this more until the weekend. I'll be out of town from tomorrow morning until Friday evening. Randy. |