Subject: | Tests fails on Red Hat 9 |
I'm using Red Hat 9, and have tried installing Module::Build with both the CPAN shell, and manually. The tests fail. Here's what I get using the CPAN shell:
t/xs............NOK 4# Test 4 got: 'error building lib/XSTest.o from
'lib/XSTest.so' at /root/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797, <File0000> line 14.
' (t/xs.t at line 33)
# Expected: ''
# t/xs.t line 33 is: ok $@, '';
t/xs............ok 6/11Can't exec "gcc'": No such file or directory at
/root/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm line
1917, <File0000> line 14.
error building lib/XSTest.o from 'lib/XSTest.so' at
/root/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm line
1797, <File0000> line 14.
t/xs............NOK 8# Test 8 got: 'error building lib/XSTest.o from
'lib/XSTest.so' at /root/.cpan/build/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797, <File0000> line 14.
' (t/xs.t at line 50)
# Expected: ''
# t/xs.t line 50 is: ok $@, '';
t/xs............FAILED tests 4, 8
Failed 2/11 tests, 81.82% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/xs.t 11 2 18.18% 4 8
1 test skipped.
Failed 1/10 test scripts, 90.00% okay. 2/127 subtests failed, 98.43%
okay.
make: *** [test] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force