Hi,

I got below error while installing Devel::Trace module to trace each line
of script like sh -x.

[root@ahc151l backup]# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.

cpan[1]> install Devel::Trace
Reading '/root/.cpan/Metadata'
  Database was generated on Sun, 13 Jul 2014 23:06:14 GMT
Running install for module 'Devel::Trace'
Running make for M/MJ/MJD/Devel-Trace-0.12.tar.gz
Checksum for
/root/.cpan/sources/authors/id/M/MJ/MJD/Devel-Trace-0.12.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Building M/MJ/MJD/Devel-Trace-0.12.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Trace
Could not read metadata file. Falling back to other methods to determine
prerequisites
cp Trace.pm blib/lib/Devel/Trace.pm
cp demo.pl blib/lib/Devel/demo.pl
Manifying blib/man3/Devel::Trace.3pm
  MJD/Devel-Trace-0.12.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/compile.t .. Can't locate Test/More.pm in @INC (@INC contains:
/root/.cpan/build/Devel-Trace-0.12-0NPl4l/blib/lib
/root/.cpan/build/Devel-Trace-0.12-0NPl4l/blib/arch /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
t/compile.t line 2.
BEGIN failed--compilation aborted at t/compile.t line 2.
t/compile.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/compile.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.02 usr +  0.01 sys =  0.03 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
  MJD/Devel-Trace-0.12.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MJD/Devel-Trace-0.12.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 MJD/Devel-Trace-0.12.tar.gz                  : make_test NO

cpan[2]>


what could be wrong ?

Regards
Ben

Reply via email to