Hi,

I'm trying to build the latest pylucene with gcc(3.4.4) on Solaris(x86).
After building jcc-it was ok-I got errors as below when trying to build
pylucene:
/
build/_lucene/org/apache/lucene/analysis/Token.h:74: error: expected
unqualified-id before numeric constant
build/_lucene/org/apache/lucene/analysis/Token.h:74: error: abstract
declarator `java::lang::String*' used as declaration
build/_lucene/org/apache/lucene/analysis/Token.h:74: error: expected `;'
before numeric constant
build/_lucene/__wrap__.cpp:72662: error: expected unqualified-id before
numeric constant
build/_lucene/__wrap__.cpp:72662: error: expected init-declarator before
numeric constant
build/_lucene/__wrap__.cpp:72662: error: expected `,' or `;' before
numeric constant
build/_lucene/__wrap__.cpp: In static member function `static _jclass*
org::apache::lucene::analysis::Token::initializeClass()':
build/_lucene/__wrap__.cpp:72701: error: non-lvalue in assignment
build/_lucene/__wrap__.cpp: In static member function `static void
org::apache::lucene::analysis::t_Token::initialize(PyObject*)':
build/_lucene/__wrap__.cpp:72898: error: expected unqualified-id before
numeric constant
error: command 'gcc' failed with exit status 1
gmake: *** [compile] Error 1
/
I googled some info and it seems that the errors are specific to Solaris
x86.
However, i don't know how can I fix them.

I'd much appreciate if anyone has idea on this.

Thanks in advance,
Aijin




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

Reply via email to