LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2010, 08:43 AM   #1
rohit.dhaval1
Member
 
Registered: Jul 2009
Posts: 44
Blog Entries: 2

Rep: Reputation: 0
Unable to install one of Perl modules


Hi,

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

Quote:

bash$ pwd
~/perl-modules/Net-SCP-Expect-0.16

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,

Quote:
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
 
Old 11-11-2010, 09:19 AM   #2
rn_
Member
 
Registered: Jun 2009
Location: Orlando, FL, USA
Distribution: Suse, Redhat
Posts: 127
Blog Entries: 1

Rep: Reputation: 25
I have a script on my blog which might help. Have a look.

HTH.
-RN.
 
Old 08-15-2012, 01:01 PM   #3
shoot2thrill
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
This thread is old but the solution is to install the missing perl packages noted from "perl Makefile.pl"
 
Old 08-16-2012, 04:41 PM   #4
rohit.dhaval1
Member
 
Registered: Jul 2009
Posts: 44

Original Poster
Blog Entries: 2

Rep: Reputation: 0
(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
wget http://search.cpan.org/CPAN/authors/...-1.5017.tar.gz
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
 
  


Reply

Tags
perl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl modules for bugzilla won't install nirwin Linux - Software 1 03-08-2007 12:14 PM
Install additional perl modules? [GOD]Anck Slackware 3 03-21-2005 08:26 AM
how to list/install perl modules lsimon4180 Linux - Software 1 10-02-2004 12:57 PM
error when trying to install perl modules jimi_j Linux - Software 3 07-19-2004 11:17 PM
Can't install Perl Modules/Bugzilla Delsphynx Linux - Software 0 07-17-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration