lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: I have a question about building PyLucene
Date Sun, 06 Jan 2019 22:24:42 GMT

On Sun, 6 Jan 2019, NDelt wrote:

> Hello.
> I'm trying to install PyLucene 7.5.0 on Windows 10.
> I've installed jcc successfully, but I have an error while performing
> make(mingw32-make, because it's Windows) command.

The ANT variable (extracted from your data below) doesn't look right
for Windows. I don't think that on Windows you can include setting JAVA_HOME
in the ant command line invocation. Set it separately.

ANT=JAVA_HOME=C:/Program Files/Zulu/zulu-8 C:/Program Files/ApacheAnt/apache-ant-1.10.5/bin/ant

Andi..


>
> Error message:
> *>mingw32-make*
> *process_begin: CreateProcess(NULL, pwd, ...) failed.*
> *mingw32-make: Makefile:20: pipe: No error*
> *process_begin: CreateProcess(NULL, which icupkg, ...) failed.*
> *mingw32-make: Makefile:183: pipe: No error*
> *process_begin: CreateProcess(NULL, uname, ...) failed.*
> *mingw32-make: Makefile:368: pipe: No error*
> *process_begin: CreateProcess(NULL, uname, ...) failed.*
> *mingw32-make: Makefile:371: pipe: No error*
> *cd lucene-java-7.5.0/lucene; (JAVA_HOME="C:/Program Files/Zulu/zulu-8"
> "C:/Program Files/ApacheAnt/apache-ant-1.10.5/bin/ant"
> ivy-availability-check || JAVA_HOME="C:/Program Files/Zulu/zulu-8"
> "C:/Program Files/ApacheAnt/apache-ant-1.10.5/bin/ant" ivy-bootstrap)*
> *process_begin: CreateProcess(NULL, uname, ...) failed.*
> *mingw32-make: Makefile:365: pipe: No such file or directory*
> *The filename, directory name, or volume label syntax is incorrect.*
> *'JAVA_HOME' is not recognized as an internal or external command,*
> *operable program or batch file.*
> *mingw32-make: *** [Makefile:206: ivy] Error 1*
>
> This is my OS configuration of Makefile:
> *PREFIX_PYTHON=C:/Users/NDelt/AppData/Local/Programs/Python/Python27*
> *ANT=JAVA_HOME=C:/Program Files/Zulu/zulu-8 C:/Program
> Files/ApacheAnt/apache-ant-1.10.5/bin/ant*
> *PYTHON=$(PREFIX_PYTHON)/python.exe*
> *JCC=$(PYTHON) -m jcc --shared --find-jvm-dll*
> *NUM_FILES=8*
>
> What is the cause and how can I fix the issue?
> Plus, I already installed Apache Ivy but I don't know how to connect it
> with PyLucene. I couldn't find related options in the Makefile.
>

Mime
View raw message