Hi Sluggers:
I hope queries on Solaris is ok on the list. I am trying to setup CPAN on
a Sun Sparc Solaris version 8. I am getting problems connecting to
download any files after I specify the configurations. Here is the CPAN
dump.
Note: To connect to http, ftp I use a proxy server. I specified it here
with format <ipaddress>:port number . Anyway please have a look, and let
me know why I cannot connect at all.
I've also tried wget for ftp, http to get files from the same server, and
this as well won't work. Output is below after CPAN.
Thanks in advance.
++++++++++++++++++
# perl -MCPAN -e shell
We have to reconfigure CPAN.pm due to following uninitialized parameters:
urllist
/usr/perl5/5.00503/CPAN/Config.pm initialized.
CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.
If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)
Are you ready for manual configuration? [yes]
The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide directory or a personal directory.
I see you already have a directory
/u01/app/oracle/.cpan
Shall we use it as the general CPAN build and cache directory?
CPAN build and cache directory? [/u01/app/oracle/.cpan] /export/home/.cpan
If you want, I can keep the source files after a build in the cpan
home directory. If you choose so then future builds will take the
files from there. If you don't want to keep them, answer 0 to the
next question.
How big should the disk cache be for keeping the build directories
with all the intermediate files?
Cache size for build directory (in MB)? [10]
By default, each time the CPAN module is started, cache scanning
is performed to keep the cache size in sync. To prevent from this,
disable the cache scanning with 'never'.
Perform cache scanning (atstart or never)? [atstart]
The CPAN module can detect when a module that which you are trying to
build depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.
Policy on building prerequisites (follow, ask or ignore)? [follow]
The CPAN module will need a few external programs to work
properly. Please correct me, if I guess the wrong path for a program.
Don't panic if you do not have some of them, just press ENTER for
those.
Where is your gzip program? [/usr/bin/gzip]
Where is your tar program? [/usr/sbin/tar]
Where is your unzip program? [/usr/bin/unzip]
Where is your make program? [/usr/local/bin/make]
Where is your lynx program? [/usr/local/bin/lynx]
Warning: ncftpget not found in PATH
Where is your ncftpget program? []
Warning: ncftp not found in PATH
Where is your ncftp program? []
Where is your ftp program? [/usr/bin/ftp]
What is your favorite pager program? [/usr/bin/less]
What is your favorite shell? [/bin/bash]
Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in processes. If you have any parameters
(e.g. PREFIX, INSTALLPRIVLIB, UNINST or the like) you want to pass to
the calls, please specify them here.
If you don't understand this question, just press ENTER.
Parameters for the 'perl Makefile.PL' command? []
Parameters for the 'make' command? []
Parameters for the 'make install' command? []
Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. As sometimes the Makefile.PL contains
question you're expected to answer, you can set a timer that will
kill a 'perl Makefile.PL' process after the specified time in seconds.
If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.
Timeout for inactivity during Makefile.PL? [0]
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? 152.76.224.188:3128
Your http_proxy? 152.76.224.188:3128
Your no_proxy?
You have no /export/home/.cpan/sources/MIRRORED.BY
I'm trying to fetch one
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY'
Alert!: Unable to access document.
lynx: Can't access startfile
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz'
Alert!: Unable to access document.
lynx: Can't access startfile
Issuing "/usr/bin/ftp -n"
Lost connection
Not connected.
Local directory now /export/home/.cpan/sources
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.
Please check, if the URLs I found in your configuration file () are valid.
The urllist can be edited. E.g. with ``o conf urllist push ftp://myurl/''
Cannot fetch MIRRORED.BY
Couldn't open : No such file or directory at
/usr/perl5/5.00503/CPAN/FirstTime.pm line 417, <STDIN> chunk 22.
# wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
--10:25:27-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
=> `MIRRORED.BY'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[24.244.193.21]:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.
--10:25:28-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
(try: 2) => `MIRRORED.BY'
Connecting to ftp.perl.org[24.244.193.21]:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.
--10:25:30-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
(try: 3) => `MIRRORED.BY'
Connecting to ftp.perl.org[24.244.193.21]:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.
--10:25:33-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
(try: 4) => `MIRRORED.BY'
Connecting to ftp.perl.org[24.244.193.21]:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.
--
I'm always learning something new everyday. Thanks Sluggers.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html