Subject: | Fails to notice that IO::Scalar is not installed |
When making Config::IniHash, it originally told me that all the
prerequisites were satisfied, but failed on make test:
Running make for J/JE/JENDA/Config-IniHash-2.8.tar.gz
Is already unwrapped into directory /root/.cpan/build/Config-IniHash-2.8
CPAN.pm: Going to build J/JE/JENDA/Config-IniHash-2.8.tar.gz
cp IniHash.pm blib/lib/Config/IniHash.pm
Manifying blib/man3/Config::IniHash.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..4
not ok 1 - use Config::IniHash;
# Failed test 'use Config::IniHash;'
# in test.pl at line 9.
# Tried to use 'Config::IniHash'.
# Error: Can't locate IO/Scalar.pm in @INC (@INC contains: blib/lib
blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /
usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_per l .) at
blib/lib/Config/IniHash.pm line 6.
# BEGIN failed--compilation aborted at test.pl line 9.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Undefined subroutine &main::WriteINI called at test.pl line 23.
# Looks like you planned 4 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
I installed IO::Scalar manually, and make succeeded.