On Wed, 19 Sep 2007, Andi Vajda wrote:
On Wed, 19 Sep 2007, Andi Vajda wrote:
On Wed, 19 Sep 2007, Felix Schwarz wrote:
I compiled PyLucene on CentOS 5 (i386) in order to built an rpm. Compiling
works fine but afterwards "make test" does not:
$ gcj --version
gcj (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
What other information do you need to diagnose the problem? How I can I
debug this?
This is usually a problem with gcj. You should have better luck with gcj
3.4.6 or, on Linux, gcj 4.2.0.
Also, for a reason still mysterious to me, if you're building from a PyLucene
source tarball that contains pre-built lucene jar files, you can only use gcj
3.4.x. If you're building with gcj 4.x, you must start from svn sources and
compile the lucene .java files on your machine. The PyLucene Makefile handles
all that when starting from svn sources.
I've had a sane PyLucene built from gcj 4.1.2 before as well, not just 4.2.0.
Oh, one more thing - sorry, I'm slow this morning - to build from svn sources,
you need a sane JDK as well. GCJ can pose as your regular JDK but it's not
able to properly compile the Lucene sources. An example of how to do all this
on an AMD 64 machine running Ubuntu Linux was posted here:
http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev