Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
07-29-2004, 04:41 PM
|
#1
|
LQ Newbie
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5
Rep:
|
Can't run F-Prot with Crontab
I installed F-Prot on my file/print server running Slackware 10. When I try to run update.pl I get an error from CPAN telling me to install HTTP Request. I can run the scan from CLI no problem there, but when I try to run update.pI from my crontab or the CLI I still get the same error. I run CPAN and re-install all module, still get the same error. I re-install Perl and I still get the same error.
Any idea has to what I am doing wrong, Am I missing a step? Any one knows if there is a problem between CPAN and Slack 10?
Thank You,
maxflex
Last edited by maxflex; 07-29-2004 at 08:02 PM.
|
|
|
07-30-2004, 04:26 AM
|
#2
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
try (as root ):
cpan
cpan > install Bundle::CPAN
...
cpan > install HTTP::Request
(press just enter in each case when it asks questions)
Last edited by Cedrik; 07-30-2004 at 04:30 AM.
|
|
|
07-30-2004, 08:54 AM
|
#3
|
LQ Newbie
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5
Original Poster
Rep:
|
Thanks Cedrik,
I ran CPAN once more so I could give the exact error here it is;
Failed 1/41 test scripts, 97.56% okey. 1/761 subtests failed, 99.87% okay.
make: *** [ test } Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned a bad status, won't install without force
I did try installing using force and I still get the same error
|
|
|
07-30-2004, 09:01 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
From F-Prot's page:
<quote>
4.3 F-Prot Antivirus Updater Requirements
The Updater script was written for perl 5.8 and is dependant on the following perl modules:
NET::FTP
IO::File
HTTP::Request
HTTP::Response
LWP::UserAgent
and one external program: 'unzip' (the directory of the unzip binary needs to be in the $PATH environment variable.)
To install the required modules, you can use the following from the CPAN shell:
To enter the CPAN shell:
perl -MCPAN -e shell
To install modules:
cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit
</quote>
EDIT: Forgot to include the url to fprot's help
http://www.f-prot.com/support/helpfi..._ws/index.html
Last edited by gbonvehi; 07-30-2004 at 09:05 AM.
|
|
|
07-30-2004, 03:49 PM
|
#5
|
LQ Newbie
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5
Original Poster
Rep:
|
Thanks gbonvehi,
But been there and done that already, I also been reading all doc about PEARL and CPAN for the last few days and still I am no further ahead. But I do appreciates all of your help.
Thanks
|
|
|
07-30-2004, 04:25 PM
|
#6
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep:
|
I never could get the automatic update working due to Perl/CPAN errors.
But it is easy to use wget to download the updates from F-Prot.
Do a shell script if desired.
|
|
|
07-31-2004, 08:26 AM
|
#7
|
LQ Newbie
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5
Original Poster
Rep:
|
Thanks 2damncommon,
I was really trying to found out if I was going something wrong but from your post, I can see that others had the same problem. I guess I will write the script to get it going. Thanks again for the info.
|
|
|
07-31-2004, 10:11 AM
|
#8
|
LQ Newbie
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5
Original Poster
Rep:
|
Just to let you know. I finally was able to get F-Prot check-updates.pl running. All I can say is that I was doing everything right just not often enough!!!! I had to run the following from the CPAN shell 5 times before it worked.
cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit
Now I can move on to the next project. But I would like to Thank all of you for your input, It did help me to stay focus on the problem.
Again Thanks.
|
|
|
All times are GMT -5. The time now is 05:17 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
|
|