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

Re: 1.1.0-rc2 configure problem wrt berkeleydb on freebsd

From: Kay Abendroth <abendroth_at_wsc-gmbh.de>
Date: 2004-08-16 15:44:08 CEST

        Hello Danny,

have you read/tried this:
http://subversion.tigris.org/project_faq.html#linux-bdb42-build ?

Kay

Danny Thomas wrote:

> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 16 15:45:06 2004

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