[Xapian-discuss] Building Xapian and Python Bindings for Windows: Solved

James Aylett james-xapian at tartarus.org
Fri Jan 6 11:39:35 GMT 2006


On Fri, Jan 06, 2006 at 01:06:25AM +0000, Olly Betts wrote:

> > Actually, the path is correct in a cygwin environment. I was suspecting 
> > the cygwin shell might be unable to start the python interpreter for 
> > some reason but it seems I was wrong. I can start it with this command. 
> > The exact error is :
> > 
> > """
> > PYTHONPATH=".;.libs" /cygdrive/d/Python23//python -c "import xapian"
> > /bin/sh: /cygdrive/d/Python23//python: No such file or directory
> > """
> > 
> > If I replace "/cygdrive/d/Python23//python" with "python" the call works 
> > better but ultimately fails because the cygwin support DLL is not in 
> > python sys.path and thus cannot be imported by "_xapian.dll".
> 
> So is the "No such file or directory" an error from the python
> interpreter failing to find some other file?

No, that error looks like it's not finding the python interpreter. Is
cygwin case sensitive for filenames?

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list