--- Jonathan Yu <[EMAIL PROTECTED]> wrote: > Hi there: > > Check the perldoc for that module and contact the maintainer. This > mailing list is for CPAN-related issues, and test failures should be > reported to the module maintainer per their instructions in the > Perldoc page. You can view the Perldoc page for that module at: > > http://search.cpan.org/~pmqs/BerkeleyDB-0.36/BerkeleyDB.pod > > Or alternatively, try the DB_File module. > > Cheers,
Hi Jonathan Thanks for your advice. I'm following:- http://www.postfixvirtual.net/postfixvirtual.html#berkeleydb http://www.postfixvirtual.net/postfixantivirus.html#amavisdnew to build postfix virtual. There are 2 BerkeleyDB installed, one being package and another module. I suppose to remove the later? If I'm wrong please correct me. cpan[16]> o conf cpan_home cpan_home [/root/.cpan] Type 'o conf' to view all configuration items # ls -l /root/.cpan/build/ total 68 drwx------ 7 root root 4096 Nov 7 00:46 BerkeleyDB-0.36-8xfeFJ -rw-r--r-- 1 root root 1028 Nov 7 00:46 BerkeleyDB-0.36-8xfeFJ.yml drwx------ 7 root root 4096 Nov 7 01:18 BerkeleyDB-0.36-pwxlCB -rw-r--r-- 1 root root 1028 Nov 7 01:18 BerkeleyDB-0.36-pwxlCB.yml drwxr-xr-x 8 satimis satimis 4096 Nov 2 08:43 CPAN-1.9301 drwxr-xr-x 7 satimis satimis 4096 Nov 2 08:35 Digest-SHA-5.47 drwxr-xr-x 7 501 501 4096 Nov 2 08:34 ExtUtils-MakeMaker-6.48 drwxr-xr-x 6 mysql mysql 4096 Nov 2 08:36 File-HomeDir-0.82 drwxrwxrwx 5 root root 4096 Nov 2 08:43 File-Which-0.05 drwxr-xr-x 8 501 501 4096 Nov 2 08:34 Module-Build-0.30 drwxr-xr-x 5 satimis satimis 4096 Nov 2 08:35 PathTools-3.29 drwxr-xr-x 6 500 500 4096 Nov 2 08:35 Scalar-List-Utils-1.19 drwxrwxrwx 4 root root 4096 Nov 2 08:36 Term-ReadLine-Perl-1.0302 drwx------ 3 501 501 4096 Nov 2 08:36 TermReadKey-2.30 drwxr-xr-x 5 501 501 4096 Nov 2 08:35 Test-Simple-0.84 drwxrwxr-x 5 satimis satimis 4096 Nov 2 08:41 Text-Glob-0.08 drwxr-xr-x 6 501 501 4096 Nov 2 08:41 YAML-0.66 However there are 2 BerkeleyDB modules. Which of them shall I delete? OR delete both and afterwards run; cpan> install DB_File ??? Regarding to delete BerkeleyDB module, can I do follow; # cd /root/.cpan/build/BerkeleyDB-0.36-8xfeFJ OR # cd /root/.cpan/build/BerkeleyDB-0.36-pwxlCB then run; # make uninstall any further step I have to perform ? OR # perl -e 'print join("\n", @INC);' ..... perl: warning: Falling back to the standard locale ("C"). /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl # ls -l /usr/local/lib/perl/5.8.8/ total 180 drwxrwsr-x 2 root staff 4096 Nov 7 03:58 BerkeleyDB -r--r--r-- 1 root staff 35494 Sep 30 21:30 BerkeleyDB.pm -r--r--r-- 1 root staff 55777 Sep 28 2007 BerkeleyDB.pod drwxrwsr-x 3 root staff 4096 Oct 27 10:29 Compress drwxrwsr-x 2 root staff 4096 Oct 31 16:44 Convert -r--r--r-- 1 root staff 19566 Oct 29 19:59 Cwd.pm drwxrwsr-x 2 root staff 4096 Nov 2 08:36 Digest drwxrwsr-x 3 root staff 4096 Nov 2 08:35 File drwxrwsr-x 2 root staff 4096 Oct 27 09:36 HTML drwxrwsr-x 2 root staff 4096 Nov 2 08:35 List drwxrwsr-x 3 root staff 4096 Oct 27 09:56 Net drwxrwsr-x 2 root staff 4096 Nov 2 08:35 Scalar drwxrwsr-x 2 root staff 4096 Nov 2 08:36 Term drwxrwsr-x 2 root staff 4096 Nov 1 03:12 Time drwxrwsr-x 2 root staff 4096 Nov 1 03:14 Unix drwxr-sr-x 28 root staff 4096 Nov 2 08:43 auto -rw-rw-r-- 1 root staff 11149 Nov 7 01:16 perllocal.pod manually delete BerkeleyDB, BerkeleyDB.pm and BerkeleyDB.pod OR I have to follow; http://search.cpan.org/~jhi/perl-5.8.0/lib/ExtUtils/Install.pm # perl -MExtUtils::Install -e uninstall BerkeleyDB But; # perl -MExtUtils::Installed -e'my $inst = ExtUtils::Installed->new();print $_, $/ for $inst->modules' | grep ExtUtils::Installed perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). I suppose ExtUtils::Installed module not installed, only the annoying message displayed. TIA A side question, how to check whether a module has been installed on cpan? I can't figure out on running "o conf"? B.R. Stephen > > On Fri, Nov 7, 2008 at 3:38 AM, Stephen Liu <[EMAIL PROTECTED]> > wrote: > > Hi folks, > > > > > > Debian Etch > > > > > > Fail testing BerkeleyDB > > > > > > cpan[10]> clean BerkeleyDB > > No complaint > > > > > > cpan[11]> test BerkeleyDB > > ...... > > ....... > > Can't load > > > '/root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' > > for module BerkeleyDB: > > > /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: > > undefined symbol: db_create at /usr/lib/perl/5.8/DynaLoader.pm line > > 225. > > at t/unknown.t line 8 > > Compilation failed in require at t/unknown.t line 8. > > BEGIN failed--compilation aborted at t/unknown.t line 8. > > Undefined subroutine &BerkeleyDB::Term::close_everything called at > > /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm > line > > 1764. > > END failed--call queue aborted at t/unknown.t line 8. > > t/unknown......dubious > > Test returned status 2 (wstat 512, 0x200) > > Failed Test Stat Wstat Total Fail Failed List of Failed > > > ------------------------------------------------------------------------------- > > t/btree.t 2 512 ?? ?? % ?? > > t/cds.t 2 512 ?? ?? % ?? > > t/db-3.0.t 2 512 ?? ?? % ?? > > t/db-3.1.t 2 512 ?? ?? % ?? > > t/db-3.2.t 2 512 ?? ?? % ?? > > t/db-3.3.t 2 512 ?? ?? % ?? > > t/db-4.4.t 2 512 ?? ?? % ?? > > t/db-4.6.t 2 512 ?? ?? % ?? > > t/db-4.7.t 2 512 ?? ?? % ?? > > t/db-4.x.t 2 512 ?? ?? % ?? > > t/destroy.t 2 512 ?? ?? % ?? > > t/encrypt.t 2 512 ?? ?? % ?? > > t/env.t 2 512 ?? ?? % ?? > > t/examples.t 2 512 ?? ?? % ?? > > t/examples3.t 2 512 ?? ?? % ?? > > t/filter.t 2 512 ?? ?? % ?? > > t/hash.t 2 512 ?? ?? % ?? > > t/join.t 2 512 ?? ?? % ?? > > t/queue.t 2 512 ?? ?? % ?? > > t/recno.t 2 512 ?? ?? % ?? > > t/sequence.t 255 65280 ?? ?? % ?? > > t/strict.t 2 512 ?? ?? % ?? > > t/subdb.t 2 512 ?? ?? % ?? > > t/txn.t 2 512 ?? ?? % ?? > > t/unknown.t 2 512 ?? ?? % ?? > > 1 test skipped. > > Failed 25/27 test scripts, 7.41% okay. 0/4 subtests failed, 100.00% > > okay. > > make: *** [test_dynamic] Error 2 > > PMQS/BerkeleyDB-0.36.tar.gz > > /usr/bin/make test -- NOT OK > > //hint// to see the cpan-testers results for installing this > module, > > try: > > reports PMQS/BerkeleyDB-0.36.tar.gz > > Failed during this command: > > PMQS/BerkeleyDB-0.36.tar.gz : make_test NO > > > > > > > > # nano /usr/lib/perl/5.8/DynaLoader.pm > > my $libref = dl_load_file($file, $module->dl_load_flags) or (line > 225) > > croak("Can't load '$file' for module $module: ".dl_error()); > > > > > > > > # nano /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/t/txn.t > > use lib 't' ; > > use BerkeleyDB; (line 6) > > use util ; > > > > > > > > # nano /root/.cpan/build/BerkeleyDB-0.36-8xfeFJ/t/txn.t > > use lib 't' ; > > use BerkeleyDB; (line 6) > > use util ; > > > > > > > > # nano > /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm > > { > > close_everything() ; (line 1764) > > } > > > > > > Please help. TIA > > > > > > B.R. > > Stephen L > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > Send instant messages to your online friends http://uk.messenger.yahoo.com