Am 29.01.2013 17:29, schrieb Andi Vajda:
What can you see at the line mentioned in the first compile error ?
build/_lucene/org/apache/lucene/analysis/tokenattributes/TypeAttribute.h:39:42

            static ::java::lang::String *DEFAULT_TYPE;

It could be that DEFAULT_TYPE is macro-defined somewhere in your compiler's 
header files.
A way around that problem is to add --reserved DEFAULT_TYPE to the jcc 
invocation command in the Makefile.

it obviously *is* that DEFAULT_TYPE is macro-defined somewhere in some header files. I added --reserved DEFAULT_TYPE to the Makefile and the compiler ran (except of some warnings) without any errors.

While gmake test also didn't make any difficulties, i think the whole thing will run (in the meantime, while i write this mail, the first bigger index is created).

Do you think, it might be a good idea to refresh the Solaris-Infos under http://lucene.apache.org/pylucene/install.html ? I know that Solaris is some kind of exotic dinosaur, but at least there are still people (like me), who have to use it. And a pylucene-instance based on more recent standard-packages and gcc has in my opinion more charme, than working with Sunstudio.

Anyway, thanks a lot for your help :-) Thomas

Reply via email to