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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-30-2004, 02:54 PM
|
#1
|
Member
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72
Rep:
|
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 
|
|
|
04-30-2004, 03:22 PM
|
#2
|
Member
Registered: Apr 2004
Location: Florida
Distribution: RedHat 9.0/Afterstep
Posts: 103
Rep:
|
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
|
|
|
04-30-2004, 06:23 PM
|
#3
|
Member
Registered: Feb 2004
Location: Atlanta, GA
Distribution: SuSE 9.3 Pro, Ubuntu Hoary, Vidalinux 1.1
Posts: 65
Rep:
|
As root, from a terminal type:
cpan HTTP::Request
It will find the module, resolve dependencies, and install the module.
Keith
|
|
|
04-30-2004, 06:37 PM
|
#4
|
Member
Registered: Apr 2004
Distribution: Debian
Posts: 80
Rep:
|
my preferred method for a little more interactivity is:
$ perl -MCPAN -e shell
$ install HTTP::Request
|
|
|
05-01-2004, 11:41 AM
|
#5
|
Member
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72
Original Poster
Rep:
|
strange, it says:
HTTP::Request is up to date
|
|
|
05-01-2004, 11:48 AM
|
#6
|
Member
Registered: Apr 2004
Distribution: Debian
Posts: 80
Rep:
|
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
|
|
|
05-01-2004, 01:06 PM
|
#7
|
Member
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72
Original Poster
Rep:
|
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.
|
|
|
11-03-2004, 11:55 PM
|
#8
|
LQ Newbie
Registered: Sep 2004
Location: South Lake Simcoe, Ontario
Distribution: Mandrake 10
Posts: 2
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|