Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
PyLucene, mail # dev - pylucene compilation error - reserved keywords


Copy link to this message
-
pylucene compilation error - reserved keywords
Jiang Fung Wong 2011-11-13, 10:10
Dear All,

I tried to compile pylucene on ArchLinux. JCC compilation was fine.
When I tried to make. I got this error:

In file included from
build/_lucene/org/apace/lucene/util/mutable/MutableValueFloat.h:4:0,
from build/_lucene/__wrap01__.cpp:17795:
build/_lucene/org/apace/lucene/util/mutable/MutableValue.h:19:27:
error: expected identifier before []mutable[]
build/_lucene/org/apace/lucene/util/mutable/MutableValue.h:19:35:
error: expected unqualified-id before []([] token

It seems that a reserved keyword 'mutable' has been used in the code.

Any idea how to solve it?

Which distro, ant version, python version, gcc version do you
recommend, for compilation of the latest pyLucene?

Regards,
WJF
+
Bill Janssen 2011-11-19, 19:27
+
Andi Vajda 2011-11-13, 18:20
+
Jiang Fung Wong 2011-11-14, 03:15
+
Andi Vajda 2011-11-14, 03:20
+
Jiang Fung Wong 2011-11-15, 02:13