Perl module installation

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1336
Joined: Sun Aug 17, 2008 5:05 am

Perl module installation

Post by cah »

I got an error when I wtried to install Imager::QRCode from source:

Code: Select all

# perl Makefile.PL
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /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 Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.
Not sure how to get install module in place, I found another way to install perl modules.

Code: Select all

# cpan -i Imager::QRCode
That worked.

It turned out install.pm can be installed the same way.

Code: Select all

cpan -i Module::Install
CAH, The Great
Post Reply