[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: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-13 21:49:12 CET

Andreas Jellinghaus wrote:

> You are volunteering to track down the bug? Great!
> 1.) apr or apr-utils sometimes seem to -L/usr/lib, which if it has a db
> library can cause confusion.

I don't see that here (and it would only be in apr-utils, AFAICT). Have you
already exported a value for $LDFLAGS?

> 2.) subversion uses in build.conf:
> external-lib = $(SVN_APRUTIL_LIBS)
>
> which is set by configure to
> SVN_APRUTIL_LIBS="`$apu_config --link-libtool --libs`"
> which on my system does not include -L/path/to/db/lib
>
> whereas
> SVN_APRUTIL_EXPORT_LIBS="`$apu_config --link-ld --libs`"
> does.

Neither of those contains anything with relation to Berkeley on my system:

$ /usr/local/apache2/bin/apu-config --link-libtool --libs
  /usr/local/apache2/lib/libaprutil-0.la -lgdbm -ldb -lexpat

jpeacock@ranger1 ~/working/svn-1.0
$ /usr/local/apache2/bin/apu-config --link-ld --libs
  -L/usr/local/apache2/lib -laprutil-0 -lgdbm -ldb -lexpat

However, at least on my machines, this does

$ /usr/local/apache2/bin/apu-config --ldflags
  -L/usr/local/BerkeleyDB.4.2//lib

Again, do you have an already existing $LDFLAGS in your environment?

>>2) Download and build Apache 2.0.48 using (at least) the following:
>
>
> build apache with apache's version of apache? that works?
                                         ^^^^^^
I assume you mean apr/apr-util there, and yes, it does (for me with several
platforms for a while now).

>
>
>>3) Download and build Subversion 0.37.0 using (at least) the following:
>
>
> last time i checked svn needed it's own apr version, the one in apache
> 2.0.48 wasn't good enough. has that changed?

AFAIK, the newer APR is only required if you _don't_ rely on Apache's apxs to
specify the BDB version to use.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 21:49: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.