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

Re: Support for BDB in RPM's

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-29 17:17:14 CEST

Philip Martin <philip@codematters.co.uk> writes:

> David Summers <david@summersoft.fay.ar.us> writes:
>
>> OK, I tried several more things. The db-4.2 is listed FIRST in the
>> 'ldd svn' and 'ldd svnadmin' but that doesn't help.
>>
>> I fiddeled around and switched all -ldb to -ldb-4.2 and all
>> -I/usr/include/db42 is include FIRST before other includes.
>>
>> No luck. It compiles but still produces BDB 4.1.25 repositories.
>
> It still appears that you are not picking up the 4.2 header files.
> You can confirm that by running nm on libsvn_fs_base-1.so, or by
> adding -H to the gcc compile command.

I've just had another idea. The apu_want.h header file is generated
dring the apr-util build, it's possible that the file you are using
refers to a 4.1 specific file (say db41/db.h or something) in which
case using -I to pick up the 4.2 header won't work. If that is the
case then I suggest you create your own local apu_want.h header and
then use -I to cause that apu_want.h to be used in preference to the
system apu_want.h.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 29 17:19:15 2005

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.