[pylucene-dev] Install PyLucene-src-2.1.0-2 from Source Error

Andi Vajda vajda at osafoundation.org
Mon Apr 30 15:17:06 PDT 2007


On Mon, 30 Apr 2007, Ram Peters wrote:

> When I try to install PyLucene-src-2.1.0-2 from Source, I get the
> following Error.  Any help is appreciated.

The error message complains about 
"/usr/local/gcc-3.4.4//security/classpath.security" not being found.
Maybe that file didn't exist in gcj 3.4.4 or is elsewhere in the gcj tree.
Did you look for it ? Given the double-slash in your path, there probably is 
some make variable that is not being defined and expanded to an empty string.
For instance, you're not defining LIBDIR_NAME, that may be the missing piece.

Anyway, you can run without these .security files, this install step just 
quells a pesky warning. The next thing to do is 'make test' to see that your 
PyLucene build is sane.

Andi..

>
> Thank you.
>
> MY SETTINGS MAKEFILE:
>
> # Linux (with gcc 3.4.4 and libgcj statically linked)
> PREFIX=/usr
> PREFIX_PYTHON=$(PREFIX)
> #LIBDIR_NAME=lib
> GCJ_HOME=/usr/local/gcc-3.4.4
> GCJ_LIBDIR=$(GCJ_HOME)/$(LIBDIR_NAME)
> #GCJ_STATIC=1
> #LIB_INSTALL=libstdc++.so.6 libgcc_s.so.1
> #DB=$(PYLUCENE)/db-$(DB_VER)
> #PREFIX_DB=$(PREFIX)/BerkeleyDB.$(DB_LIB_VER)
> #ANT=ant
> PYTHON=$(PREFIX_PYTHON)/bin/python
>
> [root at localhost PyLucene-src-2.1.0-2]# make install
> build of release/_PyLucene.so complete
> mkdir -p /usr//python2.4/site-packages
> install -m 644 PyLucene.py /usr//python2.4/site-packages
> install release/_PyLucene.so /usr//python2.4/site-packages
> mkdir -p /usr//python2.4/site-packages/security
> install -m 644 /usr/local/gcc-3.4.4//security/classpath.security
> /usr//python2.4/site-packages/security
> install: cannot stat
> `/usr/local/gcc-3.4.4//security/classpath.security': No such file or
> directory
> make: *** [install] Error 1
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>


More information about the pylucene-dev mailing list