[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: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-26 04:01:40 CET

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

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
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:00:53 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.