Hi,

Please find the attached log. 
Please please suggest. Now it is asking to enter the CPAN site.

Regards
Irfan.


-----Original Message-----
From: Dr.Ruud [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 19, 2008 2:03 PM
To: beginners@perl.org
Subject: Re: Execute the Linux command on remote machine

"Irfan J Sayed (isayed)" schreef:

> I have downloaded the Math::Pari module and was trying to install but 
> stuck

Let's go back to the start. 

1. Show us the output of `perl -V`. 
2. Run perl -MCPAN -e 'install Math::Pari'.

--
Affijn, Ruud

"Gewoon is een tijger."

--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/


{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 [EMAIL 
PROTECTED] tmp]$ perl -v\par
\par
This is perl, v5.8.8 built for i386-linux-thread-multi\par
\par
Copyright 1987-2006, Larry Wall\par
\par
Perl may be copied only under the terms of either the Artistic License or 
the\par
GNU General Public License, which may be found in the Perl 5 source kit.\par
\par
Complete documentation for Perl, including FAQ lists, should be found on\par
this system using "man perl" or "perldoc perl".  If you have access to the\par
Internet, point your browser at http://www.perl.org/, the Perl Home Page.\par
\par
[EMAIL PROTECTED] tmp]$ perl -MCPAN -e 'install Math::Pari'\par
We have to reconfigure CPAN.pm due to following uninitialized parameters:\par
\par
cpan_home, keep_source_where, build_dir, build_cache, scan_cache, index_expire, 
gzip, tar, unzip, make, pager, makepl_arg, make_arg, make_install_arg, urllist, 
inhibit_startup_message, ftp_proxy, http_proxy, no_proxy, prerequisites_policy, 
cache_metadata\par
\par
/home/cgadgil/.cpan/CPAN/MyConfig.pm initialized.\par
\par
\par
CPAN is the world-wide archive of perl resources. It consists of about\par
100 sites that all replicate the same contents all around the globe.\par
Many countries have at least one CPAN site already. The resources\par
found on CPAN are easily accessible with the CPAN.pm module. If you\par
want to use CPAN.pm, you have to configure it properly.\par
\par
If you do not want to enter a dialog now, you can answer 'no' to this\par
question and I'll try to autoconfigure. (Note: you can revisit this\par
dialog anytime later by typing 'o conf init' at the cpan prompt.)\par
\par
Are you ready for manual configuration? [yes]\par
\par
\par
The following questions are intended to help you with the\par
configuration. The CPAN module needs a directory of its own to cache\par
important index files and maybe keep a temporary mirror of CPAN files.\par
This may be a site-wide directory or a personal directory.\par
\par
\par
\par
I see you already have a  directory\par
    /home/cgadgil/.cpan\par
Shall we use it as the general CPAN build and cache directory?\par
\par
CPAN build and cache directory? [/home/cgadgil/.cpan]\par
\par
\par
If you want, I can keep the source files after a build in the cpan\par
home directory. If you choose so then future builds will take the\par
files from there. If you don't want to keep them, answer 0 to the\par
next question.\par
\par
\par
\par
How big should the disk cache be for keeping the build directories\par
with all the intermediate files?\par
\par
Cache size for build directory (in MB)? [10]\par
\par
\par
By default, each time the CPAN module is started, cache scanning\par
is performed to keep the cache size in sync. To prevent from this,\par
disable the cache scanning with 'never'.\par
\par
Perform cache scanning (atstart or never)? [atstart]\par
\par
\par
To considerably speed up the initial CPAN shell startup, it is\par
possible to use Storable to create a cache of metadata. If Storable\par
is not available, the normal index mechanism will be used.\par
\par
Cache metadata (yes/no)? [yes]\par
\par
\par
The next option deals with the charset your terminal supports. In\par
general CPAN is English speaking territory, thus the charset does not\par
matter much, but some of the aliens out there who upload their\par
software to CPAN bear names that are outside the ASCII range. If your\par
terminal supports UTF-8, you say no to the next question, if it\par
supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it\par
supports neither nor, your answer does not matter, you will not be\par
able to read the names of some authors anyway. If you answer no, names\par
will be output in UTF-8.\par
\par
Your terminal expects ISO-8859-1 (yes/no)? [yes]\par
\par
\par
If you have one of the readline packages (Term::ReadLine::Perl,\par
Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN\par
shell will have history support. The next two questions deal with the\par
filename of the history file and with its size. If you do not want to\par
set this variable, please hit SPACE RETURN to the following question.\par
\par
File to save your history? [/home/cgadgil/.cpan/histfile]\par
Number of lines to save? [100]\par
\par
\par
The CPAN module can detect when a module that which you are trying to\par
build depends on prerequisites. If this happens, it can build the\par
prerequisites for you automatically ('follow'), ask you for\par
confirmation ('ask'), or just ignore them ('ignore'). Please set your\par
policy to one of the three values.\par
\par
Policy on building prerequisites (follow, ask or ignore)? [ask]\par
\par
\par
The CPAN module will need a few external programs to work properly.\par
Please correct me, if I guess the wrong path for a program. Don't\par
panic if you do not have some of them, just press ENTER for those. To\par
disable the use of a download program, you can type a space followed\par
by ENTER.\par
\par
Where is your gzip program? [/bin/gzip]\par
Where is your tar program? [/bin/tar]\par
Where is your unzip program? [/usr/bin/unzip]\par
Where is your make program? [/usr/bin/make]\par
Where is your links program? [/usr/bin/links]\par
Where is your wget program? [/usr/bin/wget]\par
Warning: ncftpget not found in PATH\par
Where is your ncftpget program? []\par
Warning: ncftp not found in PATH\par
Where is your ncftp program? []\par
Where is your ftp program? [/usr/kerberos/bin/ftp]\par
Where is your gpg program? [/usr/bin/gpg]\par
What is your favorite pager program? [/usr/bin/less]\par
What is your favorite shell? [/bin/bash]\par
\par
\par
Every Makefile.PL is run by perl in a separate process. Likewise we\par
run 'make' and 'make install' in processes. If you have any\par
parameters (e.g. PREFIX, LIB, UNINST or the like) you want to pass\par
to the calls, please specify them here.\par
\par
If you don't understand this question, just press ENTER.\par
\par
Parameters for the 'perl Makefile.PL' command?\par
Typical frequently used settings:\par
\par
    PREFIX=~/perl       non-root users (please see manual for more hints)\par
\par
Your choice:  []\par
Parameters for the 'make' command?\par
Typical frequently used setting:\par
\par
    -j3              dual processor system\par
\par
Your choice:  []\par
Parameters for the 'make install' command?\par
Typical frequently used setting:\par
\par
    UNINST=1         to always uninstall potentially conflicting files\par
\par
Your choice:  []\par
\par
\par
Sometimes you may wish to leave the processes run by CPAN alone\par
without caring about them. As sometimes the Makefile.PL contains\par
question you're expected to answer, you can set a timer that will\par
kill a 'perl Makefile.PL' process after the specified time in seconds.\par
\par
If you set this value to 0, these processes will wait forever. This is\par
the default and recommended setting.\par
\par
Timeout for inactivity during Makefile.PL? [0]\par
\par
\par
If you're accessing the net via proxies, you can specify them in the\par
CPAN configuration or via environment variables. The variable in\par
the $CPAN::Config takes precedence.\par
\par
Your ftp_proxy?\par
Your http_proxy?\par
Your no_proxy?\par
You have no /home/cgadgil/.cpan/sources/MIRRORED.BY\par
  I'm trying to fetch one\par
CPAN: LWP::UserAgent loaded ok\par
Fetching with LWP:\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY\par
Fetching with LWP:\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
Fetching with Net::FTP:\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY\par
Fetching with Net::FTP\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
\par
Trying with "/usr/bin/links -source" to get\par
    ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY\par
ELinks: No route to host\par
\par
Trying with "/usr/bin/links -source" to get\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
ELinks: Receive timeout\par
\par
Trying with "/usr/bin/wget -O -" to get\par
    ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY\par
--02:13:59--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY\par
           => `-'\par
Resolving ftp.perl.org... 209.221.142.118, 207.57.106.5\par
Connecting to ftp.perl.org|209.221.142.118|:21... failed: No route to host.\par
Connecting to ftp.perl.org|207.57.106.5|:21... failed: No route to host.\par
\par
Trying with "/usr/bin/wget -O -" to get\par
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
--02:14:29--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
           => `-'\par
Resolving ftp.perl.org... 207.57.106.5, 209.221.142.118\par
Connecting to ftp.perl.org|207.57.106.5|:21... failed: Connection timed out.\par
Connecting to ftp.perl.org|209.221.142.118|:21... failed: Connection timed 
out.\par
Retrying.\par
\par
--02:20:48--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz\par
  (try: 2) => `-'\par
Connecting to ftp.perl.org|207.57.106.5|:21... failed: No route to host.\par
Connecting to ftp.perl.org|209.221.142.118|:21... failed: No route to host.\par
Issuing "/usr/kerberos/bin/ftp -n"\par
ftp: connect to address 209.221.142.118: Connection timed out\par
Trying 207.57.106.5...\par
ftp: connect: Connection timed out\par
Not connected.\par
Local directory now /home/cgadgil/.cpan/sources\par
Not connected.\par
Not connected.\par
Not connected.\par
Not connected.\par
Not connected.\par
Bad luck... Still failed!\par
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.\par
\par
Please check, if the URLs I found in your configuration file () are valid.\par
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'\par
\par
Could not fetch MIRRORED.BY\par
CPAN.pm needs at least one URL where it can fetch CPAN files from.\par
\par
Please enter your CPAN site: []\par
}
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/

Reply via email to