Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 1860 invoked from network); 18 May 2010 17:45:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 17:45:20 -0000 Received: (qmail 33617 invoked by uid 500); 18 May 2010 17:45:20 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 33539 invoked by uid 500); 18 May 2010 17:45:20 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 33531 invoked by uid 99); 18 May 2010 17:45:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 17:45:20 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [66.159.224.220] (HELO ovaltofu.org) (66.159.224.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 17:45:13 +0000 Received: from [192.168.0.4] ([192.168.0.4]) (authenticated bits=0) by ovaltofu.org (8.14.3/8.14.4) with ESMTP id o4IHimVe018987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 May 2010 10:44:49 -0700 (PDT) Date: Tue, 18 May 2010 10:46:35 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api In-Reply-To: <4BF2C2C0.30601@cheimes.de> Message-ID: References: <4BEAD7AF.5020504@semantics.de> <4BEC8E27.8010406@cheimes.de> <4BF2C2C0.30601@cheimes.de> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 18 May 2010, Christian Heimes wrote: > Setup > ===== > I'm running the tests on an Ubuntu 10.04 X86_64 box with Python 2.6.5, Sun > Java 1.6.0_20, GCC 4.4.3 and patched setuptools 0.6c11 (all 64bit). > > JCC: > $ svn co > http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/jcc jcc_3x > $ cd jcc_3x > $ JCC_JDK=/usr/lib/jvm/java-6-sun python2.6 setup.py build > $ JCC_JDK=/usr/lib/jvm/java-6-sun python2.6 setup.py install > > Small issue: The install target always rewrites the jcc.config module. This > is a problem when I install JCC with "sudo python2.6 setup.py install" since > it's not trivial to keep the environment variable JCC_JDK across a sudo call. > How do you like the idea to bind the creation of jcc.config to the build or > build_ext target? Can you suggest a patch for this ? It is not immediately obvious to me how to do this. Andi..