LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   perl modules (https://www.linuxquestions.org/questions/linux-newbie-8/perl-modules-291367/)

amer_58 02-17-2005 08:32 AM

perl modules
 
When I tried installing the following:

NET::FTP
IO::File
HTTP::Request
HTTP::Response
LWP::UserAgent

IT somehow need an ftp access, but I do have restrictions on my network, is there a way that i can install it withough having to access any ftp server.

thats what I get when trying installing it.
Code:


If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

Your ftp_proxy?
Your http_proxy? 
Your no_proxy?

After that it cant access any ftp:
Code:

You have no /root/.cpan/sources/MIRRORED.BY
  I'm trying to fetch one
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY

Thanks.

cliff76 02-17-2005 09:05 AM

I don't know anything about what you're installing but if it requires FTP access as a main part of its functionality and you have restrictions I'd question the usefulness of the app overall. My guess is that you have a proxy in place and that you don't necessarily know how to get over it. I'd suggest you 1st figure out the uid/pwd for clearing the proxy (if it authenticates) then try to set the variable in $CPAN::Config as the message says. Sorry I can't be of much more help with Perl but I do know how to clear proxies as that's an issue I deal with everyday.

amer_58 02-20-2005 04:20 AM

I dont understand what does this means!
Code:

I'd suggest you 1st figure out the uid/pwd for
clearing the proxy (if it authenticates)

Code:

then try to set the variable in $CPAN::Config
as the message says. Sorry I can't be of much more
help with Perl but I do know how to clear proxies as
that's an issue I deal with everyday.

Can you please show me how to do that?

Thanks for your time.

scuffell 02-20-2005 05:04 AM

What about installing the modules manually? Goto search.cpan.org and search for each module. Download the tarball, untar and run perl Makefile.PL && make && make install.

Hope this helps


All times are GMT -5. The time now is 07:51 AM.