edwin.mad...@verizonwireless.com schrieb: > For PyLucene, has anyone succeeded in building JCC with gcc version 3.4.4 on > Cygwin windows? > > "python setup.py build" is throwing errors while compiling JArray.cpp that > comes with PyLucene-2.4.0-2 > ...... > jcc/sources/JArray.cpp: In instantiation of `_t_jarray<jshort>': > jcc/sources/JArray.cpp:1017: instantiated from here > jcc/sources/JArray.cpp:30: error: base `t_jarray<jshort>' with only > non-default constructor in class without a constructor > ..... > //getting a total of 11 such errors, one for each of the jdata types > > any work around?
Yeah, you have to install GCC 4.x in order to compile the C++ code. GCC 3.x doesn't support some syntax. The official cygwin installer doesn't list GCC 4.x but you can google for an unofficial add-on. You also have to modify several flags in setup.py like the library search and include flags. It's feasible but quite some work. I went there and came back for MSVC 7.1. Christian