Hi, I'm trying to install PyLucene on Ubuntu/Breezy from source downloaded for your current svn repository at:
http://svn.osafoundation.org/pylucene/trunk/ and am having problems with finding header files from lucene.h lucene.h requires: #include "org/apache/lucene/index/Term.h" #include "org/apache/lucene/index/TermEnum.h" #include "org/apache/lucene/index/IndexReader.h" #include "org/apache/lucene/search/Searcher.h" #include "org/apache/lucene/search/ScoreDoc.h" #include "org/apache/lucene/search/Weight.h" #include "org/apache/lucene/search/Filter.h" #include "org/apache/lucene/search/HitCollector.h" #include "org/apache/lucene/search/Sort.h" #include "org/apache/lucene/search/Query.h" #include "org/apache/lucene/search/BooleanClause.h" #include "org/apache/lucene/search/highlight/TokenGroup.h" #include "org/apache/lucene/queryParser/QueryParser.h" #include "org/apache/lucene/queryParser/MultiFieldQueryParser.h" ------- But these headers are not available within your svn repository? and when I try to "make": I recieve the errors: deagol:~/pyLucene$ make /usr/local/gcc-3.4.4/bin/g++ -Ilucene-java-2.0.0/build/classes/java -Ilucene-java-2.0.0/build/contrib/highlighter/classes/java -Ilucene-java-2.0.0/build/contrib/snowball/classes/java -Ilucene-java-2.0.0/build/contrib/analyzers/classes/java -Ilucene-java-2.0.0/build/contrib/regex/classes/java -Irelease/classes -I/usr/include/python2.4 -I/usr/local/gcc-3.4.4/include -O2 -fPIC -c -o release/regex.cpp.o cpp/PythonRegex.cpp In file included from /usr/include/python2.4/Python.h:8, from cpp/PyLucene.h:32, from cpp/PythonRegex.cpp:24: /usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/string.h:26, from /usr/include/c++/4.0.2/gcj/cni.h:22, from cpp/PyLucene.h:27, from cpp/PythonRegex.cpp:24: /usr/include/features.h:150:1: warning: this is the location of the previous definition In file included from cpp/PyLucene.h:38, from cpp/PythonRegex.cpp:24: cpp/../lucene.h:27:42: error: org/apache/lucene/index/Term.h: No such file or directory cpp/../lucene.h:28:46: error: org/apache/lucene/index/TermEnum.h: No such file or directory cpp/../lucene.h:29:49: error: org/apache/lucene/index/IndexReader.h: No such file or directory cpp/../lucene.h:30:47: error: org/apache/lucene/search/Searcher.h: No such file or directory cpp/../lucene.h:31:47: error: org/apache/lucene/search/ScoreDoc.h: No such file or directory cpp/../lucene.h:32:45: error: org/apache/lucene/search/Weight.h: No such file or directory cpp/../lucene.h:33:45: error: org/apache/lucene/search/Filter.h: No such file or directory etc ... ========== Must be something simple surely : - ) Best Wishes Kevin Roberts _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
