From owner-freebsd-questions@FreeBSD.ORG Tue Feb 13 07:20:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6026516A400 for ; Tue, 13 Feb 2007 07:20:43 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id E2E2113C49D for ; Tue, 13 Feb 2007 07:20:42 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 482BC4718C6 for ; Tue, 13 Feb 2007 08:20:43 +0100 (CET) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id C11853867C2 for ; Tue, 13 Feb 2007 08:20:47 +0100 (CET) (envelope-from LConrad@Go2France.com) X-AV-Checked: Tue Feb 13 08:20:47 2007 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id B6282386781 for ; Tue, 13 Feb 2007 08:20:47 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from TX2.Go2France.com [66.90.247.9] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A3211370110; Mon, 12 Feb 2007 19:34:09 +0100 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.6 (Beta) Date: Mon, 12 Feb 2007 12:50:22 -0600 To: freebsd-questions@freebsd.org From: Len Conrad In-Reply-To: <200702091737140.SM00716@TX2.Go2France.com> References: <200702091737140.SM00716@TX2.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <200702121934312.SM00716@TX2.Go2France.com> Subject: Re: can't complete BerkeleyDB and Berkele.pm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 07:20:43 -0000 At 10:53 AM 2/9/2007, you wrote: >Done this many times, but this time something is screwed: > >FreeBSD 4.10-RELEASE > >db41-4.1.25_2 The Berkeley DB package, revision 4.1 > >perl -MCPAN -e 'install BerkeleyDB' > >fails with : > >Manifying blib/man3/BerkeleyDB.3 > /usr/bin/make -- OK >Running make test > >PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" >"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >t/btree........Can't load >'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' >for module BerkeleyDB: >/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: >Undefined symbol "db_create" at >/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230. > at t/btree.t line 6 > >Compilation failed in require at t/btree.t line 6. > >BEGIN failed--compilation aborted at t/btree.t line 6. > >Undefined subroutine &BerkeleyDB::Term::close_everything called at >/root/.cpan/build/BerkeleyDB-0.31/blib/lib/BerkeleyDB.pm line 1675. > >END failed--call queue aborted at t/btree.t line 6. > >t/btree........dubious > Test returned status 2 (wstat 512, 0x200) > >t/cds..........Can't load >'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' >for module BerkeleyDB: >/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: >Undefined symbol "db_create" at >/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230. > at t/cds.t line 8 > >... etc, etc. > >Suggestions? ============== I loaded the 4.10 release /usr/ports tree and did cd /usr/ports/databases/p5-BerkeleyDB make && make install which hummed along fine until: creating libdb3_cxx.la (cd .libs && rm -f libdb3_cxx.la && ln -s ../libdb3_cxx.la libdb3_cxx.la) /bin/sh ./libtool --mode=compile cc -c -O -pipe -I./../dist/../include -D_THREAD_SAFE ./../dist/../db_dump185/db_dump185.c rm -f .libs/db_dump185.lo cc -c -O -pipe -I./../dist/../include -D_THREAD_SAFE ./../dist/../db_dump185/db_dump185.c -fPIC -DPIC -o db_dump185.o ./../dist/../db_dump185/db_dump185.c: In function `main': ./../dist/../db_dump185/db_dump185.c:210: warning: assignment makes pointer from integer without a cast ./../dist/../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast ./../dist/../db_dump185/db_dump185.c:227: structure has no member named `seq' ./../dist/../db_dump185/db_dump185.c:227: `R_NEXT' undeclared (first use in this function) ./../dist/../db_dump185/db_dump185.c:227: (Each undeclared identifier is reported only once ./../dist/../db_dump185/db_dump185.c:227: for each function it appears in.) ./../dist/../db_dump185/db_dump185.c:232: structure has no member named `seq' ./../dist/../db_dump185/db_dump185.c: In function `db_hash': ./../dist/../db_dump185/db_dump185.c:260: structure has no member named `internal' ./../dist/../db_dump185/db_dump185.c:262: structure has no member named `internal' ./../dist/../db_dump185/db_dump185.c: In function `db_btree': ./../dist/../db_dump185/db_dump185.c:287: structure has no member named `internal' *** Error code 1 Stop in /usr/ports/databases/db3/work/db-3.3.11/build_unix. *** Error code 1 Stop in /usr/ports/databases/db3. *** Error code 1 Stop in /usr/ports/databases/p5-BerkeleyDB. Suggestions? thanks Len