[notmuch] Building xapian+kanru patch on Debian stable
authorDavid Bremner <david@tethera.net>
Tue, 29 Dec 2009 00:08:59 +0000 (20:08 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:56 +0000 (09:35 -0800)
1e/591b1fe09e0e3b3f928d5fa0472e01842b5313 [new file with mode: 0644]

diff --git a/1e/591b1fe09e0e3b3f928d5fa0472e01842b5313 b/1e/591b1fe09e0e3b3f928d5fa0472e01842b5313
new file mode 100644 (file)
index 0000000..7f7077c
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <bremner@pivot.cs.unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1E8DD431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Dec 2009 16:10:54 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id XfUTYBfx+G3y for <notmuch@notmuchmail.org>;\r
+       Mon, 28 Dec 2009 16:10:53 -0800 (PST)\r
+Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2930E431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Dec 2009 16:10:53 -0800 (PST)\r
+Received: from\r
+       fctnnbsc30w-142167182194.pppoe-dynamic.high-speed.nb.bellaliant.net\r
+       ([142.167.182.194] helo=rocinante.cs.unb.ca)\r
+       by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
+       (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)\r
+       id 1NPPfo-0002J5-70; Mon, 28 Dec 2009 20:10:52 -0400\r
+Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71)\r
+       (envelope-from <bremner@rocinante.cs.unb.ca>)\r
+       id 1NPPe0-000093-37; Mon, 28 Dec 2009 20:09:00 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Date: Mon, 28 Dec 2009 20:08:59 -0400\r
+Message-ID: <87pr5ywsis.fsf@rocinante.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Verified: bremner@pivot.cs.unb.ca\r
+Subject: [notmuch] Building xapian+kanru patch on Debian stable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 29 Dec 2009 00:10:54 -0000\r
+\r
+\r
+Here is a script of commands that I ran to get xapian built with\r
+Kan-Ru's patch on Debian Lenny.  There is less goofing around if you are\r
+running Sid.  I keep a git mirror of the xapian svn, with the patch\r
+already applied. I have been running this version of xapian for a week\r
+or so with no obvious ill effects. I'm sure this can be tidied up; I\r
+more or less just hacked my way through the process.\r
+\r
+Note that this installs some packages from unstable onto your system,\r
+which in some sense voids your warranty.  But you can remove them\r
+afterwards. I have no idea why the foolishness with update-alternatives\r
+is required.\r
+\r
+git clone git://pivot.cs.unb.ca/git/xapian.git\r
+cd xapian\r
+git checkout -b kan-ru origin/kan-ru\r
+sudo apt-get install build-essential m4 perl python zlib1g-dev \r
+sudo apt-get install uuid-dev wget \r
+# versions in lenny are too old\r
+sudo apt-get -t unstable install autoconf automake libtool\r
+sudo update-alternatives --set aclocal /usr/bin/aclocal-1.11\r
+sudo update-alternatives --set automake /usr/bin/automake-1.11\r
+sh bootstrap --without-autotools\r
+./configure --disable-documentation\r
+make \r
+sudo make install\r
+sudo ldconfig\r
+cd /usr/local/bin && sudo ln -s xapian-config-1.1 xapian-config\r
+cd $HOME/projects/notmuch\r
+make\r
+ldd ./notmuch | grep xapian\r
+# should say something like\r
+# libxapian-1.1.so.3 => /usr/local/lib/libxapian-1.1.so.3 (0x00007fe2a3dd1000)\r