lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: building PyLucene 3.0.2 on Win7/MinGW with Python 2.7
Date Tue, 30 Nov 2010 18:53:22 GMT

On Tue, 30 Nov 2010, Bill Janssen wrote:

> Andi Vajda <vajda@apache.org> wrote:
>
>> Also, note how version 9 of msvcrt.dll is on the stack. Is that what
>> you'd expect from your mingw build ?
>
> Yes, here's the somewhat elided link line:
>
> C:\MinGW\bin\g++.exe -mno-cygwin -shared -s build\temp.win32-2.7\Release\jcc\sources\jcc.o
[...] build\temp.win32-2.7\Release\_jcc\java\util\iterator.o build\temp.win32-2.7\Release\jcc\sources\_jcc.def
-Lc:\Python27\libs -Lc:\Python27\PCbuild -lpython27 -lmsvcr90 -o build\lib.win32-2.7\jcc\_jcc.pyd
"-LC:\Program Files (x86)\Java\jdk1.6.0_22/lib" -ljvm -Wl,--enable-auto-import -Wl,-S
>
> Presumably, that "-lmsvcr90" comes from the Python config via setuptools?
>
>> What was your python built with ?
>
> It's the standard version from python.org.
>
> Running depends on it says:
>
> c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL
>
> I see that Java seems to be built with msvcr71.dll.  Is that a problem?
>
> Why don't you see this on your machine?

So you're mixing three compiler runtimes ? (7.1, 9.0, mingw-gcc)

I got Python 2.7 binaries from python.org and they're built with MSVC 2008.
I built PyLucene/JCC with MSVC 2008.
I got JDK 1.6.0_22 from Oracle this week-end. I don't what it's built with.

Andi..

Mime
View raw message