From: Pete Zaitcev <zaitcev@kotori.zaitcev.us>
To: Jeff Garzik <jeff@garzik.org>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: Re: Crash with db5
Date: Sun, 2 Jan 2011 20:36:31 -0700 [thread overview]
Message-ID: <20110102203631.7de9877a@lembas.zaitcev.lan> (raw)
In-Reply-To: <4D2129E2.8020701@garzik.org>
On Sun, 02 Jan 2011 20:44:02 -0500
Jeff Garzik <jeff@garzik.org> wrote:
> > DB_ENV->dbremove: method not permitted before handle's open method
> > cld[11548]: SIGSEGV
> Are you compiling with db4 headers, but linking with db5?
> Or vice versa?
It turned out that Rawhide revved up the db5, so this band-aids it:
commit 42d083416656e195baa79a924df0f11a3f0681c2
Author: Pete Zaitcev <zaitcev@yahoo.com>
Date: Sun Jan 2 20:28:39 2011 -0700
Accept db-5.1.
diff --git a/configure.ac b/configure.ac
index 9cfad23..abc9330 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,8 @@ dnl AC_TYPE_PID_T
dnl -----------------------------
dnl Checks for required libraries
dnl -----------------------------
-AC_CHECK_LIB(db-5.0, db_create, DB4_LIBS=-ldb-5.0,
+AC_CHECK_LIB(db-5.1, db_create, DB4_LIBS=-ldb-5.1,
+ 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,
@@ -83,7 +84,7 @@ AC_CHECK_LIB(db-5.0, db_create, DB4_LIBS=-ldb-5.0,
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.x])])))))))))
AC_CHECK_LIB(event, event_base_new, EVENT_LIBS=-levent,
[AC_MSG_ERROR([Missing required libevent])])
AC_CHECK_LIB(crypto, MD5_Init, CRYPTO_LIBS=-lcrypto)
This needs to stop eventually, just don't know how.
-- Pete
prev parent reply other threads:[~2011-01-03 3:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-03 1:20 Crash with db5 Pete Zaitcev
2011-01-03 1:44 ` Jeff Garzik
2011-01-03 2:19 ` Pete Zaitcev
2011-01-03 3:36 ` Pete Zaitcev [this message]
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=20110102203631.7de9877a@lembas.zaitcev.lan \
--to=zaitcev@kotori.zaitcev.us \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).