lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Koch" <k...@orbiteam.de>
Subject AW: [VOTE] Release PyLucene 4.2.1-1
Date Thu, 18 Apr 2013 08:01:57 GMT
Andi,
I now get a different error while compiling __init__.cpp:

org/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) :
error C2059: Syntaxfehler: 'Zeichenfolge'
org/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) :
error C2238: Unerwartete(s) Token vor ';'

The line complained about is #42

40            static CompiledAutomaton$AUTOMATON_TYPE *NONE;
41            static CompiledAutomaton$AUTOMATON_TYPE *NORMAL;
42            static CompiledAutomaton$AUTOMATON_TYPE *PREFIX;
43            static CompiledAutomaton$AUTOMATON_TYPE *SINGLE;

PREFIX seems to be another reserved word ... I could compile __init__.cpp
after renaming PREFIX to PREFIX1.
I tried to google a list of reserved words used by VS C++ compiler, but had
no luck...
There are some predefined macros -but none that match our issues
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.100).aspx



Make output details:

C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -DPYTHON -DJCC_VER="2.16" -D_jcc_shared
-D_java_generics -D_dll_lucene=__declspec(dllexport) "-IC:\Program
Files\Java\jdk1.6.0_06/include" "-IC:\Program
Files\Java\jdk1.6.0_06/include/win32" -Ibuild\_lucene
-IC:\Python27\lib\site-packages\jcc-2.16-py2.7-win32.egg\jcc\sources
-IC:\Python27\include -IC:\Python27\PC /Tpbuild\_lucene\__init__.cpp
/Fobuild\temp.win32-2.7\Release\build\_lucene\__init__.obj /EHsc
/D_CRT_SECURE_NO_WARNINGS
__init__.cpp
C:\Python27\lib\site-packages\jcc-2.16-py2.7-win32.egg\jcc\sources\JCCEnv.h(
118) : warning C4251: 'JCCEnv::refs': class 'std::multimap<_Kty,_Ty>'
erfordert eine DLL-Schnittstelle, die von Clients von class 'JCCEnv'
verwendet wird
        with
        [
            _Kty=int,
            _Ty=countedRef
        ]
f:\devel\workspaces\workspace.pylucene\pylucene-4.2.1-1\build\_lucene\org/ap
ache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) : error
C2059: Syntaxfehler: 'Zeichenfolge'
f:\devel\workspaces\workspace.pylucene\pylucene-4.2.1-1\build\_lucene\org/ap
ache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) : error
C2238: Unerwartete(s) Token vor ';'
error: command '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' failed with exit status 2
make: *** [compile] Error 1


regards,
Thomas

-----Urspr√ľngliche Nachricht-----
Von: Andi Vajda [mailto:vajda@apache.org] 
Gesendet: Mittwoch, 17. April 2013 22:11
An: pylucene-dev@lucene.apache.org
Cc: general@lucene.apache.org
Betreff: [VOTE] Release PyLucene 4.2.1-1


The PyLucene 4.2.1-0 release candidate had a number of problems preventing
its release. A PyLucene 4.2.1-1 release candidate is now ready for review
from:

   http://people.apache.org/~vajda/staging_area/

A list of changes in this release can be seen at:
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_4_2/CHANGE
S

PyLucene 4.2.1 is built with JCC 2.16 included in these release artifacts:
http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES

A list of Lucene Java changes can be seen at:
http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_2_1/lucene/CHA
NGES.txt

Please vote to release these artifacts as PyLucene 4.2.1-1.

Thanks !

Andi..

ps: the KEYS file for PyLucene release signing is at:
http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS
http://people.apache.org/~vajda/staging_area/KEYS

pps: here is my +1


Mime
View raw message