-   Linux - Software (
-   -   Unable to install one of Perl modules (

rohit.dhaval1 11-11-2010 08:43 AM

Unable to install one of Perl modules

I am unable to install one of perl modules. Please guide me how to install perl modules resolving dependencies. How to verify installed module. I am a newbie, all relevant information will be appreciated. Thank you


bash$ pwd

bash$ sudo perl Makefile.PL
Warning: prerequisite Expect 1.14 not found.
Warning: prerequisite Net::IPv6Addr 0.2 not found.
Warning: prerequisite Term::ReadPassword 0.01 not found.
Writing Makefile for Net::SCP::Expect

Below is the method I am using,


To manually install a Perl module:

1. Download the Perl module from CPAN or other site.
2. Extract the tarball.
3. Run perl Makefile.PL
4. Run make
5. Run make test
6. Run make install

rn_ 11-11-2010 09:19 AM

I have a script on my blog which might help. Have a look.


shoot2thrill 08-15-2012 01:01 PM

This thread is old but the solution is to install the missing perl packages noted from "perl"

rohit.dhaval1 08-16-2012 04:41 PM

(This is for people like me who come seeking help)

Please follow any of the 4 methods according to your convenience

>>>> If you have the list of modules with you then, (you have to install cpanm first)
- Installing cpanm
tar zxvf App-cpanminus-1.5017.tar.gz
cd App-cpanminus-1.5017
/bin/perl Makefile.PL
make ; make install

-- Installing the modules later

/bin/cpanm --scandeps <space separated moudle list>
/bin/cpanm -v --installdeps <space separated moudle list>
/bin/cpanm -v <space separated moudle list>

>>> If you already have a Bundle file created from machine which has all required modules installed

/bin/perl -MCPAN -e 'install Bundle::Snapshot_2011_07_25_00'

>>> Modules can be installed from cpan shell as well

/bin/perl -MCPAN -e shell
> install <module name>

>>> Lastly, go for manual installing all dependent modules

All times are GMT -5. The time now is 10:30 PM.