Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

make install of bdb 4.6.21 fails @ missing db.h

626129Mar 1 2008 — edited Mar 5 2008
hi,

i'm building

berkeley-db-4.6.21 w/ strong crypto

on OSX Leopard 10.5.2

uname -v
Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008;
root:xnu-1228.3.13~1/RELEASE_PPC

i've built it countless times on 10.4.x without issue.

building same as "always",

setenv LDFLAGS "-F/Library/Frameworks -framework Tcl"
setenv CPPFLAGS "-I/Library/Frameworks/Tcl.framework/Headers"

rehash
cd /build/db-4.6.21/dist
glibtoolize force copy
cp /usr/local/share/aclocal/libtool.m4 aclocal/libtool.ac
sh s_config

cd /build/db-4.6.21/build_unix
../dist/configure \
--prefix=/usr/local/bdb_test \
enable-shared enable-static \
--enable-rpc \
--enable-pthread_api \
--enable-cxx \
--enable-java \
--enable-tcl \
--with-tcl=/Library/Frameworks/Tcl.framework \
--disable-test \
--disable-compat185

make

all complete without error.

next, a

make install

fails at

make install
Installing DB include files: /usr/local/bdb_test/include ...
cp: `db.h': No such file or directory
cp: cannot stat `db_cxx.h': No such file or directory
make: *** [install_include] Error 1

checking, i've

/build/db-4.6.21/build_unix > ls -al db*.h
-rw-r--r-- 1 root 100 107166 Feb 29 17:49 db.h
-rw-r--r-- 1 root 100 16149 Feb 29 17:49 db_config.h
-rw-r--r-- 1 root 100 25015 Feb 29 17:49 db_int.h
-rw-r--r-- 1 root 100 102767 Feb 29 17:48 db_server.h


the errant clause in 'Makefile' @ line ~740 is,

INCDOT= db.h db_cxx.h
install_include:
@echo "Installing DB include files: $(DESTDIR)$(includedir) ..."
@test -d $(DESTDIR)$(includedir) || \
($(MKDIR) -p $(DESTDIR)$(includedir) && \
$(CHMOD) $(dmode) $(DESTDIR)$(includedir))
@cd $(DESTDIR)$(includedir) && $(RM) -f $(INCDOT)
@$(CP) -p /build/db-4.6.21/build_unix/$(INCDOT) $(DESTDIR)$(includedir)
@cd $(DESTDIR)$(includedir) && $(CHMOD) $(fmode) $(INCDOT)


any hints as to why the 'install' is not finding the db.h?

thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2008
Added on Mar 1 2008
8 comments
2,025 views