[Xapian-devel] Re: Xapian Binding compile error in Windows XP using CygWin

Olly Betts olly at survex.com
Fri Dec 23 13:23:08 GMT 2005


On Fri, Dec 23, 2005 at 12:57:34PM +0000, Koum wrote:
> $ python -c 'import sys;print sys.prefix'
> /usr
> 
> And James is right the path for /usr is C:\cygwin\usr

I don't understand why our technique for finding the python dll works
for mingw but not for cygwin, but you can probably just override this
with:

make install PYTHON_LIBS='-L"C:/Program Files/Python24/libs" -lpython24'

That's assuming that libtool copes with the space, as it doesn't always
cope with pathnames with spaces.  If that causes a problem, I guess you
can symlink it from a safer path and use that in the -L.

Cheers,
    Olly




More information about the Xapian-devel mailing list