[Box Backup-dev] COMMIT r245 - box/trunk/infrastructure/m4

Jonathan Morton boxbackup-dev@fluffy.co.uk
Mon, 19 Dec 2005 23:10:21 +0000


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-4--39685102
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

>>> Add more libdb version checks when configuring for Berkeley DB
>>
>> A step in the right direction, but not far enough.  Libdb1 is now
>> found, containing dbopen(), but the following "does it work" test
>> uses db185_open(), and thus fails.
>
> That's odd. What happens if you edit
>     infrastructure/m4/ax_check_bdb_v1.m4
> and change the line that says
>     AC_SEARCH_LIBS([__db185_open],
> to
>     AC_SEARCH_LIBS([db185_open],

No difference, as far as I can tell.

However, I notice that the code emitted by configure for this test  
actually tries to call dbopen(), but the linker complains that  
__db185_open() is missing.  This tells me that db_185.h is doing  
something weird that breaks.

I think the real fix is to move to proper db4 support, but I have no  
idea what that entails.

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi@chromatix.org.uk
website:  http://www.chromatix.uklinux.net/
tagline:  The key to knowledge is not to rely on people to teach you it.



--Apple-Mail-4--39685102
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkOnPd0ACgkQ6xAxI1ofIwql5QCgvE20enBjeDOVdcSqJgRr6Q1m
CSQAn064I6JqM/3XMjnr5tEwmY+LRc9q
=BQPt
-----END PGP SIGNATURE-----

--Apple-Mail-4--39685102--