Hi Andi,

Andi Vajda wrote:
It looks like you're running JCC 1.5 to do your build (see the JCC egg name
below), which is old.

Once again you were right :-)
After cleaning my installation (and installing OpenJDK from Fedora EPEL so I was
able to get rid of the rpath) the whole compilation seems to work until it tries
to install the whole thing:

--------------------------------------------------------------------------------
+ make install DESTDIR=/var/tmp/PyLucene-2.3.2-1-root-fs PYTHON=/usr/bin/python
'JCC=/usr/bin/python /usr/lib/python2.4/site-packages/jcc/__init__.py' ANT=ant 
NUM_FILES=2
CFLAGS="" /usr/bin/python /usr/lib/python2.4/site-packages/jcc/__init__.py --jar
lucene-java-2.3.2/build/lucene-core-2.3.2.jar --jar (...) 'length:()I'
'doc:(I)Lorg/apache/lucene/document/Document;' --version 2.3.2 --files 2 
--install
running build_ext
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: 
'/usr/lib/python2.4/site-packages/test-easy-install-27869.write-test'
--------------------------------------------------------------------------------

Of course it can not write /usr/lib/python2.4/site-packages/ because I'm 
building
the RPM as a user. Obviously the cpp module does not honor DESTDIR which makes 
packaging
PyLucene very hard...

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

Reply via email to