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

Re: BerkeleyDB4.2 not looked for in build?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-26 04:06:04 CET

John, you and I have been repeating this "formula" to users left and
right, about 20 times in the last few weeks. Do you think you could add
it to our FAQ? Submit a FAQ patch? I'm dying to just point people to a
fixed writeup.

Once a new apr-util is released (or a new httpd), this won't be an issue
anymore. (The latest apr-util in CVS can detect BDB 4.2 just fine.) But
for now, this is a problem that is continuously biting newbies. The
fact that we're recommending BDB 4.2 is making the problem even more
common.

On Wed, 2004-02-25 at 21:01, John Peacock wrote:
> Robert Guthrie wrote:
> > I'm trying to compile subversion 1.0.0 on and AIX at work, and after
> > installing the Berkeley DB, v 4.2 in a custom location, I ran:
> >
> > ./configure --with-berkeley-db=/my/custom/dir/subversion/BerkeleyDB.4.
> >
>
> The best way to build Subversion against BerkeleyDB4.2 is to build Apache first,
> make sure that /it/ is built against the proper BDB libraries, then use a line
> like this:
>
> ./configure --with-apxs=/path/to/apache/bin/apxs
>
> which will, in my experience, do the right thing all the time.
>
> I haven't built on AIX yet; maybe I'll get a chance to do that next week. But
> the theory is this:
>
> 1) Build/install BDB 4.2.x and add whatever you called the $DB directory to
> /etc/ld.so.conf and run ldconfig (or however AIX keeps track of libraries)
>
> 2) Build/install Apache 2.0.48 using
>
> ./configure \
> --enable-dav \
> --enable-so \
> --with-berkeley-db=$DB
>
> 3) Build/install Subversion with the following
>
> ./configure --with-apxs=$HTTPD/bin/apxs
>
>
> QED
>
> John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 26 04:10:07 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.