centurydaily-lm:memcacheq-0.1.1 sabhinav$ sudo port install db47
Password:
---> Computing dependencies for db47
---> Fetching db47
---> Attempting to fetch patch.4.7.25.1 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/
---> Attempting to fetch patch.4.7.25.2 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/
---> Attempting to fetch patch.4.7.25.3 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/
---> Attempting to fetch db-4.7.25.tar.gz from
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/db47
---> Verifying checksum(s) for db47
---> Extracting db47
---> Applying patches to db47
---> Configuring db47
---> Building db47
---> Staging db47 into destroot
---> Installing db47 @4.7.25_1
---> Activating db47 @4.7.25_1
---> Cleaning db47
centurydaily-lm:memcacheq-0.1.1 sabhinav$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... rm: a.out.dSYM: is
a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... rm:
conftest.dSYM: is a directory
yes
checking for libevent directory... (system)
checking for library containing db_create... no
configure: error: cannot find libdb.so in /usr/local/BerkeleyDB.4.7/
lib
My bdb 4.7 is not under /usr/local, instead it lies here:
centurydaily-lm:~ sabhinav$ ls -l /opt/local/lib/db47/
total 26328
-r--r--r-- 2 root admin 499427 Dec 13 16:32 db.jar
-rw-r--r-- 2 root admin 1663104 Dec 13 16:32 libdb-4.7.a
-rwxr-xr-x 2 root admin 1250868 Dec 13 16:31 libdb-4.7.dylib
-rw-r--r-- 2 root admin 830 Dec 13 16:31
libdb-4.7.la
lrwxr-xr-x 1 root admin 15 Dec 13 16:32 libdb-4.dylib ->
libdb-4.7.dylib
-rw-r--r-- 2 root admin 1663104 Dec 13 16:32 libdb.a
lrwxr-xr-x 1 root admin 15 Dec 13 16:32 libdb.dylib ->
libdb-4.7.dylib
-rw-r--r-- 2 root admin 1861912 Dec 13 16:32 libdb_cxx-4.7.a
-rwxr-xr-x 2 root admin 1366640 Dec 13 16:31 libdb_cxx-4.7.dylib
-rw-r--r-- 2 root admin 858 Dec 13 16:31
libdb_cxx-4.7.la
lrwxr-xr-x 1 root admin 19 Dec 13 16:32 libdb_cxx-4.dylib ->
libdb_cxx-4.7.dylib
-rw-r--r-- 2 root admin 1861912 Dec 13 16:32 libdb_cxx.a
lrwxr-xr-x 1 root admin 19 Dec 13 16:32 libdb_cxx.dylib ->
libdb_cxx-4.7.dylib
-rw-r--r-- 2 root admin 1848216 Dec 13 16:32 libdb_java-4.7.a
-rwxr-xr-x 2 root admin 1401736 Dec 13 16:31 libdb_java-4.7.jnilib
-rw-r--r-- 2 root admin 869 Dec 13 16:31
libdb_java-4.7.la
lrwxr-xr-x 1 root admin 21 Dec 13 16:32
libdb_java-4.7_g.jnilib -> libdb_java-4.7.jnilib
lrwxr-xr-x 1 root admin 21 Dec 13 16:32 libdb_java-4.jnilib ->
libdb_java-4.7.jnilib
lrwxr-xr-x 1 root admin 21 Dec 13 16:32 libdb_java.jnilib ->
libdb_java-4.7.jnilib
Any help will be greatly appreciated.