Linking a privately built -lxapian
authorMatt Armstrong <marmstrong@google.com>
Thu, 4 Aug 2016 05:50:13 +0000 (22:50 +1700)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:18 +0000 (16:22 -0700)
f4/a8720780f3753fbf6845bb4a508b9d3cd38983 [new file with mode: 0644]

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