When tests are run against the output of "make install" they fail because ^Writing is not present in $install_out. This happens on multiple tests, I singled out 30 because it's the first I think.
Listed at the bottom is more verbose output. My expectation is that because "make test" is testing the functionality of the module and at this stage not actually installing, that this should work, right? Plus it fails as root.
- This works on another similarly configured virtual machine.
- I've tried this as root, via CPAN, and in my $HOME.
- I've run it through "perl -d t/basic.t" but lack the skills to follow the variables, subroutine paths, and all the make macros. I set a breakpoint at 133: my $install_out = run("$make install") and then went looking around t/Big-Dummy. I ran "perl Makefile.PL", "make", and "make test" inside Big-Dummy and they pass. Running "make install" inside t/Big-Dummy attempts to install to /usr/local/bin but I don't think that's a valid manual test.
- Previous versions of ExtUtils-MakeMaker fail too on this machine.
- Test-Simple-0.86 passes all tests.
Admittedly, this is just for learning purposes but I'm stuck and would like to know why this is failing.
ExtUtils-MakeMaker-6.48
Perl v5.8.8
not ok 30
# Failed test in t/basic.t at line 136.
# 'make[1]: Entering directory `/home/gctaylor/temp/ExtUtils-MakeMaker-6.48/t/Big
+-Dummy/Liar'
# make[1]: Leaving directory `/home/gctaylor/temp/ExtUtils-MakeMaker-6.48/t/Big-Dummy/Liar'
# Manifying blib/man1/program.1p
# Manifying blib/man3/Big::Dummy.3pm
# Installing ../dummy-install/share/perl/5.8.8/Big/Liar.pm
# Installing ../dummy-install/share/perl/5.8.8/Big/Dummy.pm
# Installing ../dummy-install/man/man1/program.1p
# Installing ../dummy-install/man/man3/Big::Dummy.3pm
# Installing ../dummy-install/bin/program
# Appending installation info to ../dummy-install/lib/perl/5.8/perllocal.pod
# '
# doesn't match '(?m-xis:^Writing )'
main::(t/basic.t:138): ok( -r '../dummy-install', ' install dir created' );
Thank-you for your time and any advice.