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 04-30-2004, 02:54 PM   #1
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Rep: Reputation: 15
F-Prot update crashes, PERL module not found?


When I try to use f-prot's update function I get this:

Error: Unable to include perl module: 'HTTP::Request'.
Please install this module and try re-running this script.
(Hint: man CPAN)

Fatal error. Exiting...



as far as I know my PERL modules are installed for Slackware
 
Old 04-30-2004, 03:22 PM   #2
grcunningham
Member
 
Registered: Apr 2004
Location: Florida
Distribution: RedHat 9.0/Afterstep
Posts: 103

Rep: Reputation: 15
apps that you download frequently use perl modules
that arent included in your distribution install.
www.cpan.org is a repository for many many modules
that apps use. go there,click on the MODULES button,
and read the instructions
 
Old 04-30-2004, 06:23 PM   #3
kastorff
Member
 
Registered: Feb 2004
Location: Atlanta, GA
Distribution: SuSE 9.3 Pro, Ubuntu Hoary, Vidalinux 1.1
Posts: 65

Rep: Reputation: 15
As root, from a terminal type:

cpan HTTP::Request

It will find the module, resolve dependencies, and install the module.

Keith
 
Old 04-30-2004, 06:37 PM   #4
Matt Collier
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 80

Rep: Reputation: 15
my preferred method for a little more interactivity is:

$ perl -MCPAN -e shell

$ install HTTP::Request
 
Old 05-01-2004, 11:41 AM   #5
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Original Poster
Rep: Reputation: 15
strange, it says:

HTTP::Request is up to date
 
Old 05-01-2004, 11:48 AM   #6
Matt Collier
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 80

Rep: Reputation: 15
then HTTP::Request isn't in Perl's @INC array
find where it is, and include it with
unshift @INC, '/path/to/HTTP'

it'll also be worth investigating to find out why it's in a weird dir, or why @INC isn't set correctly
 
Old 05-01-2004, 01:06 PM   #7
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Original Poster
Rep: Reputation: 15
Now this is even stranger... I can't find any instance of HTTP::Request on my computer except the manual entries

jeff@slackware:~$ locate HTTP::Request
/usr/man/man3/HTTP::Request::Common.3
/usr/man/man3/HTTP::Request.3

Last edited by Spasmolytic; 05-01-2004 at 01:07 PM.
 
Old 11-03-2004, 11:55 PM   #8
etherdude
LQ Newbie
 
Registered: Sep 2004
Location: South Lake Simcoe, Ontario
Distribution: Mandrake 10
Posts: 2

Rep: Reputation: 0
Well even though Matt's instructions didn't help Spasmolytic, they were exactly what the doctor ordered for my install of F-Prot. Please note the instructions for the CPAN module installs on the f-prot web page:

cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit

I had some difficulty with the LWP install and had to use force install because of some test failures, but the parts that were failing had nothing to do with the actual part needed to allow virus definition upgrades. Once the above modules were installed, I could upgrade the virus definitions without any problems.
 
  


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
f-prot update problems thesnaggle Linux - Software 1 06-18-2007 09:27 AM
Installing f-prot, problem with perl Lier Linux - Software 1 03-31-2005 12:31 PM
F-prot Cant update file. amer_58 Linux - Newbie 3 02-20-2005 04:23 AM
f-prot update drake_101 Linux - Newbie 2 04-02-2004 01:47 AM
ATI AIW 8500DV, crashes with 'no screens found' when using radeon module. metagore Linux - Hardware 14 03-17-2004 01:22 PM

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

All times are GMT -5. The time now is 03:57 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