[pylucene-dev] pylucene trunk and gcc-4.2 : java configuration ?

Andi Vajda vajda at osafoundation.org
Fri Mar 30 10:45:33 PST 2007


On Fri, 30 Mar 2007, xav4django wrote:

>  I found my stupid compilation mistake :
>
> http://downloads.osafoundation.org/PyLucene/src/PyLucene-src-2.1.0-2.tar.gz
> have the folder lucene-java-2.1.0-509013
> and the svn
> http://svn.osafoundation.org/pylucene/trunk/ pylucene-2.1-trunk
> don't have this folder.
> without lucene, pylucene don't found this jar class. normal.

No. You can't use the source tarball at all with gcj 4.x, you have to start 
from an svn checkout and make sure you have a sane JDK to first compile the 
Lucene java sources that the PyLucene build process will export from the 
Lucene svn repository.

>> You then need to create a wrapper for JvAttachCurrentThread()
>> and call it from your python code.
>
> Ok, I will try too.
>
> This one is not ok ?
> http://lists.osafoundation.org/pipermail/pylucene-dev/2004-June/000036.html

No, SWIG is not used anymore since PyLucene 2.0.

Andi..


More information about the pylucene-dev mailing list