Off topic:why did I failed to install perl module
0
0
Entering edit mode
8.2 years ago
liuhui ▴ 20

Dear all,

I want to install a perl module on my ubuntu 12.04, but I failed to install it. Could anyone please tell to why and how to solve this problem?

More this please see the following lines. Thank you very much.

root@pine:/home/liuhui# perl -MCPAN -e shell
Terminal does not support AddHistory.

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

cpan[1]> install Dist::CheckConflicts
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 01 Apr 2015 11:53:22 GMT
Running install for module 'Dist::CheckConflicts'
Running make for D/DO/DOY/Dist-CheckConflicts-0.11.tar.gz
Checksum for /root/.cpan/sources/authors/id/D/DO/DOY/Dist-CheckConflicts-0.11.tar.gz ok
Scanning cache /root/.cpan/build for sizes
...........................................................................-DONE
DEL(1/2): /root/.cpan/build/Tk-804.033-UJJOfa
DEL(2/2): /root/.cpan/build/Tk-804.033-UJJOfa.yml

  CPAN.pm: Going to build D/DO/DOY/Dist-CheckConflicts-0.11.tar.gz

Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Dist::CheckConflicts
Writing MYMETA.yml and MYMETA.json
cp lib/Dist/CheckConflicts.pm blib/lib/Dist/CheckConflicts.pm
Manifying 1 pod document
  DOY/Dist-CheckConflicts-0.11.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .. ok
t/also.t ........ ok
t/basic.t ....... ok
t/conflicts.t ... ok
t/dist.t ........ ok
t/merge.t ....... ok
t/runtime.t ..... ok
t/warn.t ........ ok
All tests successful.
Files=8, Tests=40,  0 wallclock secs ( 0.05 usr  0.01 sys +  0.30 cusr  0.04 csys =  0.40 CPU)
Result: PASS
  DOY/Dist-CheckConflicts-0.11.tar.gz
  /usr/bin/make test -- OK
Running make install
Manifying 1 pod document
Appending installation info to /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod
  DOY/Dist-CheckConflicts-0.11.tar.gz
 ** /usr/bin/make install  -- OK**

cpan[2]> q
Terminal does not support GetHistory.
Lockfile removed.
root@pine:/home/liuhui# perl -e 'use Dist::CheckConflicts'
Can't locate Dist/CheckConflicts.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
perl-module • 3.1k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2471 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6