[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

1.1.0-rc2 configure problem wrt berkeleydb on freebsd

From: Danny Thomas <d.thomas_at_its.uq.edu.au>
Date: 2004-08-15 09:31:47 CEST

Hello
      for local reasons I'm trying to install subversion outside the
freebsd ports system. I'm using /opt in a basic jail environment
under FreeBSD 4.9-STABLE.

build sleepycat
% cd /opt/src
% tar xf db-4.2.52.tar
% cd db-4.2.52
# copy in patch files
% cp /tmp/patch.4.2.52.1 .
% cp /tmp/patch.4.2.52.2 .
% patch < patch.4.2.52.1
% patch < patch.4.2.52.2
% cd build_unix
#
% ../dist/configure --exec-prefix=/opt/local/BerkeleyDB.4.2 --prefix=/opt/local/
BerkeleyDB.4.2
% make
% mkdir /opt/local/BerkeleyDB.4.2
% make install

% cd /opt/src
% bunzip2 subversion-1.1.0-rc2.tar.bz2
% tar xf subversion-1.1.0-rc2.tar
% cd subversion-1.1.0-rc2
% ./configure -exec-prefix=/opt/local -prefix=/opt/local --with-ssl --with-berkeley-db=/opt/local/BerkeleyDB.4.2
fails in apr-util configure
tries all db possibilities before dying
NB it does succeed without with-berkeley-db option
   although I seem to recall it goes through several versions
   before it gets to berkeley db 1.x

it tries this first but fails
checking for Berkeley DB 4.2 in /opt/local/BerkeleyDB.4.2...
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.2... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb4... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb... no
...
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
configure failed for apr-util

however the sleepycat 4.2 package is detected after
cp /opt/local/BerkeleyDB.4.2/lib/libdb-4.2* /usr/local/lib
just to be sure I cleaned out /opt/local and completely
reinstalled the subversion directory

checking for Berkeley DB 4.2 in /opt/local/BerkeleyDB.4.2...
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.2... yes
  setting APRUTIL_INCLUDES to "-I/opt/local/BerkeleyDB.4.2/include"
  setting APRUTIL_LDFLAGS to "-L/opt/local/BerkeleyDB.4.2/lib"
checking for Berkeley DB... found db4

is this a problem with my installation of sleepycat or is there
some autoconf/configure issue in subversion?
I suspect the C module built from apr-util/build/dbm.m4
is not finding (some?) of the shareable lib, but I'm
clueless when it comes to LD* stuff.

cheers,
Danny Thomas

-- 
   d.thomas@its.uq.edu.au    Danny Thomas,                                    
          +61-7-3365-8221    Software Infrastructure,
 http://www.its.uq.edu.au    ITS, The University of Queensland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 15 09:32:09 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.