lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Koch" <k...@orbiteam.de>
Subject RE: [VOTE] Release PyLucene 3.3 (rc2)
Date Fri, 22 Jul 2011 09:03:29 GMT
Hi Andi,
yes there was a thread on the mailing list about using MinGW on Windows, but
that didn't come to an end. 

I've meanwhile managed to build PyLucene-3.3.3 on Win32(vista) with msvc
compiler (Microsoft Visual Studio 9.0 == msvcr90.dll) and Python 2.6.

Did also run "make test" without any errors. So here's my +1 for the RC3
from Windows platform perspective.

Regards,
Thomas

> -----Original Message-----
> From: Andi Vajda [mailto:vajda@apache.org]
> Sent: Thursday, July 21, 2011 5:56 PM
> To: pylucene-dev@lucene.apache.org
> Subject: RE: [VOTE] Release PyLucene 3.3 (rc2)
> 
> 
>   Hi Thomas,
> 
> I don't use mingw so I can't tell you much about it but others on this
list
> do use it, they may have more to say...
> 
> About the 'icupkg' utility missing, this is ignorable, you just won't get
> the PyLucene/PyICU integration, which is not indispensable.
> 
> Andi..
> 
> On Thu, 21 Jul 2011, Thomas Koch wrote:
> 
> > I've just tried to build PyLucene 3.3 on win32 and failed.
> > This may be unrelated to V3.3 though as I tried the build process with
minGW
> > for the first time (used MSVC before)! Just wondering if I'm doing sth
wrong
> > or anyone had this issue and can help:
> >
> > Using
> > - Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit
> > (Intel)] on win32
> > - jdk1.6.0_14
> > - mingw32-gcc (gcc (GCC) 4.5.2)
> > - setuptools.__version__'0.6c11'
> > - msys-make (GNU Make 3.81)
> > - ant 1.7.1
> >
> > I'm able to build (and install) JCC:
> > ./jcc-2.10-py2.6-win32.egg
> >>>> jcc.initVM()
> > <jcc.JCCEnv object at 0x01BAF0B0>
> >
> > Then "make" runs fine until the final "python -m jcc.__main__ xyz.jar
...
> > --build"
> > Here python.exe crashes (windows popup asking to send details to
> > somewhere...)
> > make: *** [compile] Error 5
> >
> > The only warnings I get are
> >
> > which: icupkg: unknown command
> > ICU not installed
> > (is there a minGW package for that?)
> >
> > This is Windows-Vista 32-bit. Attached is my Makefile chunk.
> >
> > Any ideas? Has anyone yet tried to build PyLucene within
> > virtualenv(ironment) and is this suggested?
> >
> > I fear the answer is "you have to build Python with MinGW" ,-(
> >
> > I may get back to MSVC but would also like to get this running with
MinGW...
> >
> > Regards
> > Thomas
> > --
> > # Makefile [...]
> > # Windows   (Win32, msys/MinGW, Python 2.6.6, Java 1.6, ant 1.7.1
> > PREFIX_PYTHON=C:\\Devel\\Python26
> >
ANT=C:\\Devel\\Eclipse\\eclipse36\\plugins\\org.apache.ant_1.7.1.v20100518-1
> > 145\\bin\\ant
> > PYTHON=$(PREFIX_PYTHON)\\python.exe
> > JCC=$(PYTHON) -m jcc.__main__ --shared --compiler mingw32
> > NUM_FILES=3
> >
> >
> > Imports work to some extend ... here's make output with -v -d args for
> > python:
> > ...
> > import jcc # directory
> > c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc
> > #
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\__init__.py
> > c
> > matches
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\__init__.py
> > import jcc # precompiled from
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\__init__.py
> > c
> > #
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\config.pyc
> > matches
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\config.py
> > import jcc.config # precompiled from
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\config.pyc
> > import jcc._jcc # dynamically loaded from
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\_jcc.pyd
> > #
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\cpp.pyc
> > matches
> > c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\cpp.py
> > import jcc.cpp # precompiled from
> > c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\cpp.pyc
> > # c:\Devel\Python26\lib\zipfile.pyc matches
c:\Devel\Python26\lib\zipfile.py
> > import zipfile # precompiled from c:\Devel\Python26\lib\zipfile.pyc
> > # c:\Devel\Python26\lib\struct.pyc matches
c:\Devel\Python26\lib\struct.py
> > import struct # precompiled from c:\Devel\Python26\lib\struct.pyc
> > import _struct # builtin
> > import time # builtin
> > # c:\Devel\Python26\lib\shutil.pyc matches
c:\Devel\Python26\lib\shutil.py
> > import shutil # precompiled from c:\Devel\Python26\lib\shutil.pyc
> > # c:\Devel\Python26\lib\fnmatch.pyc matches
c:\Devel\Python26\lib\fnmatch.py
> > import fnmatch # precompiled from c:\Devel\Python26\lib\fnmatch.pyc
> > import binascii # builtin
> > import cStringIO # builtin
> > import zlib # builtin
> > #
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\python.pyc
> > matches
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\python.py
> > import jcc.python # precompiled from
> >
c:\Devel\Python26\lib\site-packages\jcc-2.10-py2.6-win32.egg\jcc\python.pyc
> > # c:\Devel\Python26\lib\platform.pyc matches
> > c:\Devel\Python26\lib\platform.py
> > import platform # precompiled from c:\Devel\Python26\lib\platform.pyc
> > # c:\Devel\Python26\lib\string.pyc matches
c:\Devel\Python26\lib\string.py
> > import string # precompiled from c:\Devel\Python26\lib\string.pyc
> > import strop # builtin
> > import itertools # builtin
> > make: *** [compile] Error 5
> >
> >> -----Original Message-----
> >> From: Andi Vajda [mailto:vajda@apache.org]
> >> Sent: Thursday, July 21, 2011 12:47 PM
> >> To: pylucene-dev@lucene.apache.org
> >> Cc: general@lucene.apache.org
> >> Subject: [VOTE] Release PyLucene 3.3 (rc2)
> >>
> >>
> >> The Apache PyLucene 3.3-2 release closely tracking the recent release
of
> >> Apache Lucene Java 3.3 is ready.
> >>
> >> A release candidate is available from:
> >> http://people.apache.org/~vajda/staging_area/
> >>
> >> This new release candidate fixes an issue with wrapping the new
grouping
> >> contrib module which is now part of the PyLucene build.
> >>
> >> A list of changes in this release can be seen at:
> >>
> >
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_3_3/CHANGE
> > S
> >>
> >> PyLucene 3.3 is built with JCC 2.10 included in these release
artifacts.
> >>
> >> A list of Lucene Java changes can be seen at:
> >>
> >
http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_3/lucene/CHANG
> > ES
> >> .txt
> >>
> >> Please vote to release these artifacts as PyLucene 3.3-2.
> >>
> >> 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