[pylucene-dev] Trouble compiling PyLucene in Ubuntu Edgy
Manuel Vázquez Acosta
mva.led at gmail.com
Mon Nov 27 20:18:58 PST 2006
Hi all,
I'm new to Lucene and PyLucene, though I have some experience with
Nutch. A few days ago I downloaded PyLucene-src-2.0rc1-10.tar.gz but
when I try to compile it I get this:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- lucene-java-2.0-rc1-dev-392192/src/java/org/apache/lucene/queryParser/QueryParser.java
2006-03-22 08:52:24.000000000 -0800
|+++ lucene-java-2.0-rc1-dev-392192-patched/src/java/org/apache/lucene/queryParser/QueryParser.java
2006-04-07 14:19:27.000000000 -0700
--------------------------
The lucene-java-rc1-dev-392192 is not included in the .tar.gz. Should
we downloaded somewhere else? Besides the directory
lucene-java-2.0-rc1-dev-409038 (which is included in the tar.gz) does
not have a src dir.
I have edited Makefile to match my distro Ubuntu Edgy:
# Ubuntu Edgy
PREFIX=/usr
PREFIX_PYTHON=/usr
CGJ_HOME=/usr
CGJ_LIBDIR=/usr/lib/gcj
CGJ_STATIC=0
LIB_INSTALL=libstdc++.so.6 libgcc_s.so.1
ANT=ant
PYTHON=/usr/bin/python
Though I have my doubts with GCJ_STATIC.
Any ideas?
Regards,
Manuel.
More information about the pylucene-dev
mailing list