Mailing List Archive

problem installing XML::Twig
Hi

I'm trying to install MythTV as per the docs on the website but I have
run into a problem when installing XML::Twig. I've included the output
below. I know absolutely nothing about CPAN but it looks like it is
looking for a file on the ftp server that doesn't exist. Is this a
problem with the way I've set up CPAN or with the entry in the CPAN
database?

cpan> install XML::Twig
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Strange distribution name [UserID MIROD]Running install for module
XML::Twig
Running make for UserID MIROD
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
Couldn't fetch UserID MIROD from ftp.perl.org
Fetching with Net::FTP
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
Couldn't fetch UserID MIROD.gz from ftp.perl.org

Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
Unknown option MIROD

Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
Unknown option MIROD.gz

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
--12:39:06-- ftp://ftp.perl.org/pub/CPAN/authors/id/UserID%20MIROD
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[200.14.80.77]:21... connected.
Logging in as anonymous ... Logged in!
No such file `UserID MIROD'.

--12:39:12-- http://mirod/
=> `-'
Resolving mirod... failed: Host not found.

FINISHED --12:39:13--
Downloaded: 0 bytes in 0 files

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
--12:39:13-- ftp://ftp.perl.org/pub/CPAN/authors/id/UserID%20MIROD.gz
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[200.14.80.77]:21... connected.
Logging in as anonymous ... Logged in!
No such file `UserID MIROD.gz'.

--12:39:19-- http://mirod.gz/
=> `-'
Resolving mirod.gz... failed: Host not found.

FINISHED --12:39:20--
Downloaded: 0 bytes in 0 files
Issuing "/usr/bin/ftp -n"
Local directory now /root/.cpan/sources/authors/id
UserID: No such file or directory
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.

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/'

Could not fetch authors/id/UserID MIROD
Giving up on '/root/.cpan/sources/authors/id/UserID MIROD'

Thanks in advance

--
Myles Byrne <myles@byrnewebservices.com>
ByrneWebServices
Re: problem installing XML::Twig [ In reply to ]
Seems i posted too quickly ...
removing /usr/lib/perl5/5.8.0/CPAN/Config.pm

and re-doing the configuration (with a UTF 8 supported terminal and
different mirrors) fixed everything up

On Sun, 2003-03-23 at 12:47, Myles Byrne wrote:
> Hi
>
> I'm trying to install MythTV as per the docs on the website but I have
> run into a problem when installing XML::Twig. I've included the output
> below. I know absolutely nothing about CPAN but it looks like it is
> looking for a file on the ftp server that doesn't exist. Is this a
> problem with the way I've set up CPAN or with the entry in the CPAN
> database?
>
> cpan> install XML::Twig
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Strange distribution name [UserID MIROD]Running install for module
> XML::Twig
> Running make for UserID MIROD
> LWP not available
> CPAN: Net::FTP loaded ok
> Fetching with Net::FTP:
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
> Couldn't fetch UserID MIROD from ftp.perl.org
> Fetching with Net::FTP
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
> Couldn't fetch UserID MIROD.gz from ftp.perl.org
>
> Trying with "/usr/bin/links -source" to get
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
> Unknown option MIROD
>
> Trying with "/usr/bin/links -source" to get
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
> Unknown option MIROD.gz
>
> Trying with "/usr/bin/wget -O -" to get
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD
> --12:39:06-- ftp://ftp.perl.org/pub/CPAN/authors/id/UserID%20MIROD
> => `-'
> Resolving ftp.perl.org... done.
> Connecting to ftp.perl.org[200.14.80.77]:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done. ==> PWD ... done.
> ==> TYPE I ... done. ==> CWD /pub/CPAN/authors/id ... done.
> ==> PASV ... done. ==> RETR UserID MIROD ...
> No such file `UserID MIROD'.
>
> --12:39:12-- http://mirod/
> => `-'
> Resolving mirod... failed: Host not found.
>
> FINISHED --12:39:13--
> Downloaded: 0 bytes in 0 files
>
> Trying with "/usr/bin/wget -O -" to get
> ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.gz
> --12:39:13-- ftp://ftp.perl.org/pub/CPAN/authors/id/UserID%20MIROD.gz
> => `-'
> Resolving ftp.perl.org... done.
> Connecting to ftp.perl.org[200.14.80.77]:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done. ==> PWD ... done.
> ==> TYPE I ... done. ==> CWD /pub/CPAN/authors/id ... done.
> ==> PASV ... done. ==> RETR UserID MIROD.gz ...
> No such file `UserID MIROD.gz'.
>
> --12:39:19-- http://mirod.gz/
> => `-'
> Resolving mirod.gz... failed: Host not found.
>
> FINISHED --12:39:20--
> Downloaded: 0 bytes in 0 files
> Issuing "/usr/bin/ftp -n"
> Local directory now /root/.cpan/sources/authors/id
> UserID: No such file or directory
> Bad luck... Still failed!
> Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/id/UserID MIROD.
>
> 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/'
>
> Could not fetch authors/id/UserID MIROD
> Giving up on '/root/.cpan/sources/authors/id/UserID MIROD'
>
> Thanks in advance
--
Myles Byrne <myles@byrnewebservices.com>
ByrneWebServices
Re: problem installing XML::Twig [ In reply to ]
> I'm trying to install MythTV as per the docs on the website but I have
> run into a problem when installing XML::Twig. I've included the output
> below. I know absolutely nothing about CPAN but it looks like it is
> looking for a file on the ftp server that doesn't exist. Is this a
> problem with the way I've set up CPAN or with the entry in the CPAN
> database?

Looks like a CPAN problem. Quit and try again.

The issue seems to be that the author name is corrupt and has a space in it.
This is being seen as an option to ftp, etc.

If the problem persists then try going to http://search.cpan.org find your
package, download it manually. There are instructions on manual install on
CPAN, I don't have the details to hand, but basically unzip/untar, perl
Makefile.pl, make, make test, make install, finished
Re: problem installing XML::Twig [ In reply to ]
> I'm trying to install MythTV as per the docs on the website but I have
> run into a problem when installing XML::Twig. I've included the output
> below. I know absolutely nothing about CPAN but it looks like it is
> looking for a file on the ftp server that doesn't exist. Is this a
> problem with the way I've set up CPAN or with the entry in the CPAN
> database?

Looks like a CPAN problem. Quit and try again.

The issue seems to be that the author name is corrupt and has a space in it.
This is being seen as an option to ftp, etc.

If the problem persists then try going to http://search.cpan.org find your
package, download it manually. There are instructions on manual install on
CPAN, I don't have the details to hand, but basically unzip/untar, perl
Makefile.pl, make, make test, make install, finished