I'm a Java, Lucene, and pylucene newbie. I've been asked to look into pylucene, and upon running "make install" after a successful "make all", I get the following error:

$ sudo make install
build of release/_PyLucene.so complete
mkdir -p /usr/lib/python2.4/site-packages
install PyLucene.py /usr/lib/python2.4/site-packages
install release/_PyLucene.so /usr/lib/python2.4/site-packages
mkdir -p /usr/lib/python2.4/site-packages/security
install /security/classpath.security /usr/lib/python2.4/site-packages/security
install: cannot stat `/security/classpath.security': No such file or directory
make: *** [install] Error 1

If I try to use the library anyhow, I get this error:

>>> import PyLucene
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "PyLucene.py", line 33, in ?
    from _PyLucene import *
ImportError: /usr/lib/python2.4/site-packages/_PyLucene.so: undefined symbol: _ZN4java4lang22ClassNotFoundException6class$E

I think I've met all of PyLucene's dependencies. I've installed gcj, libgcj6-common, libgcj6-dev, and libdb2-dev from Ubuntu 5.10 packages. Here is what I changed in the Makefile:

PREFIX=/usr/local
PREFIX_PYTHON=/usr
GCJ_HOME=/usr

Any recommendations would be appreciated. Thanks ahead of time.

-Ken

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to