[pylucene-dev] Windows Python 2.5 binaries?

Steven Bethard steven.bethard at gmail.com
Wed Oct 11 14:14:10 PDT 2006


On 10/11/06, Andi Vajda <vajda at osafoundation.org> wrote:
> On Wed, 11 Oct 2006, Steven Bethard wrote:
> > Running make -d with a Makefile that looks pretty much like the one
> > above, I see that:
> >
> > Prerequisite `lucene-java-2.0.0-453447' is newer than target
> > `lucene-java-2.0.0-453447/build/lucene-core-2.0.0-453447.jar'.
> >
> > Looks like it expects the directories to have the same dates, but when
> > I extract the files (either with 7-zip or GnuWin32 tar/gzip) I get
> > folders with newer modification dates than all the jar files.  I ran
> > the following script to ``touch`` everything:
>
> I just tried the same build (with python 2.4.3) and it worked fine.
> The archive utilities you used probably messed up the dates.

FWIW, I verified this.  Cygwin tar works fine.

> > /cygdrive/d/MinGW/bin/g++ -shared -o release/_PyLucene.pyd ...
> > `cygpath -aw /cygdrive/c/PROGRA~1/Python/python25.dll` -L`cygpath -aw
> > /cygdrive/d/MinGW/lib` -lgcj -liconv  -lwin32k -lws2_32
> > g++.exe: c:\PROGRA~1\Python\python25.dll: No such file or directory
> >
> > I used the MSI installer from python.org when I installed Python2.5
> > and as far as I could tell, it doesn't seem to install a python25.dll.
> > Where should that be coming from?  (There is a python25.lib in
> > C:\PROGRA~1\Python\libs for what it's worth.)
>
> I don't know, I built Python 2.4.3 from sources and python24.dll is in the
> Python-2.4.3/PCbuild directory.

Ok, I dowloaded and built Python 2.5 and put python25.dll where
PyLucene expects it to be.  Everything then compiled for me just fine.
 Do I need to leave the python25.dll there?  I removed it and PyLucene
seemed to work fine without it.

If you'd like me to send you the .pyd so you can post it, let me know.

Thanks for all the help!

Steve
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy


More information about the pylucene-dev mailing list