1 Return-Path: <dtk@gmx.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 9135E431FD0
\r
6 for <notmuch@notmuchmail.org>; Thu, 13 Oct 2011 00:59:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
\r
12 tests=[FREEMAIL_FROM=0.001] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id F4IpNNwDTWsJ for <notmuch@notmuchmail.org>;
\r
16 Thu, 13 Oct 2011 00:59:12 -0700 (PDT)
\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id E2A0E431FB6
\r
21 for <notmuch@notmuchmail.org>; Thu, 13 Oct 2011 00:59:11 -0700 (PDT)
\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])
\r
23 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
24 (No client certificate requested)
\r
25 by mail.cryptobitch.de (Postfix) with ESMTPSA id 8D858506BE2;
\r
26 Thu, 13 Oct 2011 09:59:10 +0200 (CEST)
\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 33)
\r
28 id 05A5CDF29F; Thu, 13 Oct 2011 09:59:09 +0200 (CEST)
\r
29 To: Tomi Ollila <tomi.ollila@iki.fi>
\r
30 Subject: Re: [python] set rpath in setup.cfg
\r
31 X-PHP-Originating-Script: 0:func.inc
\r
33 Date: Thu, 13 Oct 2011 09:59:09 +0200
\r
34 From: dtk <dtk@gmx.de>
\r
35 In-Reply-To: <yf6vcrte5ac.fsf@taco2.nixu.fi>
\r
36 References: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de>
\r
37 <20111012153051.GE21615@hayalet>
\r
38 <d8e00c1f9be7bf018677a2c868e95e6d@jadE-Hamburg.de>
\r
39 <87pqi1s8ln.fsf@servo.finestructure.net>
\r
40 <yf6vcrte5ac.fsf@taco2.nixu.fi>
\r
41 Message-ID: <6d9148a0bd27a27a2c06633e509d74fe@jadE-Hamburg.de>
\r
42 X-Sender: dtk@gmx.de
\r
43 User-Agent: RoundCube Webmail/0.3.1
\r
44 Content-Transfer-Encoding: 8bit
\r
45 Content-Type: text/plain;
\r
47 Cc: notmuch@notmuchmail.org
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Thu, 13 Oct 2011 07:59:15 -0000
\r
63 On Thu, 13 Oct 2011 10:09:47 +0300, Tomi Ollila <tomi.ollila@iki.fi>
\r
65 > On Thu 13 Oct 2011 09:34, Jameson Graef Rollins
\r
66 > <jrollins@finestructure.net> writes:
\r
68 >> On Thu, 13 Oct 2011 08:12:03 +0200, dtk <dtk@gmx.de> wrote:
\r
69 >>> in my experience, it tends to cause awkward side effects that are hard
\r
71 >>> debug, the main problem being that it overrides all default paths and
\r
73 >>> hard to target at a single problematic application.
\r
75 > I also have local notmuch installations (3 of them); notmuch command
\r
76 > (among others) are wrapped in a shell script which setups environment
\r
79 > PATH=/path/to/iroot/bin:$PATH
\r
80 > LD_LIBRARY_PATH=/path/to/iroot/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
\r
81 > export PATH LD_LIBRARY_PATH
\r
83 True. Actually, I have expanded PATH and PYTHONPATH to include the local
\r
84 installations, so all that's missing is the path to the .so for the python
\r
88 $ LD_LIBRARY_PATH=/home/dtk/.local/lib/ alot
\r
91 works perfectly; still I find it rather unelegant to have to bother about
\r
92 linker paths at runtime. I feel making the appropriate settings at build
\r
93 time would be way nicer! Of course you can write a wrapper script for that,
\r
94 but since there is RPATH (and I just don't know how to set it in Python's
\r
95 setup.py), I really don't feel like wrapping each of my bins manually :/
\r