From: Samba - BoYang <boyang@samba.org>
To: Jeff Garzik <jeff@garzik.org>
Cc: hail-devel@vger.kernel.org
Subject: Re: CLD doesn't build on db-4.3
Date: Fri, 02 Apr 2010 08:35:29 +0800 [thread overview]
Message-ID: <4BB53BD1.1030503@samba.org> (raw)
In-Reply-To: <4BB4B5D4.2000300@garzik.org>
[-- Attachment #1: Type: text/plain, Size: 348 bytes --]
On 04/01/2010 11:03 PM, Jeff Garzik wrote:
> I'm fine with adding support for 4.9+ as long as the APIs function in a
> compatible manner.
>
> Want to create the simple patch for this? :)
Here is the patch for master, please review it. Thanks!
>
> Thanks,
>
> Jeff
>
>
>
>
>
>
--
Samba Team boyang@samba.org http://www.samba.org
[-- Attachment #2: disbale-db-4.3-4.5-mbox.diff --]
[-- Type: text/x-patch, Size: 1296 bytes --]
From 94472c2e304a9a94197e8d593ad3987cdbe4e383 Mon Sep 17 00:00:00 2001
From: Bo Yang <boyang@samba.org>
Date: Fri, 2 Apr 2010 08:30:39 +0800
Subject: [PATCH] Disable db4.3 - 4.5 for incompatible APIs.
Signed-off-by: Bo Yang <boyang@samba.org>
---
configure.ac | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 38688f1..4dcf9e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,13 +74,12 @@ dnl AC_TYPE_PID_T
dnl -----------------------------
dnl Checks for required libraries
dnl -----------------------------
-AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
+AC_CHECK_LIB(db-5.0, db_create, DB4_LIBS=-ldb-5.0,
+ AC_CHECK_LIB(db-4.9, db_create, DB4_LIBS=-ldb-4.9,
+ AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
AC_CHECK_LIB(db-4.6, db_create, DB4_LIBS=-ldb-4.6,
- AC_CHECK_LIB(db-4.5, db_create, DB4_LIBS=-ldb-4.5,
- AC_CHECK_LIB(db-4.4, db_create, DB4_LIBS=-ldb-4.4,
- AC_CHECK_LIB(db-4.3, db_create, DB4_LIBS=-ldb-4.3,
- [AC_MSG_ERROR([Missing required libdb 4.x])]))))))
+ [AC_MSG_ERROR([Missing required libdb 4.6+])])))))
AC_CHECK_LIB(crypto, MD5_Init, CRYPTO_LIBS=-lcrypto)
AC_SEARCH_LIBS(argp_parse, argp)
AC_SEARCH_LIBS(recv, socket)
--
1.6.0.2
next prev parent reply other threads:[~2010-04-02 0:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 11:01 CLD doesn't build on db-4.3 Samba - BoYang
2010-04-01 13:56 ` Pete Zaitcev
2010-04-01 15:03 ` Jeff Garzik
2010-04-01 20:50 ` Pete Zaitcev
2010-04-02 0:38 ` Samba - BoYang
2010-04-02 0:35 ` Samba - BoYang [this message]
2010-04-14 4:32 ` Jeff Garzik
2010-04-14 4:59 ` Pete Zaitcev
2010-04-14 10:44 ` Here is small patch to enable link against higher-version db for nfs4d and tabled. :-) Samba - BoYang
2010-04-14 13:40 ` Jeff Garzik
2010-04-14 13:50 ` Samba - BoYang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BB53BD1.1030503@samba.org \
--to=boyang@samba.org \
--cc=hail-devel@vger.kernel.org \
--cc=jeff@garzik.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.