[pylucene-dev] issues compiling PyLucene on Linux

Bill Janssen janssen at parc.com
Thu Apr 10 17:07:37 PDT 2008


This is on CentOS 5, Python 2.5.1, 64bit machine.

I notice that when I don't have the JAVA_HOME env variable set, JCC
builds and installs just fine, but building PyLucene itself fails
because it picks up the wrong Java (the gcj pseudo-java).  This seems
suboptimal; I've already told JCC where Java is, so I shouldn't have
to set JAVA_HOME.

Now I tried to generate wrappers for GoodStuff.  Here's what I get:

% python -m jcc --jar GoodStuff.jar --package java.lang --package java.util --package java.io --build
terminate called after throwing an instance of 'JCCEnv::exception'
Abort
%

Bill


More information about the pylucene-dev mailing list