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