On Wed, 27 Dec 2006, Andra Tori wrote:

On Tue, 2006-12-26 at 16:34 -0800, Andi Vajda wrote:
I managed to compile it with standard tools in debian unstable, but
Highlighter only partly works - until i try to pass it my own or already
existing fragmenter as a parameter... then i start getting null pointer
exceptions.

As said in my previous reply, run 'make test', if you get failures, use a
different compiler: gcj 3.4.6 or a recent gcj 4.2.0 snapshot are good. Nothing
in between usually is on Linux.


I just tried to build with gcj from experimental (4.2-20061003-1), but
without luck...

That may not be recent enough of a snapshot.
I think I used late November ones with success.

For more details, see:
http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html
(and correct appropriately for your platform).

Please, note that if you wish to use a gcj 4.x compiler, you need to start building from the Lucene Java sources (as outlined at the URL above) and not from the source tarballs I produce. These seem to work with gcj 3.4.x only for a strange, so far unsolved, reason.

GCJ 4.x is rather bleeding edge, if you want to take an easier route, use gcj 3.4.6. If yu need to build gcj 3.4.x from sourcesm, see PyLucene's INSTALL file.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to