On Tue, 27 Oct 2009, Andi Vajda wrote:


On Tue, 27 Oct 2009, Manolo Padron Martinez wrote:

I'm trying to compile JCC and I think I found a bug in setup.py on
line 115 it checks with_setuptools againts '0.6c7'. I have '0.6c11' so
always fails (and It should not).

Indeed, the version checking code in there is bogus.
But that version is also unexpected.
I didn't know that 0.6c11 had come out at all !
Thanks for letting me know.

The attached patch resolves the bad version checking code.
Could you please apply it to jcc's setup.py and let me know if it solves your problem ? In particular, as this is a new, unknown, version of setuptools, I'd be interested to know if it works for you.
I did a test build on Mac OS X 10.6 with it and all seemed correct.

Since you didn't tell me your OS, your JCC version or anything else, I have to assume - arbitrarily - that you're on Linux with the latest JCC.

If indeed you happen to be on Linux and are using JCC's shared mode, you need a new patch for setuptools 0.6c11.

You can get the latest updated JCC 2.4 (soon to become JCC 2.4.1) from:
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_2_9/jcc/

I'm planning on releasing JCC 2.4.1 along with PyLucene 2.9.1 as soon as the Lucene Java project releases its 2.9.1 update which should happen any day now.

Andi..

Reply via email to