On Jan 30, 2013, at 5:43, Thomas Feuerstack 
<[email protected]> wrote:

> 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 ?

Absolutely. If you want to contribute a patch with what you learned getting 
pylucene and jcc to run on your combination of compiler and operating system, 
by all means, send it in and I'll integrate it.

> 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

You're welcome !

Andi..

Reply via email to