From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gD6aEIUusmGhdAEAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 17:27:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8OJcDIUusmGcJAAA1q6Kng (envelope-from ) for ; Thu, 09 Dec 2021 16:27:49 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F2BC3C55A for ; Thu, 9 Dec 2021 17:27:48 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6C1652955A; Thu, 9 Dec 2021 11:27:43 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 49F1729555 for ; Thu, 9 Dec 2021 11:27:36 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 053425FC42; Thu, 9 Dec 2021 11:27:35 -0500 (EST) Received: (nullmailer pid 612601 invoked by uid 1000); Thu, 09 Dec 2021 16:27:34 -0000 From: David Bremner To: Al Haji-Ali Subject: Re: Make fails with xapian custom installation In-Reply-To: References: <87o85phjpa.fsf@tethera.net> Date: Thu, 09 Dec 2021 12:27:34 -0400 Message-ID: <87lf0thhft.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: RN6TNXUKYOWEW3P3COBPRLEOIBD4WFSH X-Message-ID-Hash: RN6TNXUKYOWEW3P3COBPRLEOIBD4WFSH X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639067269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=a51K7Hu4U8eBE8ZCZb73HPceeHezESbcEJy2M6MR4Z4=; b=cRcXvVrXGiFTVbvbt/eEOohu0qoEWoeZk1OfstZ6gG4sgtKyPosLrXZWomM1cg0HinJYDr KfuaitctsAXXWXa4KfsS9G0MtSOLGOVmOo+e9EGdERd1EIoGe0WFCj7iuQGr63sLnGGKTp /CjNCfw4rKkpOyjoL6kLzLm6aFQQWN3cqdYzVj6mKYtRGOJsZ7xYRew0z8QDQPwyASn4Qh fQa79FU8qbnW1WvOUUMzAbd1t9Vwj1bfF3Vl12tiDJGoufSsiL7V9E519zNIx6QmT/kPop 8gGMxhyjwkad1kgiVC/z0UvzV/tvu9U0UfPmS2R09ZSZnjtJnwOpn7lMJkgcNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639067269; a=rsa-sha256; cv=none; b=QGmvJ6ygpc079ZaSqmd29lYg/yICzdwg9g7JQQUeaV3l+3LgSbaZVQEaYknvpIMWTWENSy 4EtaTx9/a/t64n7wr60bIWEnM9CxtJYBuozoz/G8jxx0n/gl23LEtDZf/kTQ8d+O9qrJMr r+rjYwaN7oDZIi8VPoNwJ/kw7+3iSTc9VtyvzRWHpupc2mw+kz1A1/jZ5juUzkFzyWFpyJ 0dnhplzv+GYi8tPvS906/xMtIDF3whQVBt2lNkuI43hGX5/py4HikqXuaRff2briCKmQ5U UlZufTB1tMNB3a8V8SlERzW4p09R5OXBXOymSgSbYy8dVTE+66TjX9lHxAy2VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: F2BC3C55A X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: o0bDa/adH6Tg Al Haji-Ali writes: > On 09/12/2021, David Bremner wrote: >> configure actually invokes xapian-config rather than pkg-config (I >> forget why offhand). So you probably need to set XAPIAN_CONFIG in the >> environment to the one in your /home when running configure. > > Ah OK. My xapian-config is also correctly configured > > ,---- > | ~ xapian-config --libs > | -L/home/al/.local/stow/xapian/lib -lxapian > `---- > > Notmuch's configure has the correct paths for Xapian as seen in the compilation command I included before. The issue is the order of library folders. > > -- Al Does it help if you set LDFLAGS on the make command line? Looking at Makefile.global, LDFLAGS are added before the other computed flags. So something like % make V=1 LDFLAGS=-L/home/al/.local/stow/xapian/lib