[/root] root@BTLLIX# cpan
CPAN: File::HomeDir loaded ok (v0.65)
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
the following indispensable but missing parameters:
auto_commit, mbuild_arg, mbuild_install_arg, mbuild_install_build_command, mbuildpl_arg
Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.
Always commit changes to config variables to disk? [no]
The next questions deal with Module::Build support.
A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.
Parameters for the 'perl Build.PL' command?
Typical frequently used settings:
--install_base /home/xxx # different installation directory
Your choice: []
Parameters for the './Build' command?
Setting might be:
--extra_linker_flags -L/usr/foo/lib # non-standard library location
Your choice: []
Do you want to use a different command for './Build install'?
Sudo users will probably prefer:
su root -c ./Build
or
sudo ./Build
or
/path1/to/sudo -u admin_account ./Build
or some such. Your choice: [./Build]
Parameters for the './Build install' command?
Typical frequently used setting:
--uninst 1 # uninstall conflicting files
Your choice: []
Please remember to call 'o conf commit' to make the config permanent!
cpan shell -- CPAN exploration and modules installation (v1.9102)
ReadLine support enabled
cpan[1]> install DB_File
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Mon, 04 Jun 2007 19:10:03 GMT
Running install for module 'DB_File'
Running make for P/PM/PMQS/DB_File-1.815.tar.gz
CPAN: Digest::SHA loaded ok (v5.44)
CPAN: Compress::Zlib loaded ok (v2.004)
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/DB_File-1.815.tar.gz ok
Scanning cache /root/.cpan/build for sizes
.......................................................................-----DONE
DEL(1/2): /root/.cpan/build/Term-ReadLine-Perl-1.0302
DEL(2/2): /root/.cpan/build/YAML-0.62
DB_File-1.815/
DB_File-1.815/dbinfo
DB_File-1.815/patches/
DB_File-1.815/patches/5.6.0
DB_File-1.815/patches/5.005_02
DB_File-1.815/patches/5.005_03
DB_File-1.815/patches/5.004_03
DB_File-1.815/patches/5.004_05
DB_File-1.815/patches/5.004_02
DB_File-1.815/patches/5.005_01
DB_File-1.815/patches/5.004_04
DB_File-1.815/patches/5.004_01
DB_File-1.815/patches/5.005
DB_File-1.815/patches/5.004
DB_File-1.815/hints/
DB_File-1.815/hints/sco.pl
DB_File-1.815/hints/dynixptx.pl
DB_File-1.815/t/
DB_File-1.815/t/db-btree.t
DB_File-1.815/t/db-recno.t
DB_File-1.815/t/pod.t
DB_File-1.815/t/db-hash.t
DB_File-1.815/Changes
DB_File-1.815/DB_File_BS
DB_File-1.815/fallback.h
DB_File-1.815/MANIFEST
DB_File-1.815/typemap
DB_File-1.815/ppport.h
DB_File-1.815/DB_File.xs
DB_File-1.815/META.yml
DB_File-1.815/config.in
DB_File-1.815/DB_File.pm
DB_File-1.815/version.c
DB_File-1.815/fallback.xs
DB_File-1.815/README
DB_File-1.815/Makefile.PL
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build P/PM/PMQS/DB_File-1.815.tar.gz
Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ldb
Writing Makefile for DB_File
CPAN: YAML loaded ok (v0.62)
cp DB_File.pm blib/lib/DB_File.pm
AutoSplitting blib/lib/DB_File.pm (blib/lib/auto/DB_File)
cc -c -I/usr/local/BerkeleyDB/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.815\" -DXS_VERSION=\"1.815\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c
version.c:30:16: error: db.h: No such file or directory
make: *** [version.o] Error 1
PMQS/DB_File-1.815.tar.gz
/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
Failed during this command:
PMQS/DB_File-1.815.tar.gz : make NO