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

Re: Problems setting up svn trunk with httpd HEAD

From: Scott Sanders <ssanders_at_dotnot.org>
Date: 2003-05-08 07:15:11 CEST

Michael Price wrote:

> Ben Collins-Sussman wrote:
>
>> Scott Sanders <ssanders@dotnot.org> writes:
>>
>>> [Sun May 04 22:16:02 2003] [error] [client 63.195.55.166] (84)Invalid
>>> or incomplete multibyte or wide character: bad database version: got
>>> 3.3.11, should be at least 4.0.14 [500, #160000]
>>
>>
>> You're approximately the 77th person to run into this problem. Why oh
>> why oh why oh why haven't we made this a compilation FAQ already?!?
>>
>> Your apr-util linked against DB-3, and svn linked against DB-4.
>> Unfortunately, the DB symbols aren't different. When mod_dav_svn is
>> loaded into Apache's process-space, it ends up resolving the
>> symbolnames against apr-util's DB-3 library.
>>
>> IIRC, the solution is to pass proper compilation flags. If a clueful
>> person can follow up with the exact solution, I promise to make it
>> into a FAQ right away. I'm tired of hearing about this problem.
>
>
> Pass "--with-dbm=db4 --with-berkeley-db=/the/db/prefix" to Apache's
> configure. Then pass "--with-apr=/the/apache/prefix/bin/apr-config
> --with-apr-util=/the/apache/prefix/bin/apu-config" to Subversion's
> configure.
>
> Sticking the appropriate paths in there of course :)
>
> Michael
>
That worked beautifully. Thank you much, Micheal.

I was trying with a separate apr and apr-util, but gave up when apr-util
from HEAD couldn't find db4. Switched to the apr released with httpd
2.0.45, and everything worked perfectly.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 8 07:16:02 2003

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.