pb installing P5-BerkeleyDB

Len Conrad LConrad at Go2France.com
Thu Dec 7 05:09:03 PST 2006


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




More information about the freebsd-questions mailing list