lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api
Date Tue, 18 May 2010 17:46:35 GMT

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..

Mime
View raw message