Re: gnome-libs and DB3

>> "AC" == Allin Cottrell <cottrell wfu edu> writes:

> On Wed, 24 Oct 2001, Matthew Schalit wrote:

>> I'm so immensely tired of gnome compile problems that I stopped
>> months ago and forgot the short answer to your problem.  I know
>> that you're testing for __db185_open in DB-2.7.7, but that's not
>> what it tests for if I recall the configure script correctly...

> I too remember the relationship between db versions and the gnome libs
> as being a nightmare.  I eventually bodged something together with the
> help of a patch for the configure script, IIRC.  Christian Marillat
> posted a patch to this list in April 2001, and I may have used that.
> Sorry, didn't make proper notes at the time.

The patch.

---   Sat Sep  8 10:11:25 2001
+++        Sat Sep  8 10:12:21 2001
@@ -321,9 +321,9 @@
- AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
+ AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
   AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
-   AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
+   AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
     AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])

Don't forget to run autoconf after.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]