You were right. Using cygwin make solved the problem, Thanks. but now I am getting another error: c:\Python26\python.exe: jcc is a package and cannot be directly executed when I use python 2.6 and c:\Python31\python.exe: No module named jcc when using Python 3.1 I also edited makefile to resolve Python 2.6 problem: JCC=$(PYTHON) jcc.__main__ --shared but I am getting : c:\Python26\python.exe: can't open file 'jcc.__main__': [Errno 2] No such file or directory
Thanks again 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, 7:27 PM On Wed, 23 Sep 2009, Sepand Ansari wrote: > Hi All, > I am trying to install pylucene using cygwin on Win XP. > After resolving problems I had with building JCC now I have both JCC > and Java Lucene built . After Lucene being build the make process > executes this scripts which causes error: > > /cygdrive/c/Python26/python.exe > -m jcc --shared --jar lucene-java-2.4.1/build/lucene-core-2.4.1.jar > --jar [...] --python lucene --mapping > org.apache.lucene.document.Document > 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping > java.util.Properties > 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence > org.apache.lucene.search.Hits 'length:()I' > 'doc:(I)Lorg/apache/lucene/document/Document;' --version 2.4.1 --module > python/collections.py --files 2 --build > > process_begin: CreateProcess((null), /cygdrive/c/Python26/python.exe -m jcc > [...] --build, ...) failed. > make (e=3D3): The system cannot find the path specified. > c:\mingw\bin\mingw32-make.exe: *** > [compile] Error 3 It looks like you're using MinGW make inside Cygwin, right ? Does it support Cygwin style paths ? If not, use Cygwin's 'make' instead. Andi..