From aa52c9027d90b89ac5026722bfa3200e977f06dd Mon Sep 17 00:00:00 2001 From: Matt Armstrong Date: Thu, 4 Aug 2016 22:50:13 +1700 Subject: [PATCH] Linking a privately built -lxapian --- f4/a8720780f3753fbf6845bb4a508b9d3cd38983 | 95 +++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 f4/a8720780f3753fbf6845bb4a508b9d3cd38983 diff --git a/f4/a8720780f3753fbf6845bb4a508b9d3cd38983 b/f4/a8720780f3753fbf6845bb4a508b9d3cd38983 new file mode 100644 index 000000000..8f7e97a2f --- /dev/null +++ b/f4/a8720780f3753fbf6845bb4a508b9d3cd38983 @@ -0,0 +1,95 @@ +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 D6A376DE0173 + for ; Wed, 3 Aug 2016 22:50:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.913 +X-Spam-Level: +X-Spam-Status: No, score=-0.913 tagged_above=-999 required=5 tests=[AWL=0.109, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, 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 eiJ1qBmg783p for ; + Wed, 3 Aug 2016 22:50:19 -0700 (PDT) +Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com + [209.85.192.180]) + by arlo.cworth.org (Postfix) with ESMTPS id 71AE96DE0005 + for ; Wed, 3 Aug 2016 22:50:19 -0700 (PDT) +Received: by mail-pf0-f180.google.com with SMTP id h186so83954690pfg.3 + for ; Wed, 03 Aug 2016 22:50:19 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; + s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version; + bh=hmFbFOpvjuABJCsd5ltoSrWGsq+DHM2uO0T5dSBIu04=; + b=N2SgEU8a0Ub+u7c4TCXv4AGgp0X+dtPKuqe4aFbWX0wEI2eFhf5vVC6k1KIQZ35c5t + DuoJaVrDzNsmZm3Sh6BegvCJLGyhMGL8dnkiAEOPlR2g6I3dlY5bm9i/YibQZJUUfqw+ + fVhLM8qjqNmeGK4xjs/5eCwOmYiBDRozcXSFs/EocJWOkugGaMLUj4YwRl/QUHBz1Qdn + vBvwP00af58G2YH/iZp99BuL+3ryYWELEzYQvQ4UrMbOo0maXlHCBgYL24qETd0eQvBD + +bIhhn3tulSv37NuIjIKXXGNbWDguWH14LW0bq50FsvQkbcVW2jSr5Eq2Lw5j6wcAGCo 56Gg== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:user-agent:date:message-id + :mime-version; + bh=hmFbFOpvjuABJCsd5ltoSrWGsq+DHM2uO0T5dSBIu04=; + b=M4LLdiXSMWRCB2+oylSERF/GPAYW2DLVyKXnXwCIxqUhptfTUu+R1HNKurdsVJfPo4 + hPs+rjYmBFe1biw+np+xnlX8hUd2eP+41Aqv2t8pl4ho2M/+lm1vpPjVitz848/1No8B + i7opyKJc69jt50JwAPEvgm2haLJvmzi+gljeMsr33IUgWuwDjM0oc5EhfEipSzMQ5VYZ + vDeRu8irzUs8YpIFp+FdCYPruX0V3A2TPz8EyFrmMHPwKmYZthzuflwcGlZOYI8H/hRT + BMoOVlMt+skxP6fzzX9QuVtR6PW0syR9VBjuNscJTD2iyR7ejrrFje2PcKcbepNy6ro7 + S6mw== +X-Gm-Message-State: + AEkoouv/Pz/64nKmdR5nm0YACz0LWEJYM1CnmjbAG3vezvHthkz5XtruQlsWmAGxIXvBPG8n +X-Received: by 10.98.71.140 with SMTP id p12mr122682546pfi.93.1470289818329; + Wed, 03 Aug 2016 22:50:18 -0700 (PDT) +Received: from marmstrong-linux.kir.corp.google.com + ([2620:0:1008:11:9d01:ef49:41c8:1902]) + by smtp.gmail.com with ESMTPSA id e187sm16688797pfg.43.2016.08.03.22.50.14 + for + (version=TLS1_2 cipher=AES128-SHA bits=128/128); + Wed, 03 Aug 2016 22:50:15 -0700 (PDT) +From: Matt Armstrong +To: notmuch@notmuchmail.org +Subject: Linking a privately built -lxapian +User-Agent: Notmuch/0.22.1+62~g2a7b11b (https://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 03 Aug 2016 22:50:13 -0700 +Message-ID: +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 05:50:28 -0000 + +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 + +Then "./configure; make" doesn't produce a functioning build unless I +run notmuch's make one of these two ways: + +1) make LDFLAGS=-Wl,-rpath-link,$HOME/opt/xapian-core-1.4.0/lib +2) LD_RUN_PATH=$HOME/opt/xapian-core-1.4.0/lib make + +I can live with that, but it brings back decade old memories. Is there +a better way? + +(I don't want to get into packaging up a xapian 1.4 .deb and installing +it on my box just to build notmuch) -- 2.26.2