[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Issue with installing modules in Debian Wheezy



Hi All,

I'm currently trying to set up one of my systems on Debian Wheezy and I'm
encountering a strange issue.  I'm wondering if it's something I'm doing, or
if it's a bug which I should log?


When using CPAN (or even manually building and installing) modules, Perl
can't find them.

For example I've tried using this:

CPAN install "IPC::Cache"

Which responds with: 
cpan[1]> install "IPC::Cache"
Reading '/root/.cpan/Metadata'
  Database was generated on Sun, 23 Sep 2012 15:55:05 GMT
IPC::Cache is up to date (0.02).


But when running the script, I still cannot locate IPC::Cache in the @INC:

root@svr-beta2:~# /etc/systest/init/sys.start.pm
Can't locate IPC/Cache.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 /etc/systest/init/sys.start.pm line 37.
BEGIN failed--compilation aborted at /etc/systest/init/sys.start.pm line 37.


Even running the install manually for the IPC::Cache package, it results in
the same.  It's as if it's not copying the files across on the 'make
install' command.

root@svr-beta2:/tmp# tar -xvf IPC-Cache-0.02.tar.gz
IPC-Cache-0.02/
IPC-Cache-0.02/TODO
IPC-Cache-0.02/MANIFEST
IPC-Cache-0.02/test/
IPC-Cache-0.02/test/test_get.pl
IPC-Cache-0.02/Makefile.PL
IPC-Cache-0.02/CHANGES
IPC-Cache-0.02/COPYING
IPC-Cache-0.02/test.pl
IPC-Cache-0.02/DISCLAIMER
IPC-Cache-0.02/CREDITS
IPC-Cache-0.02/README
IPC-Cache-0.02/Cache.pm
root@svr-beta2:/tmp# cd IPC-Cache-0.02
root@svr-beta2:/tmp/IPC-Cache-0.02# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for IPC::Cache
Writing MYMETA.yml
root@svr-beta2:/tmp/IPC-Cache-0.02# make
cp Cache.pm blib/lib/IPC/Cache.pm
Manifying blib/man3/IPC::Cache.3pm
root@svr-beta2:/tmp/IPC-Cache-0.02# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..16
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
root@svr-beta2:/tmp/IPC-Cache-0.02# make install
Appending installation info to
/root/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int/perllocal.pod
root@svr-beta2:/tmp/IPC-Cache-0.02#


Any advice would be welcome.
Cheers.
Steve.



Reply to: