I was able to build JCC and PyLucene - after having fixed the ivy-issue - on Win7-32 with Python2.7 and Java1.6: Installed c:\python27\lib\site-packages\jcc-2.13-py2.7-win32.egg
The initial build of PyLucene failed with: pylucene-3.6.0-1\lucene-java-3.6.0\lucene\common-build.xml:526: The following error occurred while executing this line: pylucene-3.6.0-1\lucene-java-3.6.0\lucene\common-build.xml:298: Ivy is not available After running the ivy-bootstrap the build went fine. >cd pylucene-3.6.0-1\lucene-java-3.6.0\lucene >ant ivy-bootstrap Buildfile: pylucene-3.6.0-1\lucene-java-3.6.0\lucene\build.xml ivy-bootstrap: [mkdir] Created dir: C:\Users\Thomas Koch\.ant\lib [echo] installing ivy 2.2.0 to C:\Users\Thomas Koch\.ant\lib [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar [get] To: C:\Users\Thomas Koch\.ant\lib\ivy-2.2.0.jar BUILD SUCCESSFUL Total time: 1 second Note: running "ant ivy-bootstrap" the 2nd time seems to detect the already installed version - and not download it again: ivy-bootstrap: [echo] installing ivy 2.2.0 to C:\Users\Thomas Koch\.ant\lib [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar [get] To: C:\Users\Thomas Koch\.ant\lib\ivy-2.2.0.jar [get] Not modified - so not downloaded BUILD SUCCESSFUL Total time: 1 second So I'd say either adding "ant ivy-bootstrap" to the "make all" target (of PyLucene) or simply adding a "make ivy" target (and some hint in the docs) could help here. Alternatively it should be clearly marked as a required component to build PyLucene - as the BUILD readme of java-lucene tells: > ...Set up your development environment > (JDK 1.5 or greater, Ant 1.7.1+, Ivy 2.2.0) However it seems that the ivy.jar in user's local ant dir may not be sufficient depending on the ANT global config. I understand the Java-Lucene guys decided to fallback to a wiki page and some error details in the build process (and declare ivy as required - see above) - cf. lucene jira where the problem is discussed: https://issues.apache.org/jira/browse/LUCENE-3946 Finally: my ant-1.8 does not recognize the mentioned "ant --noconfig" option, but only supports -nouserlib Run ant without using the jar files from ${user.home}/.ant/lib -noclasspath Run ant without using CLASSPATH It's somewhat ironic that bringing in a "very powerful dependency manager" (Apache Ivy website) results in another dependency issue... Regards, Thomas -----Ursprüngliche Nachricht----- Von: Andi Vajda [mailto:va...@apache.org] Gesendet: Samstag, 5. Mai 2012 23:53 An: pylucene-dev@lucene.apache.org Betreff: Re: [VOTE] Release PyLucene 3.6.0 >> Please vote to release these artifacts as PyLucene 3.6.0-1. > > Lucene fails to compile because I don't have ivy installed and the > Makefile doesn't call ivy-bootstrap automatically. Right. The Lucene error should be clear enough but adding a make target could help. How to communicate that target, though ? Andi..