[Patches] [Patch #101272] Allow bsddbmodule.c to compile with libdb 2.x w/o editing

noreply@sourceforge.net noreply@sourceforge.net
Wed, 23 Aug 2000 20:24:10 -0700


Patch #101272 has been updated. 

Project: 
Category: Modules
Status: Open
Summary: Allow bsddbmodule.c to compile with libdb 2.x w/o editing

Follow-Ups:

Date: 2000-Aug-23 22:22
By: montanaro

Comment:
Eric's been doing lots w/ libdb stuff lately.  I'll see if
he want's to check this patch out... ;-)

-------------------------------------------------------

Date: 2000-Aug-23 23:01
By: fdrake

Comment:
Update patch to also determine whether the bsddb module should be built at all automatically (adding a stanza to Setup.config.in and a comment to Setup.in).  This won't detect all cases automatically, but will catch it on platforms which have it installed as part of the base system (same as for the original patch).
-------------------------------------------------------

Date: 2000-Aug-23 23:02
By: fdrake

Comment:
I'd better note that this still needs testing on a system that only offers BSD db 1.85.
-------------------------------------------------------

Date: 2000-Aug-23 23:24
By: montanaro

Comment:
I'm afraid that's beyond my feeble autoconf/configure skills.
libdb.a is hardly installed in a standard location on all
systems.  The Setup.config.in line would be more involved
than

    @USE_BSDDB_MODULE@bsddb bsddbmodule.c -ldb

(though that would work on my Mandrake Linux system).  I
suspect many people still have to install libdb themselves,
so it could wind up just about anywhere.  You'd have to 
teach autoconf to reliably find libdb.a then add a line to
Setup.config.in that has the correct -L flag.

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101272&group_id=5470