Now that I blew it on this where do I find the file or what would be the best way to fix my fat finger fubar?
Thanks,
Cordel
Messed up on the config for perl -MCPAN -eshell
Re: Messed up on the config for perl -MCPAN -eshell
When I was doing the config for install Bundle::CPAN my DNS server had not been passed though DHCP. So I had attempted to make a few guesses. Didn't work:(
I tried to rerun the bundle of course to find of course that you can not do that.
What would really bite of coarse is that I did my first Linux install about a week ago on a P2 using RH9 Shrike and had no problems and had a painfully slow working ZM with a four port DVR card 878.
I had so much fun setting that up that I looked at my two good machines (one running Win 2003 .net and the other WinXP)
and shot the bloody Windows XP and gave it a buryal right off my drive (ominous music).
So here I be, converted and excited to se XP fade to its doom and in a rush gave it to my self.
I've tried the man pages and some searchs but I'm guessing that I'm the only dumb blote to fat finger this one.
Any idea or leads would help.
Thx,
Cordel
I tried to rerun the bundle of course to find of course that you can not do that.
What would really bite of coarse is that I did my first Linux install about a week ago on a P2 using RH9 Shrike and had no problems and had a painfully slow working ZM with a four port DVR card 878.
I had so much fun setting that up that I looked at my two good machines (one running Win 2003 .net and the other WinXP)
and shot the bloody Windows XP and gave it a buryal right off my drive (ominous music).
So here I be, converted and excited to se XP fade to its doom and in a rush gave it to my self.
I've tried the man pages and some searchs but I'm guessing that I'm the only dumb blote to fat finger this one.
Any idea or leads would help.
Thx,
Cordel
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Messed up on the config for perl -MCPAN -eshell
Hi Cordel,
What errors do you get when you try to install the bundle? It's perfectly possible by the way to install modules without the CPAN method, you just have to build them yourself.
If you can give a bit more information about the errors you are getting I might be able to suggest something a little more concrete.
Phil,
What errors do you get when you try to install the bundle? It's perfectly possible by the way to install modules without the CPAN method, you just have to build them yourself.
If you can give a bit more information about the errors you are getting I might be able to suggest something a little more concrete.
Phil,
Re: Messed up on the config for perl -MCPAN -eshell
I get this error:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeout]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Receive timeout
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY./au
thors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exi
st
Trying with "/usr/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Could not connect to ftp.perl.org -- try again later: Connection timed out.
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeout]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Receive timeout
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY./au
thors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exi
st
Trying with "/usr/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY ... lrc.txt.gz
Could not connect to ftp.perl.org -- try again later: Connection timed out.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: Messed up on the config for perl -MCPAN -eshell
You can try blowing away (or perhaps renaming) your .cpan directory which might help as a start, there's nothing in there that is critical. You might also find something you can tweak in /usr/lib/perl5/5.8.0/CPAN/, or wherever the equivalent is on your system for your version of perl.
Phil,
Phil,
Sorry I forgot to post the sollution if you fubar the config for perl -MCPAN -eshell.
go in to the shell
perl -MCPAN -eshell
then enter
o conf init
That will let you reconfigure the whole thing.
Cheers,
Cordel
go in to the shell
perl -MCPAN -eshell
then enter
o conf init
That will let you reconfigure the whole thing.
Cheers,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain