I've newly installed 10.2 and perl 5.8. Being quite new to this kind of 
thing, I followed the instructions at

http://developer.apple.com/internet/macosx/perl.html

to the letter. All was well, until I tried to install Bundle::CPAN in 
the cpan shell.

I don't know if its relevant, but I was unsure how to answer the first 
configuration question. It prompted that I had a cpan directory in my 
home directory. I do, but I hadn't actually used it successfully before 
(because I didn't have developer tools installed before now). I choose 
to use this, and chose the default answers to all other configuration 
questions.

But the problem came when I tried to install Bundle::CPAN. It seemed to 
go ok for a while, but then ...

tar: Failed open to read on 
y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz <No such file or 
directory>
Couldn't opendir y/build/ANDK000: No such file or directory at 
/Library/Perl/CPAN.pm line 4873

I'm not sure what to do next. I've excerpted quite a lot from my 
terminal below - hopefully this will be clear to someone with more 
experience.

Thanks very much for your help,

Richard

EXCERPTS:

/usr/local/src/perl-5.8.0 26% sudo perl -MCPAN -eshell
Password:
We have to reconfigure CPAN.pm due to following uninitialized 
parameters:

cache_metadata

/Users/rjolly/.cpan/CPAN/MyConfig.pm initialized.

<snip>

I see you already have a  directory
     /Users/rjolly/.cpan
Shall we use it as the general CPAN build and cache directory?

CPAN build and cache directory? [/Users/rjolly/.cpan] y

<snip>

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install Bundle::CPAN
CPAN: Storable loaded ok
Issuing "/usr/bin/ftp -n"
Connected to ftp.demon.co.uk.
220-  Welcome to Demon Internet's ftp archive.
220-
220-    All public files are located under /pub.
220-    All mirrors are located under /pub/mirrors.
220-    Files for accessing Demon are stored under /pub/demon/
220-
220-    Demon customer web pages should be uploaded to 
homepages.demon.co.uk
220-    not this server.
220-
220-    Administrative contact for FTP is [EMAIL PROTECTED] Queries 
regarding
220-    Demon Internet should be addressed to [EMAIL PROTECTED]
220-
220-Malcolm Muir ([EMAIL PROTECTED])
220-
220 disabuse.ftp.demon.net FTP server (Demon/Academ/WU [2] Dec 3 
15:26:46 GMT 2001) ready.
331 Guest login ok, send your complete e-mail address as password.
230-Anonymous login from dsl-217-155-38-11.zen.co.uk.
230-
230-The local time is Wed Oct  2 10:28:53 2002.
230-
230-Material on this system is provided without warranty or guarantee 
and under
230-the condition that no liability for any situation or event directly,
230-indirectly or otherwise caused by access to this system is assumed 
by the
230-operators. It is the responsibility of the downloader to ensure any
230-material downloaded is suitable and may legally be possessed in your
230-country or establishment.
230-
230-***** If the above is not permissible under your legal system *****
230-             ***** then disconnect immediately *****
230-
230-You are user 8 out of 196 permitted anonymous FTP logins.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now /usr/local/src/perl-5.8.0/y/sources/authors
250 CWD command successful.
250-Welcome to the Demon Internet Service FTP Archive
250-=================================================
250-
250-This directory contains the /pub general archive hierachy.
250-If you wish to upload new files, please consult the local 
documentation.
250-Many directories contain "RECENT" files listing the last 7 days 
uploads.
250-
250-
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: 01mailrc.txt.gz remote: 01mailrc.txt.gz
500 'EPSV': command not understood.
227 Entering Passive Mode (194,159,255,136,137,253)
150 Opening BINARY mode data connection for 01mailrc.txt.gz (55147 
bytes).
100% |*************************************| 55147      57.66 KB/s    
00:00 ETA
226 Transfer complete.
55147 bytes received in 00:00 (57.40 KB/s)
Can't parse time `20020928004100-14419460'.
221 Goodbye.
GOT y/sources/authors/01mailrc.txt.gz
Going to read y/sources/authors/01mailrc.txt.gz
Issuing "/usr/bin/ftp -n"
Connected to ftp.demon.co.uk.
220-  Welcome to Demon Internet's ftp archive.
220-
220-    All public files are located under /pub.
220-    All mirrors are located under /pub/mirrors.
220-    Files for accessing Demon are stored under /pub/demon/
220-
220-    Demon customer web pages should be uploaded to 
homepages.demon.co.uk
220-    not this server.
220-
220-    Administrative contact for FTP is [EMAIL PROTECTED] Queries 
regarding
220-    Demon Internet should be addressed to [EMAIL PROTECTED]
220-
220-Malcolm Muir ([EMAIL PROTECTED])
220-
220 disabuse.ftp.demon.net FTP server (Demon/Academ/WU [2] Dec 3 
15:26:46 GMT 2001) ready.
331 Guest login ok, send your complete e-mail address as password.
230-Anonymous login from dsl-217-155-38-11.zen.co.uk.
230-
230-The local time is Wed Oct  2 10:28:57 2002.
230-
230-Material on this system is provided without warranty or guarantee 
and under
230-the condition that no liability for any situation or event directly,
230-indirectly or otherwise caused by access to this system is assumed 
by the
230-operators. It is the responsibility of the downloader to ensure any
230-material downloaded is suitable and may legally be possessed in your
230-country or establishment.
230-
230-***** If the above is not permissible under your legal system *****
230-             ***** then disconnect immediately *****
230-
230-You are user 8 out of 196 permitted anonymous FTP logins.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now /usr/local/src/perl-5.8.0/y/sources/modules
250 CWD command successful.
250-Welcome to the Demon Internet Service FTP Archive
250-=================================================
250-
250-This directory contains the /pub general archive hierachy.
250-If you wish to upload new files, please consult the local 
documentation.
250-Many directories contain "RECENT" files listing the last 7 days 
uploads.
250-
250-
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: 02packages.details.txt.gz remote: 02packages.details.txt.gz
500 'EPSV': command not understood.
227 Entering Passive Mode (194,159,255,136,137,255)
150 Opening BINARY mode data connection for 02packages.details.txt.gz 
(166567 bytes).
100% |*************************************|   162 KB   56.53 KB/s    
00:00 ETA
226 Transfer complete.
166567 bytes received in 00:02 (56.44 KB/s)
Can't parse time `20020929095400-14419460'.
221 Goodbye.
GOT y/sources/modules/02packages.details.txt.gz
Going to read y/sources/modules/02packages.details.txt.gz
   Database was generated on Sun, 29 Sep 2002 10:54:22 GMT
   HTTP::Date not available

   There's a new CPAN.pm version (v1.63) available!
   [Current version is v1.61]
   You might want to try
     install Bundle::CPAN
     reload cpan
   without quitting the current session. It should be a seamless upgrade
   while we are running...

Issuing "/usr/bin/ftp -n"
Connected to ftp.demon.co.uk.
220-  Welcome to Demon Internet's ftp archive.
220-
220-    All public files are located under /pub.
220-    All mirrors are located under /pub/mirrors.
220-    Files for accessing Demon are stored under /pub/demon/
220-
220-    Demon customer web pages should be uploaded to 
homepages.demon.co.uk
220-    not this server.
220-
220-    Administrative contact for FTP is [EMAIL PROTECTED] Queries 
regarding
220-    Demon Internet should be addressed to [EMAIL PROTECTED]
220-
220-Malcolm Muir ([EMAIL PROTECTED])
220-
220 disabuse.ftp.demon.net FTP server (Demon/Academ/WU [2] Dec 3 
15:26:46 GMT 2001) ready.
331 Guest login ok, send your complete e-mail address as password.
230-Anonymous login from dsl-217-155-38-11.zen.co.uk.
230-
230-The local time is Wed Oct  2 10:29:10 2002.
230-
230-Material on this system is provided without warranty or guarantee 
and under
230-the condition that no liability for any situation or event directly,
230-indirectly or otherwise caused by access to this system is assumed 
by the
230-operators. It is the responsibility of the downloader to ensure any
230-material downloaded is suitable and may legally be possessed in your
230-country or establishment.
230-
230-***** If the above is not permissible under your legal system *****
230-             ***** then disconnect immediately *****
230-
230-You are user 7 out of 196 permitted anonymous FTP logins.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now /usr/local/src/perl-5.8.0/y/sources/modules
250 CWD command successful.
250-Welcome to the Demon Internet Service FTP Archive
250-=================================================
250-
250-This directory contains the /pub general archive hierachy.
250-If you wish to upload new files, please consult the local 
documentation.
250-Many directories contain "RECENT" files listing the last 7 days 
uploads.
250-
250-
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: 03modlist.data.gz remote: 03modlist.data.gz
500 'EPSV': command not understood.
227 Entering Passive Mode (194,159,255,136,138,3)
150 Opening BINARY mode data connection for 03modlist.data.gz (74799 
bytes).
100% |*************************************| 74799      54.64 KB/s    
00:00 ETA
226 Transfer complete.
74799 bytes received in 00:01 (54.47 KB/s)
Can't parse time `20020928205600-14419460'.
221 Goodbye.
GOT y/sources/modules/03modlist.data.gz
Going to read y/sources/modules/03modlist.data.gz
Going to write y/Metadata
Issuing "/usr/bin/ftp -n"
Connected to ftp.demon.co.uk.
220-  Welcome to Demon Internet's ftp archive.
220-
220-    All public files are located under /pub.
220-    All mirrors are located under /pub/mirrors.
220-    Files for accessing Demon are stored under /pub/demon/
220-
220-    Demon customer web pages should be uploaded to 
homepages.demon.co.uk
220-    not this server.
220-
220-    Administrative contact for FTP is [EMAIL PROTECTED] Queries 
regarding
220-    Demon Internet should be addressed to [EMAIL PROTECTED]
220-
220-Malcolm Muir ([EMAIL PROTECTED])
220-
220 disabuse.ftp.demon.net FTP server (Demon/Academ/WU [2] Dec 3 
15:26:46 GMT 2001) ready.
331 Guest login ok, send your complete e-mail address as password.
230-Anonymous login from dsl-217-155-38-11.zen.co.uk.
230-
230-The local time is Wed Oct  2 10:29:24 2002.
230-
230-Material on this system is provided without warranty or guarantee 
and under
230-the condition that no liability for any situation or event directly,
230-indirectly or otherwise caused by access to this system is assumed 
by the
230-operators. It is the responsibility of the downloader to ensure any
230-material downloaded is suitable and may legally be possessed in your
230-country or establishment.
230-
230-***** If the above is not permissible under your legal system *****
230-             ***** then disconnect immediately *****
230-
230-You are user 7 out of 196 permitted anonymous FTP logins.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now 
/usr/local/src/perl-5.8.0/y/sources/authors/id/A/AN/ANDK
250 CWD command successful.
250-Welcome to the Demon Internet Service FTP Archive
250-=================================================
250-
250-This directory contains the /pub general archive hierachy.
250-If you wish to upload new files, please consult the local 
documentation.
250-Many directories contain "RECENT" files listing the last 7 days 
uploads.
250-
250-
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: CPAN-1.63.tar.gz remote: CPAN-1.63.tar.gz
500 'EPSV': command not understood.
227 Entering Passive Mode (194,159,255,136,138,9)
150 Opening BINARY mode data connection for CPAN-1.63.tar.gz (120052 
bytes).
100% |*************************************|   117 KB   56.48 KB/s    
00:00 ETA
226 Transfer complete.
120052 bytes received in 00:02 (56.26 KB/s)
Can't parse time `20020830075800-14419460'.
221 Goodbye.
GOT y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz
CPAN: Digest::MD5 loaded ok
Issuing "/usr/bin/ftp -n"
Connected to ftp.demon.co.uk.
220-  Welcome to Demon Internet's ftp archive.
220-
220-    All public files are located under /pub.
220-    All mirrors are located under /pub/mirrors.
220-    Files for accessing Demon are stored under /pub/demon/
220-
220-    Demon customer web pages should be uploaded to 
homepages.demon.co.uk
220-    not this server.
220-
220-    Administrative contact for FTP is [EMAIL PROTECTED] Queries 
regarding
220-    Demon Internet should be addressed to [EMAIL PROTECTED]
220-
220-Malcolm Muir ([EMAIL PROTECTED])
220-
220 disabuse.ftp.demon.net FTP server (Demon/Academ/WU [2] Dec 3 
15:26:46 GMT 2001) ready.
331 Guest login ok, send your complete e-mail address as password.
230-Anonymous login from dsl-217-155-38-11.zen.co.uk.
230-
230-The local time is Wed Oct  2 10:29:30 2002.
230-
230-Material on this system is provided without warranty or guarantee 
and under
230-the condition that no liability for any situation or event directly,
230-indirectly or otherwise caused by access to this system is assumed 
by the
230-operators. It is the responsibility of the downloader to ensure any
230-material downloaded is suitable and may legally be possessed in your
230-country or establishment.
230-
230-***** If the above is not permissible under your legal system *****
230-             ***** then disconnect immediately *****
230-
230-You are user 7 out of 196 permitted anonymous FTP logins.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now 
/usr/local/src/perl-5.8.0/y/sources/authors/id/A/AN/ANDK
250 CWD command successful.
250-Welcome to the Demon Internet Service FTP Archive
250-=================================================
250-
250-This directory contains the /pub general archive hierachy.
250-If you wish to upload new files, please consult the local 
documentation.
250-Many directories contain "RECENT" files listing the last 7 days 
uploads.
250-
250-
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: CHECKSUMS remote: CHECKSUMS
500 'EPSV': command not understood.
227 Entering Passive Mode (194,159,255,136,138,11)
150 Opening BINARY mode data connection for CHECKSUMS (5256 bytes).
100% |*************************************|  5256      41.46 KB/s    
00:00 ETA
226 Transfer complete.
5256 bytes received in 00:00 (33.42 KB/s)
Can't parse time `20020830080200-14419460'.
221 Goodbye.
GOT y/sources/authors/id/A/AN/ANDK/CHECKSUMS
Checksum for y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz ok
Scanning cache y/build for sizes
y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: No such file or 
directory
y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz: No such file or 
directory
tar: Failed open to read on 
y/sources/authors/id/A/AN/ANDK/CPAN-1.63.tar.gz <No such file or 
directory>
Couldn't opendir y/build/ANDK000: No such file or directory at 
/Library/Perl/CPAN.pm line 4873

cpan> reload cpan

<snip>

cpan> install Bundle::CPAN
   Is already unwrapped into directory y/build/ANDK000
Could not chdir to "y/build/ANDK000": No such file or directory

cpan> exit

--------------

/usr/local/src/perl-5.8.0 24% ls -l y/sources/authors/id/A/AN/ANDK/
total 256
-rw-r--r--  1 root  staff    5256 Oct  2 10:29 CHECKSUMS
-rw-r--r--  1 root  staff  120052 Oct  2 10:29 CPAN-1.63.tar.gz

Reply via email to