lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <jans...@parc.com>
Subject Re: PyLucene 2.9.2 on Windows XP
Date Thu, 18 Mar 2010 10:18:49 GMT
My bad.  Saying

$ python setup.py build --compiler=mingw32

fixes this problem.

Bill

> I'm trying to build PyLucene 2.9.2 on Windows XP with MinGW and msys,
> using Java 1.6.0_18 SE and Python 2.6.4, without setuptools.  I unpacked
> the sources, and tried building JCC:
> 
> $ python setup.py build
> running build
> running build_py
> creating build
> creating build\lib.win32-2.6
> creating build\lib.win32-2.6\jcc
> copying jcc\config.py -> build\lib.win32-2.6\jcc
> copying jcc\cpp.py -> build\lib.win32-2.6\jcc
> copying jcc\python.py -> build\lib.win32-2.6\jcc
> copying jcc\__init__.py -> build\lib.win32-2.6\jcc
> copying jcc\__main__.py -> build\lib.win32-2.6\jcc
> creating build\lib.win32-2.6\jcc\sources
> copying jcc\sources\functions.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JArray.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\jcc.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JCCEnv.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JObject.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\types.cpp -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\functions.h -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JArray.h -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JCCEnv.h -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\jccfuncs.h -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\JObject.h -> build\lib.win32-2.6\jcc\sources
> copying jcc\sources\macros.h -> build\lib.win32-2.6\jcc\sources
> creating build\lib.win32-2.6\jcc\patches
> copying jcc\patches\patch.4195 -> build\lib.win32-2.6\jcc\patches
> copying jcc\patches\patch.43.0.6c11 -> build\lib.win32-2.6\jcc\patches
> copying jcc\patches\patch.43.0.6c7 -> build\lib.win32-2.6\jcc\patches
> running build_ext
> building 'jcc._jcc' extension
> error: Unable to find vcvarsall.bat
> 
> $
> 
> This appears to be a regression of Python bug 2698.  I'll try installing
> setuptools and see if that masks the problem.
> 
> Nope, same problem with setuptools-0.6c11 installed.
> 
> Bill

Mime
View raw message