I am trying to install the DBI module using CPAN and this is what happens:

[localhost:~] roland% sudo perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.60)
ReadLine support enabled

cpan> install DBI::DBD
Going to read /Users/roland/.cpan/sources/authors/01mailrc.txt.gz
Going to read /Users/roland/.cpan/sources/modules/02packages.details.txt.gz

gzip: /Users/roland/.cpan/sources/modules/02packages.details.txt.gz:
unexpected end of file
Warning: Your /Users/roland/.cpan/sources/modules/02packages.details.txt.gz
contains a Line-Count header of 12435 but I see 3390 lines there. Please
check the validity of the index file by comparing it to more than one
CPAN mirror. I'll continue but problems seem likely to happen.
  Database was generated on Sat, 18 May 2002 19:39:54 GMT
  HTTP::Date not available

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

Use of uninitialized value in string ne at /System/Library/Perl/CPAN.pm line
3250, <GEN2> line 3399.
Use of uninitialized value in pattern match (m//) at
/System/Library/Perl/CPAN.pm line 3116, <GEN2> line 3399.
Going to read /Users/roland/.cpan/sources/modules/03modlist.data.gz
Running install for module DBI::DBD
Running make for T/TI/TIMB/DBI-1.21.tar.gz

  CPAN: MD5 security checks disabled because Digest::MD5 not installed.
  Please consider installing the Digest::MD5 module.

Scanning cache /Users/roland/.cpan/build for sizes
DBI-1.21
DBI-1.21/lib


All seems fine but at the end of it all comes:

Perl.c: In function `XS_DBD__Perl__st_DESTROY':
Perl.c:626: warning: unused variable `Perl___notused'
Perl.c: In function `boot_DBD__Perl':
Perl.c:675: warning: unused variable `Perl___notused'
make: *** [Perl.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Why does this happen, I do not understand any of the above so have no idea
what to fix, any help gratefully received.

And I apologise if this is a basic question.

Thank you.

Roland

Reply via email to