LinuxQuestions.org
Visit Jeremy's Blog.
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 05-26-2006, 09:31 AM   #1
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
Perl Modules and nzbperl


Hi, I am trying to install nzbperl, http://noisybox.net/computers/nzbperl/ on my desktop running Slackware 10.2. It says it requires perl modules, and lists them: http://noisybox.net/computers/nzbperl/#requirements

I use their example but change the name each time, but some will not download. I have never used perl, nor do I have any idea about what I am doing. My friend uses Debian and used apt-get to get this program, so he can't help me.

Anyone know what I am doing wrong?
 
Old 05-27-2006, 04:28 AM   #2
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
I guess you'll have to describe exactly how you try to install a Perl module and which errors you get. Give an example.
 
Old 05-27-2006, 04:57 AM   #3
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Thanks for replying!

I tried to install them all using this command: perl -MCPAN -e "install XML:OM"
Replacing XML:OM with the names of the mmodules listed on that site. The ones that did not work are as follows:
File::Basename
Term::ReadKey
Term::Cap
Cwd

I get the same error occur with each of those modules. The "name" changes with each one, of course. The rest of the modules installed without a hitch.
root@whoracle:/# perl -MCPAN -e "install File::Basename"
Can't locate object method "install" via package "File::Basename" at -e line 1.
 
Old 05-27-2006, 05:18 AM   #4
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
Seems to me like the module is installed already. In any case, you can try "perl -MCPAN -e shell", which will open the CPAN shell. There "i File::Basename" will tell you if the module is installed, and "install File::Basename" should work.
 
Old 05-27-2006, 09:16 AM   #5
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Thanks heaps. I did that, and some were installed, and others weren't. I just ran through them all using the i <module name> in the shell and found what was wrong. Now all I need to do is figure out how to get the actual program running. Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 - GD Modules eluzi Programming 1 03-30-2006 02:48 PM
um.... perl modules? ruwach Programming 2 02-27-2005 10:15 AM
perl modules amer_58 Linux - Newbie 3 02-20-2005 05:04 AM
perl modules kidwired Linux - Software 6 01-02-2003 03:24 PM
Perl Modules ostony Linux - General 0 04-19-2001 10:41 AM

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

All times are GMT -5. The time now is 01:18 PM.

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