Re: Linking a privately built -lxapian
authorDavid Bremner <david@tethera.net>
Thu, 4 Aug 2016 06:34:02 +0000 (15:34 +0900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:18 +0000 (16:22 -0700)
0f/34498048bc381c168365b1f75dafca9351d49a [new file with mode: 0644]

diff --git a/0f/34498048bc381c168365b1f75dafca9351d49a b/0f/34498048bc381c168365b1f75dafca9351d49a
new file mode 100644 (file)
index 0000000..14c3016
--- /dev/null
@@ -0,0 +1,66 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 441356DE0173\r
+ for <notmuch@notmuchmail.org>; Wed,  3 Aug 2016 23:34:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.01 tagged_above=-999 required=5 tests=[AWL=0.001, \r
+ SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id LxNVsqtLk4TF for <notmuch@notmuchmail.org>;\r
+ Wed,  3 Aug 2016 23:34:09 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 70F786DE0005\r
+ for <notmuch@notmuchmail.org>; Wed,  3 Aug 2016 23:34:09 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1bVCEY-0001rW-Ub; Thu, 04 Aug 2016 02:34:23 -0400\r
+Received: (nullmailer pid 4499 invoked by uid 1000);\r
+ Thu, 04 Aug 2016 06:34:02 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Matt Armstrong <marmstrong@google.com>, notmuch@notmuchmail.org\r
+Subject: Re: Linking a privately built -lxapian\r
+In-Reply-To: <qf5twf1f5gq.fsf@marmstrong-linux.kir.corp.google.com>\r
+References: <qf5twf1f5gq.fsf@marmstrong-linux.kir.corp.google.com>\r
+User-Agent: Notmuch/0.22.1+61~g2ce0f13 (https://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 04 Aug 2016 15:34:02 +0900\r
+Message-ID: <87bn19gi05.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 04 Aug 2016 06:34:18 -0000\r
+\r
+Matt Armstrong <marmstrong@google.com> writes:\r
+\r
+> I've got a privately built xapian 4.0 in my $HOME/opt/xapian-core-1.4.0\r
+> dir, and its bin dir in my path.\r
+>\r
+> xapian-config is working like this:\r
+>\r
+> % xapian-config --libs\r
+> -L/usr/local/google/home/marmstrong/opt/xapian-core-1.4.0/lib -lxapian\r
+\r
+I don't think the notmuch configure script is very well set up for "one\r
+package per hierarchy". That could probably improved, but a simple\r
+workaround would be to install xapian and notmuch into the same\r
+${foo}/{lib,bin} hierarchy, where foo=${HOME} and foo=/usr/local are\r
+both reasonably well tested, I believe (although not by me).\r
+\r
+d\r