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