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

Re: problems building SVN (and http2.0)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-16 22:17:44 CET

Seth Landsman <seth@boondock.cs.brandeis.edu> writes:

> Currently, I'm using the debian package, so everything is
> installed with the /usr prefix.
>
> According to the config line, it looks like it is finding the
> library and header files, but the function it is looking for
> (db_create()) isn't there.

Ah, I remember this problem. apr-util looks for BDB's db_create using
this autoconf test program

char db_create();

int main() {
db_create()
; return 0; }

but Debian builds BDB using symbols with a suffix (configured with the
--with-uniquename option I think) and so the test program won't work
unless it includes the db.h header file.

I've been meaning to report this to the apr list, but I never got
round to it.

If you build your own version of BDB it should work, you may need to
add /usr/local/db4/lib (or whatever you called it) to your
LD_LIBRARY_PATH.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 16 22:18:44 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.