LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-30-2005, 10:22 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
HTTP::Request and CPAN support


I have tried installing HTTP::Request and I think i have missed up my CPAN ...... Not sure what to do now, do I have to reinstall the CPAN again...

This is what I get:
Code:
root@Admin:~# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

cpan>
Any support will be appreciated.
I have also tried to download my HTTP::Request from here:
http://search.cpan.org/search?mode=m...P%3A%3ARequest

i Have installed it but it wont work yet, what I mean it work is when I install f-prot it would still say
Code:
File permissions: /usr/local/f-prot/f-prot rwxr-x-r-x   OK.
File permissions: /usr/local/f-prot/tools/check-updates.pl rwx------    OK.
Checking for new virus signatures:
Error: Unable to include perl module: 'HTTP::Request'.
Please install this module and try re-running this script.
(Hint: man CPAN)
the thing is that i cant run the update online ... i cant use ftp proxy... so I need to download the file manually and install it my sefl.

thanks.
 
Old 03-30-2005, 11:34 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
cpan> install HTTP::Request

and it will install itself...

after this you should be able to do

/usr/local/f-prot/tools/checkupdates.pl
 
Old 03-30-2005, 11:46 AM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
As I said I cant, I am restricted, I need to do everything manually.

Code:
cpan>  install HTTP::Request
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.6/CPAN.pm line 716, <FIN> line 2.
DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl) at /usr/lib/perl5/5.8.6/CPAN.pm line 704, <FIN> line 2.
]ret[] at /usr/lib/perl5/5.8.6/CPAN.pm line 716, <FIN> line 2.
LWP not available
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
then I will get
could not connect to ftp.perl.org -- try again later: Connection timed out.
Could not connect to ftp.perl.org -- try again later: Connection timed out.

Last edited by amer_58; 03-30-2005 at 11:49 AM.
 
  


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
Printing out http request in php abrb220 Programming 1 11-19-2005 02:23 AM
http request mkamyar Linux - Software 5 08-30-2005 02:30 AM
Authentication In A Http Request With Kerberos Ephraim Programming 0 08-03-2004 04:13 AM
HTTP request parsing: POST mofofish Programming 3 12-05-2003 10:11 AM
viewing outcoming HTTP request?... BCE_HAMAHA Linux - Newbie 1 12-15-2002 12:02 AM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration