Andi Vajda wrote:
On Thu, 1 Dec 2005, David Fraser wrote:
- The build requires that you have jdk 1.4.x and ant 1.6.y (y >= 3)
installed. I hope to relax this requirement later by providing a
pre-built Java Lucene source tree.
I thought the whole point was using gcj, is it not possible to
compile Lucene with gcj? If not how does this fit in with how
PyLucene works? Sorry if its a silly question
Not a silly question. I was wondering if my statements would be
leading to confusion.
Because of a variety of bugs with gcj is it safer to use gcj to
compile .class files than .java files. Because of a variety of bugs in
gcj and source code challenges in Java Lucene (such as naming methods
'delete()') the Java Lucene sources need to be patched before being
compiled. For these reasons, I moved to starting from Java Lucene
sources instead of Java Lucene .jar files.
The JDK is only needed for compiling Java Lucene .java files into
.class/.jar files. I am still using gcj to compile the .class files
into .o files and into the resulting python extension. No change there.
In order to run PyLucene, a JDK is not required. It is only required
in order to build PyLucene from Java sources. In the near future, I'd
like to have a source release target in the Makefile that, in addition
to the PyLucene sources, also includes a pre-compiled tree of the Java
Lucene source tree (essentially .jar files and .h files). That would
spare people from having to have a JDK installed to build PyLucene.
Sorry for the confusion.
Thanks for the explanation, that's perfectly clear now :-)
David
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev