You are not logged in.

#1 2011-09-23 08:04:13

kaprikawn
Member
Registered: 2011-09-23
Posts: 25

Perl module not working/installed properly

I have a perl script that worked fine on Ubuntu.  I've now replaced Ubuntu with Arch and installed the perl modules I need to run this script and one of them doesn't seem to be working properly, I think I had a hiccup during installation of this particular module.  Can someone point me in the right direction as to how to fix this please.

This is the output of my script falling over:

[me@arch ~]$ perl -e 'use MP4::Info;'
Can't locate IO/String.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

The 'MP4::Info' module "appears" to be installed ok though, as shown thusly:

[me@arch ~]$ cpan
Terminal does not support AddHistory.

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

cpan[1]> install MP4:Info
Going to read '/home/wayne/.cpan/Metadata'
  Database was generated on Fri, 23 Sep 2011 01:50:05 GMT
MP4::Info is up to date (1.13).

cpan[2]> 

Any help greatly appreciated, thanks in advance.

Offline

#2 2011-09-24 12:54:58

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Perl module not working/installed properly

For some reason IO::String was not installed. Try installing it from the cpan shell.

Offline

Board footer

Powered by FluxBB