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,

Jonathan

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
>

Reply via email to