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

Re: Heimdal-0.6 compile problem




Love <lha@stacken.kth.se> writes:

> Igor Zivkovic <izivkov1@jagor.srce.hr> writes:
>
>> I also have Berkeley DB 4.1.25 and I set CFLAGS, LDFLAGS and CPPFLAGS 
>> before running configure because it isn't installed in default location
>> but that didn't help. Anyways, Luke Howard's patches fixed the problem.
>
> Thank you for testing the patches, I'll make sure they get included.

You'll also need this patch if you don't want pass in extra CPPFLAGS.

Love



--- lib/hdb/db3.c.old	29 Aug 2003 16:35:49 -0000
+++ lib/hdb/db3.c	29 Aug 2003 16:53:37 -0000
@@ -39,3 +39,9 @@
 
+#ifdef HAVE_DB4_DB_H
+#include <db4/db.h>
+#elif defined(HAVE_DB3_DB_H)
+#include <db3/db.h>
+#else
 #include <db.h>
+#endif
 

PGP signature