|
Posted by Chad on October 12, 2004, 6:32 pm
Please log in for more thread options
Hello,
I have been working with 3 Linux machines, all Red Hat and not all the
same. 6.2, 7.3 and Professional Workstation.
At first the machines did not have any DNS settings. So I added the DNS
settens after letting CPAN auto configure its self, not knowing that there
was no DNS settings. I let the config program run at its defaults. I am
trying to update some of the packages. We can not upgrade the Linux on the
machines to a 9.0 or newer due to the applications running on them and how
the 4 Unix machines are set up. I wish we could but thats not an option at
this time. I also checked to see if the needed ftp and stuff was in the
/usr/bin which they are. I can ftp at the command line so I know my DNS
is working now. Is there and error in the config file or is it pointing to
a html or ftp address that is no longer correct?
I have the screen messages of what I get and of my key commands plus the
config file. I am new to the company. There is no documentation and I am
just now learning Perl crash course by fire. Any info or suggestions
welcomed.
Chad
[root@www 5.00503]# perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.48)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> install Bundle::CPAN
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/authors/01mailrc.txt.gz sh: /usr/bin: is a directory
System call "/usr/bin 'http://www.perl.com/CPAN/authors/01mailrc.txt.gz' >
/roo
t/cpan/sources/authors/01mailrc.txt"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch authors/01mailrc.txt.gz
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/modules/02packages.details.txt.gz sh: /usr/bin: is a directory
System call "/usr/bin
'http://www.perl.com/CPAN/modules/02packages.details.txt.g z' > /root/cpan/sources/modules/02packages.details.txt"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch modules/02packages.details.txt.gz
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/modules/03modlist.data.gz sh: /usr/bin: is a directory
System call "/usr/bin 'http://www.perl.com/CPAN/modules/03modlist.data.gz'
> /r
oot/cpan/sources/modules/03modlist.data"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch modules/03modlist.data.gz
Can't install Bundle::CPAN, don't have an associated bundle file. :-(
at /usr/lib/perl5/5.00503/CPAN.pm line 1717
cpan> FirstTime.pm
Unknown command 'FirstTime.pm'. Type ? for help.
cpan> exit
Lockfile removed.
[root@www 5.00503]# perl
FirstTime.pm
ÿ
[root@www 5.00503]# ftp.perl.com
bash: ftp.perl.com: command not found
[root@www 5.00503]# ftp
ftp> open ftp.perl.com
ftp: connect to address 208.201.239.56: Connection refused
Trying 208.201.239.8...
ftp: connect: Connection refused
ftp> ÿ
ftp>
ftp> quit
[root@www 5.00503]# perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.48)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> i Bundle
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/authors/01mailrc.txt.gz sh: /usr/bin: is a directory
System call "/usr/bin 'http://www.perl.com/CPAN/authors/01mailrc.txt.gz' >
/roo
t/cpan/sources/authors/01mailrc.txt"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch authors/01mailrc.txt.gz
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/modules/02packages.details.txt.gz sh: /usr/bin: is a directory
System call "/usr/bin
'http://www.perl.com/CPAN/modules/02packages.details.txt.g z' > /root/cpan/sources/modules/02packages.details.txt"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch modules/02packages.details.txt.gz
Trying with "/usr/bin" to get
http://www.perl.com/CPAN/modules/03modlist.data.gz sh: /usr/bin: is a directory
System call "/usr/bin 'http://www.perl.com/CPAN/modules/03modlist.data.gz'
> /r
oot/cpan/sources/modules/03modlist.data"
returned status 126 (wstat 32256)
Please check, if the URLs I found in your configuration file
(http://www.perl.com/CPAN/) are valid. The urllist can be edited. E.g. with
``o conf urllist push ftp://myurl/''
Cannot fetch modules/03modlist.data.gz
No objects found of any type for argument Bundle
The config file
# This is CPAN.pm's systemwide configuration file. This file provides
# defaults for users, and the values can be changed in a per-user
# configuration file. The user-config file is being looked for as
# ~/.cpan/CPAN/MyConfig.pm.
$CPAN::Config = {
'build_cache' => q[30],
'build_dir' => q[/root/.cpan/build],
'cache_metadata' => q[1],
'cpan_home' => q[/root/.cpan],
'dontload_hash' => { },
'ftp' => q[/usr/bin/ftp],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gzip' => q[/bin/gzip],
'http_proxy' => q[],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[/root/.cpan/sources],
'lynx' => q[/usr/bin/],
'make' => q[/usr/bin/make],
'make_arg' => q[],
'make_install_arg' => q[],
'makepl_arg' => q[],
'ncftpget' => q[/usr/bin/ncftpget],
'no_proxy' => q[],
'pager' => q[/usr/bin/less],
'prerequisites_policy' => q[follow],
'scan_cache' => q[atstart],
'shell' => q[/bin/bash],
'tar' => q[/bin/tar],
'term_is_latin' => q[0],
'unzip' => q[/usr/bin/unzip],
'urllist' => [q[http://search.cpan.org/]],
'wait_list' => [q[wait://ls6.informatik.uni-dortmund.de:1404]],
'wget' => q[/usr/bin/wget],
};
1;
__END__
|
|
Posted by Matt S Trout on October 13, 2004, 3:16 pm
Please log in for more thread options
>Hello,
>
>I have been working with 3 Linux machines, all Red Hat and not all the
>same. 6.2, 7.3 and Professional Workstation.
>At first the machines did not have any DNS settings. So I added the DNS
>settens after letting CPAN auto configure its self, not knowing that there
>was no DNS settings. I let the config program run at its defaults. I am
>trying to update some of the packages. We can not upgrade the Linux on the
>machines to a 9.0 or newer due to the applications running on them and how
>the 4 Unix machines are set up. I wish we could but thats not an option at
>this time. I also checked to see if the needed ftp and stuff was in the
>/usr/bin which they are. I can ftp at the command line so I know my DNS
>is working now. Is there and error in the config file or is it pointing to
>a html or ftp address that is no longer correct?
>
>I have the screen messages of what I get and of my key commands plus the
>config file. I am new to the company. There is no documentation and I am
>just now learning Perl crash course by fire. Any info or suggestions
>welcomed.
>
>'lynx' => q[/usr/bin/],
This is the line that's causing you problems - you need to change it to the
location of your 'lynx' program. You can easily do this in the CPAN shell by
doing
o conf lynx /path/to/lynx
--
Today's proposed addition to the PDP-11 instruction set:
CHRD Crash Head on Random Disk
Today's fatal mistake:
#include <pi-version.h> [ My homepage is http://www.trout.me.uk ]
|
|
Posted by Chad on October 13, 2004, 12:17 pm
Please log in for more thread options Thank you. Got CPAN up and going, now just have to work with Mail::Sender
Chad
> >Hello,
> >
> >I have been working with 3 Linux machines, all Red Hat and not all the
> >same. 6.2, 7.3 and Professional Workstation.
> >At first the machines did not have any DNS settings. So I added the DNS
> >settens after letting CPAN auto configure its self, not knowing that
there
> >was no DNS settings. I let the config program run at its defaults. I am
> >trying to update some of the packages. We can not upgrade the Linux on
the
> >machines to a 9.0 or newer due to the applications running on them and
how
> >the 4 Unix machines are set up. I wish we could but thats not an option
at
> >this time. I also checked to see if the needed ftp and stuff was in the
> >/usr/bin which they are. I can ftp at the command line so I know my
DNS
> >is working now. Is there and error in the config file or is it pointing
to
> >a html or ftp address that is no longer correct?
> >
> >I have the screen messages of what I get and of my key commands plus the
> >config file. I am new to the company. There is no documentation and I am
> >just now learning Perl crash course by fire. Any info or suggestions
> >welcomed.
> >
> >'lynx' => q[/usr/bin/],
>
> This is the line that's causing you problems - you need to change it to
the
> location of your 'lynx' program. You can easily do this in the CPAN shell
by
> doing
>
> o conf lynx /path/to/lynx
> --
> Today's proposed addition to the PDP-11 instruction set:
> CHRD Crash Head on Random Disk
> Today's fatal mistake:
> #include <pi-version.h> [ My homepage is
http://www.trout.me.uk ]
|
| Similar Threads | Posted | | CPAN no longer working under Tiger | April 1, 2006, 12:07 pm |
| DBI and DBI::Oracle packages configuration | July 22, 2004, 8:55 am |
| ANNOUNCE: Xorg configuration model | January 26, 2007, 8:43 am |
| GD not working | September 13, 2004, 2:52 pm |
| Anyone working on ALSA ? | October 5, 2007, 2:02 am |
| ParseExcel::Simple not working? | September 21, 2005, 3:32 pm |
| Net::Telnet not working with perl 5.8.5 | November 15, 2005, 2:48 am |
| In search of working IM library | July 26, 2006, 3:43 pm |
| Net::SMTP Can't get AUTH working... | November 2, 2006, 5:39 pm |
| PerlMagick - Annotate - not working | September 11, 2007, 11:18 pm |
|