With Andi's advise (thanks Andi) got a little further building PyLucence 
2.4.1-1 on cygwin windows, but build is complaining about missing build.xml in 
one of the subdirectories.  
Successful build and install of JCC2.2 on cygwin was an accomplishment in 
itself. Goal is to get PyLucene  built for cygwin platform and share with all.  
Does JCC2.3 make a difference in building PyLucence 2.4.1-1?  if JCC2.3 is 
available for download someplace without using svn - I will do it. But I could 
not find a regular separate downloadable JCC2.3 anywhere.

$ make
cd lucene-java-2.4.1; ant -Dversion=2.4.1
Buildfile: build.xml

jar.core-check:

compile-demo:
    [mkdir] Created dir: 
c:\Edwin\Download\python\pylucene-2.4.1-1\lucene-java-2.4.1\build\classes\demo
    [javac] Compiling 17 source files to 
c:\Edwin\Download\python\pylucene-2.4.1-1\lucene-java-2.4.1\build\classes\demo

BUILD SUCCESSFUL
Total time: 1 second
cd lucene-java-2.4.1/contrib/snowball; ant -Dversion=2.4.1
Buildfile: build.xml does not exist!
Build failed
make: *** [lucene-java-2.4.1/build/contrib/snowball/lucene-snowball-2.4.1.jar] 
Error 1

Since I do not have the luxury of using SVN, I manually download 
lucene-2.4.1.tar.gz and expand it into lucene-java-2.4.1.tar.gz under  
pylucene-2.4.1-1 directory.

With little tweaking of Makefile, found build files missing in 6 following 
directories.
$(LUCENE)/build/contrib/snowball
$(LUCENE)/build/contrib/highlighter
$(LUCENE)/build/contrib/analyzers
$(LUCENE)/build/contrib/regex
$(LUCENE)/build/contrib/queries
$(LUCENE)/build/contrib/instantiated

my steps:
# download pylucene-2.4.1-1-src.tar.gz & lucene-2.4.1.tar.gz 
$ tar -xvzf pylucene-2.4.1-1-src.tar.gz
$ cd pylucene-2.4.1-1
$ tar -xvzf ../lucene-2.4.1.tar.gz 
$ mv lucene-2.4.1/ lucene-java-2.4.1/

#edit Makefile, add following variables for cygwin platform and then run make.
PREFIX_PYTHON=/usr
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc --shared
NUM_FILES=2

Am I missing something trivial OR do I need to create build.xml files by hand 
(I did not think so) in these directories ? if so a sample or example would be 
help.  any suggestions or ideas please.

thanks in advance
Edwin




The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.

Reply via email to