[pylucene-dev] cannot stat /security/classpath.security
Andi Vajda
vajda at osafoundation.org
Tue May 30 11:22:02 PDT 2006
On Tue, 30 May 2006, Ken Kinder wrote:
> 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
It looks like you didn't define GCJ_LIBDIR in PyLucene's Makefile.
> 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.
Take a close look at the Linux section in PyLucene's Makefile, there are a
quite a few more variables to get right.
What version of gcj are you using ?
What version of python ?
If running still fails, you may need to set LD_LIBRARY_PATH too.
Andi..
More information about the pylucene-dev
mailing list