Hi all, I think there's a bug with cpan and names containing spaces.
E.g., my username is Joe Schmoe, and I get:

>>>

$ cpan Error
CPAN: Storable loaded ok
Going to read /home/Joe Schmoe/.cpan/Metadata
  Database was generated on Wed, 15 Feb 2006 23:16:19 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /home/Joe Schmoe/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
LWP not available
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /home/Joe Schmoe/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Thu, 16 Feb 2006 20:14:09 GMT
  HTTP::Date not available

  There's a new CPAN.pm version (v1.84) available!
  [Current version is v1.7601]
  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...

LWP not available
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /home/Joe Schmoe/.cpan/sources/modules/03modlist.data.gz
Going to write /home/Joe Schmoe/.cpan/Metadata
Running install for module Error
Running make for U/UA/UARUN/Error-0.15.tar.gz
LWP not available
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/U/UA/UARUN/Error-0.15.tar.gz
CPAN: Digest::MD5 loaded ok
LWP not available
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/U/UA/UARUN/CHECKSUMS
Checksum for /home/Joe
Schmoe/.cpan/sources/authors/id/U/UA/UARUN/Error-0.15.tar.gz ok
Scanning cache /home/Joe Schmoe/.cpan/build for sizes
gzip: Schmoe/.cpan/sources/authors/id/U/UA/UARUN/Error-0.15.tar.gz: No
such file or directory
Package seems to come without Makefile.PL.
  (The test -f "/home/Joe Schmoe/.cpan/build/UARUN000/Makefile.PL"
returned false.)
  Writing one on our own (setting NAME to Error)

  CPAN.pm: Going to build U/UA/UARUN/Error-0.15.tar.gz

Writing Makefile for Error
  /usr/bin/make  -- OK
Running make test
No tests defined for Error extension.
  /usr/bin/make test -- OK
Running make install
Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Error/.packlist
Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
  /usr/bin/make install  -- OK

>>>

Otherwise, how do I install cpan modules to the 'global' directories
(instead of my user's ~/.cpan)? (Cygwin has no 'su')

Thanks in advance.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to