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

Re: Build issue with Berkeley DB?

From: Schifferdecker, Udo <Udo.Schifferdecker_at_vector-informatik.de>
Date: 2004-02-18 10:13:34 CET


I ran into the same problem (always got BDB 4.1), my solution:

When configuring apache use the option "--with-dbm=db4".
Without this option configure looks for db-4.1 always.

In detail:
1. Build and install Berkeley DB 4.2 into /usr/local/BerkeleyDB.4.2
   Add /usr/local/BerkeleyDB.4.2/lib to /etc/ld.so.conf and run ldconfig

2. Build apache:
      $ export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2
      $ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2 \
         --with-dbm=db4 (+ any other options you want)
      $ make && make install

3. Build svn:
      $ export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2
      $ rm -f /usr/local/lib/libsvn*
      $ cd subversion-0.37.0
      $ sh ./autogen.sh
      $ ./configure --enable-maintainer-mode \
       --with-apr=/usr/local/apache2 \
       --with-apr-util=/usr/local/apache2 (+ any other options you want)
      $ make && make install


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 18 10:14:13 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.