[pylucene-dev] cannot stat /security/classpath.security

Ken Kinder kkinder at gmail.com
Tue May 30 11:03:38 PDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20060530/a58d2b5e/attachment.htm


More information about the pylucene-dev mailing list