Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EDA77C9A for ; Fri, 22 Jul 2011 09:04:37 +0000 (UTC) Received: (qmail 28300 invoked by uid 500); 22 Jul 2011 09:04:33 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 28117 invoked by uid 500); 22 Jul 2011 09:04:19 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 28091 invoked by uid 99); 22 Jul 2011 09:04:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 09:04:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [178.77.127.65] (HELO mail.orbiteam.de) (178.77.127.65) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 09:04:10 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.orbiteam.de (Postfix) with ESMTP id BA4C21866125 for ; Fri, 22 Jul 2011 11:03:49 +0200 (CEST) Received: from mail.orbiteam.de ([127.0.0.1]) by localhost (mail.orbiteam.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tmHMEM6S1dg2 for ; Fri, 22 Jul 2011 11:03:47 +0200 (CEST) Received: from paros (pd95ba9f9.dip0.t-ipconnect.de [217.91.169.249]) by mail.orbiteam.de (Postfix) with ESMTPA id C7FAF18660BA for ; Fri, 22 Jul 2011 11:03:46 +0200 (CEST) From: "Thomas Koch" To: References: <009201cc47b5$7b2867c0$71793740$@de> In-Reply-To: Subject: RE: [VOTE] Release PyLucene 3.3 (rc2) Date: Fri, 22 Jul 2011 11:03:29 +0200 Organization: OrbiTeam Software Message-ID: <001d01cc484e$399448d0$acbcda70$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcxHvrQ6wTuMsdybSr6FOwdkf1c66QAjxhBw Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org 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() > > > > > > 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 > > > >