‘class Xapian::Database’ has no member named ‘close’
Michal Nazarewicz
mina86 at mina86.com
Tue Aug 7 08:23:11 PDT 2012
Hi guys,
when I'm trying to build notmuch on Ubuntu Lucid, I'm getting the
following error:
lib/database.cc: In function ‘void notmuch_database_close(notmuch_database_t*)’:
lib/database.cc:767: error: ‘class Xapian::Database’ has no member named ‘close’
I'm solving that by:
diff --git a/lib/database.cc b/lib/database.cc
index 761dc1a..fd78135 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -764,7 +764,7 @@ notmuch_database_close (notmuch_database_t *notmuch)
* close it. Thus, we explicitly close it here. */
if (notmuch->xapian_db != NULL) {
try {
- notmuch->xapian_db->close();
+ /* notmuch->xapian_db->close(); */
} catch (const Xapian::Error &error) {
/* do nothing */
}
which does not seem to break anything. The Xapian packages installed on
my machine:
$ dpkg -l |grep xapian
ii apt-xapian-index 0.25ubuntu2 maintenance tools for a Xapian index of Debi
ii libxapian-dev 1.0.18-1 Development files for Xapian search engine l
ii libxapian15 1.0.18-1 Search engine library
ii python-xapian 1.0.17-1ubuntu1 Xapian search engine interface for Python
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn at google.com>--------------ooO--(_)--Ooo--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120807/95f32f6e/attachment-0001.pgp>
More information about the notmuch
mailing list