On Wed, 16 Jul 2008, Jelle Feringa wrote:

Did you edit the Makefile as stated in the INSTALL file and at the top of the Makefile ?

Right...
That helped a lot, though compiling still fails.
I also tried changing the python.py file in jcc;

#from cpp import Modifier, findClass
from cpp import Modifier
from _jcc import findClass

But neither version fails to build a workable module.

Thanks for your help so far Andi, much appreciated.

Yep, still the wrong invocation of initVM() :)
Try lucene.initVM(lucene.CLASSPATH) !

Andi..

Type "copyright", "credits" or "license" for more information.

IPython 0.8.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import lucene

In [2]: luc
lucene             lucene-java-2.3.2  lucene.egg-info

In [2]: lucene.initVM()
terminate called after throwing an instance of 'JCCEnv::exception'
Abort trap
brutus:PyLucene-2.3.2-1 jelleferinga$ ipython

_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to