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