Re: Issue with installing PyLucene 6.5.0

2017-10-25 Thread Amin Farajian
Hi Bernd, The Java versions were not the same on the two machines. On the offline machine I had the Oracle Java, while in the machine with the internet connection it was OpenJDK. So, I installed the same Java in my offline machine and it worked. I am not sure what was the issue with the Oracle ja

Re: Issue with installing PyLucene 6.5.0

2017-10-24 Thread Bernd Fehling
Because it can't solve the preprocessor macro, do you have the same version of C++, make, JAVA 1.8, Ant, python3 on both machines? ANT_HOME, JAVA_HOME, JCC_JDK are set and also added to path? jcc/setup.py has the right path settings? Regards Bernd Am 24.10.2017 um 09:18 schrieb Amin Farajian: >

Re: Issue with installing PyLucene 6.5.0

2017-10-24 Thread Amin Farajian
Hi Bernd, unfortunately, that didn't work. I could install jcc3 on another machine which is connected to the internet using conda-forge (see the command below) without any problem. $ conda install -c conda-forge jcc But, the machine that I have to run the experiments on does not have an internet

Re: Issue with installing PyLucene 6.5.0

2017-10-23 Thread Bernd Fehling
Hi Amin, PRIxMAX is a "C" conversion specifier macro for integer type of uintmax_t. It looks like a bug in jcc3. The original code is: sprintf(buffer, "%0*"PRIxMAX, (int) hexdig, hash); Could be that a space between '"' and PRIxMAX is missing. A quick fix for testing could be either enter a spac

Issue with installing PyLucene 6.5.0

2017-10-23 Thread Amin Farajian
Hi all, I recently moved to python3, so I'm trying to install the recent version of Pylucene (version 6.5.0) which is compatible with python3. But, to install the jcc I get the following error which I have no idea why it occurs: jcc3/sources/jcc.cpp: In function ‘PyObject* t_jccenv_strhash(PyObj