On Thu, 24 Sep 2009, Sepand Ansari wrote:

I set up the latest version of setuptools and rebuild JCC. Now the dll files 
are generated. I added jvm.dll to PATH and it worked! :D:D
here is my make settings:
PREFIX_PYTHON=/cygdrive/c/Python26
ANT=ant
#o:\\Java\\jdk1.6.0_02 /cygdrive/o/java/apache-ant-1.7.0/bin/ant
PYTHON=$(PREFIX_PYTHON)/python.exe
JCC=$(PYTHON) -m jcc.__main__ --shared

Thanks a lot.

You're welcome !

Andi..

Sepand

--- On Wed, 9/23/09, Andi Vajda <va...@apache.org> wrote:

From: Andi Vajda <va...@apache.org>
Subject: Re: pylucene make problem Win XP and cygwin
To: pylucene-dev@lucene.apache.org
Date: Wednesday, September 23, 2009, 8:57 PM


On Wed, 23 Sep 2009, Andi Vajda wrote:


On Wed, 23 Sep 2009, Sepand Ansari wrote:

yes, I have only:
2895 Sep 23 17:27 JCC-2.3-py2.6.egg-info

Are you using setuptools or distutils ?

To find out if you have setuptools (and what version):

  $ python -c "from pkg_resources import require; print 
require('setuptools')[0]"

What does this return for you ?

Andi..


If you don't have setuptools, don't use --shared (and then there is no jcc.dll)
JCC's setup.py won't build a jcc.dll if setuptools is not found.

If you still have a 'DLL not found' error, the next ones to ensure are on your 
path are the ones for Java, such as jvm.dll and so on and python.dll (or 
whatever its name is).

Andi..

Reply via email to