LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HTTP::Request and CPAN support (https://www.linuxquestions.org/questions/linux-newbie-8/http-request-and-cpan-support-307806/)

amer_58 03-30-2005 10:22 AM

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.

tuxrules 03-30-2005 11:34 AM

cpan> install HTTP::Request

and it will install itself...

after this you should be able to do

/usr/local/f-prot/tools/checkupdates.pl

amer_58 03-30-2005 11:46 AM

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.


All times are GMT -5. The time now is 03:43 PM.