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

Re: unable to build svn server: aprutils/bdb issues

From: Simon Kitching <simon_at_ecnetwork.co.nz>
Date: 2004-02-11 21:13:47 CET

On Thu, 2004-02-12 at 05:33, Ben Collins-Sussman wrote:
> On Wed, 2004-02-11 at 11:47, Simon Kitching wrote:
>
> > > * tell apr-util (either directly, or through apache's configure) to use
> > > --with-berkeley-db=/usr/local/BerkeleyDB.4.2.
> >
> >
> > I tried downloading the latest apr-util snapshot. Of course it comes
> > without a configure file, unlike the apr-util subdir in httpd-2.0.48
> > :-(.
>
> Are you building httpd-2.0.48? That's what I do. You don't need the
> latest snapshot of apr-util. The one bundled in httpd-2.0.48 works just
> fine. Just configure apache
> --with-berkeley-db=/usr/local/BerkeleyDB.4.2 and it's apr-util will link
> to it just fine, assuming that /usr/local/BerkeleyDB.4.2 is in your
> /etc/ld.so.conf and/or LD_LIBRARY_PATH.

Hmm .. that's what I *thought* I tried before.
However I gave it another go, and now it all works. Spooky.

Anyway, I can confirm that this process *does* build svn server stuff
with BerkeleyDB.4.2 on Mandrake9.2 (and probably all other linux)..
 * download berkeleydb 4.2 source, compile, install
 * update /etc/ld.so.conf to include "/usr/local/BerkeleyDB.4.2/lib"
   and run ldconfig
 * download httpd-2.0.48 source
 * compile & install httpd-2.0.48/srclib/apr using
    ./configure
 * compile & install httpd-2.0.48/srclib/apr-util using
    ./configure --with-apr=/usr/local/apr \
      --with-berkeley-db=/usr/local/BerkeleyDB.4.2
    ignore the messages about finding "berkeleydb 4.1"; it does
    actually build against the specified 4.2 version.
 * download subversion 1.0.0rc1, delete apr and apr-util subdirs
 * compile & install subversion with
     ./configure --with-apr=/usr/local/apr \
       -- with-apr-util=/usr/local/apr

Thanks for the help - now looking forward to trying to compile all this
on AIX :-)

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