From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 13:09:03 2006 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 CA74516A505 for ; Thu, 7 Dec 2006 13:09:03 +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 2C03643D46 for ; Thu, 7 Dec 2006 13:05:57 +0000 (GMT) (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 A83B74718F0 for ; Thu, 7 Dec 2006 14:06:40 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 1C0CF386777 for ; Thu, 7 Dec 2006 14:06:41 +0100 (CET) (envelope-from LConrad@Go2France.com) X-AV-Checked: Thu Dec 7 14:06:41 2006 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 12209386733 for ; Thu, 7 Dec 2006 14:06:41 +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 AE8E143401F8; Thu, 07 Dec 2006 13:52:30 +0100 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.6 (Beta) Date: Thu, 07 Dec 2006 07:06:34 -0600 To: freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <200612071352562.SM00292@TX2.Go2France.com> Subject: pb installing P5-BerkeleyDB 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: Thu, 07 Dec 2006 13:09:03 -0000 freebsd 4.10-R perl 5.8.2 ========== cd /usr/ports/databases/db41 cd /usr/ports/databases/db41 %make && make install ===> Vulnerability check disabled ===> Extracting for db41-4.1.25_2 >> Checksum mismatch for bdb/db-4.1.25.tar.gz. >> Checksum OK for bdb/patch.4.1.25.1. ===> Refetch for 1 more times files: bdb/db-4.1.25.tar.gz ===> Vulnerability check disabled >> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. >> Attempting to fetch from http://www.sleepycat.com/update/snapshot/. fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz: Moved Permanently >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: size mismatch: expected 3080234, actual 2901161 >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 Stop in /usr/ports/databases/db41. *** Error code 1 Stop in /usr/ports/databases/db41. ok, so RTFMsg above and : %cd /usr/ports/distfiles/bdb %ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz cd dist ./configure make && make intall .... all works fine: %ll /usr/local/BerkeleyDB.4.1/bin/ total 104 -r-xr-xr-x 1 root 100 - 5612 Dec 7 07:57 db_archive* -r-xr-xr-x 1 root 100 - 7116 Dec 7 07:57 db_checkpoint* -r-xr-xr-x 1 root 100 - 6720 Dec 7 07:57 db_deadlock* -r-xr-xr-x 1 root 100 - 10064 Dec 7 07:57 db_dump* -r-xr-xr-x 1 root 100 - 17264 Dec 7 07:57 db_load* -r-xr-xr-x 1 root 100 - 7996 Dec 7 07:57 db_printlog* -r-xr-xr-x 1 root 100 - 6684 Dec 7 07:57 db_recover* -r-xr-xr-x 1 root 100 - 23488 Dec 7 07:57 db_stat* -r-xr-xr-x 1 root 100 - 5932 Dec 7 07:57 db_upgrade* -r-xr-xr-x 1 root 100 - 6828 Dec 7 07:57 db_verify* %ll /usr/local/BerkeleyDB.4.1/lib total 1586 -rw-r--r-- 1 root 100 - 878878 Dec 7 07:57 libdb-4.1.a -rw-r--r-- 1 root 100 - 724 Dec 7 00:03 libdb-4.1.la -rwxr-xr-x 1 root 100 - 695625 Dec 7 00:03 libdb-4.1.so* lrwxr-xr-x 1 root wheel - 12 Dec 7 07:57 libdb-4.so@ -> libdb-4.1.so lrwxr-xr-x 1 root wheel - 11 Dec 7 07:57 libdb.a@ -> libdb-4.1.a lrwxr-xr-x 1 root wheel - 12 Dec 7 07:57 libdb.so@ -> libdb-4.1.so Install the Perl5 module for BerkeleyDB: cd /usr/ports/databases/p5-BerkeleyDB make WITH_BDB_VER=41 %cd /usr/ports/databases/p5-BerkeleyDB %make WITH_BDB_VER=41 ===> p5-BerkeleyDB-0.25 depends on shared library: db41.1 - not found <<<<<<<<<<<<<<<<< ===> Verifying install for db41.1 in /usr/ports/databases/db41 ===> Vulnerability check disabled ===> Extracting for db41-4.1.25_2 >> Checksum mismatch for bdb/db-4.1.25.tar.gz. >> Checksum OK for bdb/patch.4.1.25.1. ===> Refetch for 1 more times files: bdb/db-4.1.25.tar.gz ===> Vulnerability check disabled >> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. >> Attempting to fetch from http://www.sleepycat.com/update/snapshot/. fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz: Moved Permanently >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: size mismatch: expected 3080234, actual 2901161 >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 but : %ll /usr/ports/distfiles/bdb total 2868 drwxr-xr-x 54 100 100 - 1024 Dec 7 07:57 db-4.1.25/ -rw-r--r-- 1 root wheel - 2901161 Feb 9 2006 db-4.1.25.tar.gz -rw-r--r-- 1 root wheel - 610 Jan 27 2003 patch.4.1.25.1 I also tried putting it here: %ll /usr/ports/databases/db41 total 2922 -rw-r--r-- 1 root wheel - 1267 Apr 16 2004 Makefile drwxr-xr-x 54 100 100 - 1024 Dec 19 2002 db-4.1.25/ -rw-r--r-- 1 root wheel - 2901161 Feb 9 2006 db-4.1.25.tar.gz -rw-r--r-- 1 root wheel - 192 Mar 17 2004 distinfo drwxr-xr-x 2 root wheel - 512 Sep 29 2004 files/ -rw-r--r-- 1 root wheel - 489 Jul 9 2003 pkg-descr -rw-r--r-- 1 root wheel - 49150 Jan 6 2003 pkg-plist so how do I get : cd /usr/ports/databases/p5-BerkeleyDB make WITH_BDB_VER=41 make WITH_BDB_VER=41 install ... to find the BerekelyDB? thanks Len