Chathuri Wimalasena
2018-08-20 19:06:48 UTC
Hi,
I'm struggling to install pylucene(4.10.1-1) in Ubunty 16.04. I followed
the instructions and I get different errors time to time. This is the error
I'm getting when I run the make command. I build and install jcc first.
g++ -pthread -shared -B /home/chathuri/anaconda2/envs/hoaxy/compiler_compat
-L/home/chathuri/anaconda2/envs/hoaxy/lib
-Wl,-rpath=/home/chathuri/anaconda2/envs/hoaxy/lib -Wl,--no-as-needed
-Wl,--sysroot=/ build/temp.linux-x86_64-2.7/build/_lucene/__init__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap07__.o
build/temp.linux-x86_64-2.7/build/_lucene/JArray.o
build/temp.linux-x86_64-2.7/build/_lucene/functions.o
build/temp.linux-x86_64-2.7/build/_lucene/lucene.o
build/temp.linux-x86_64-2.7/build/_lucene/JObject.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap04__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap02__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap03__.o
build/temp.linux-x86_64-2.7/build/_lucene/types.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap08__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap09__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap05__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap01__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap06__.o
-L/home/chathuri/anaconda2/envs/hoaxy/lib/python2.7/site-packages/JCC-2.21-py2.7-linux-x86_64.egg
-L/home/chathuri/anaconda2/envs/hoaxy/lib -ljcc -lpython2.7 -o
build/lib.linux-x86_64-2.7/lucene/_lucene.so
-L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava
-L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
-Wl,-rpath=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
-Wl,-S -Wl,-rpath
/home/chathuri/anaconda2/envs/hoaxy/lib/python2.7/site-packages/JCC-2.21-py2.7-linux-x86_64.egg
/home/chathuri/anaconda2/envs/hoaxy/compiler_compat/ld: cannot find -ljcc
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Makefile:363: recipe for target 'compile' failed
Any help would be much appreciated.
Thanks,
Chathuri
I'm struggling to install pylucene(4.10.1-1) in Ubunty 16.04. I followed
the instructions and I get different errors time to time. This is the error
I'm getting when I run the make command. I build and install jcc first.
g++ -pthread -shared -B /home/chathuri/anaconda2/envs/hoaxy/compiler_compat
-L/home/chathuri/anaconda2/envs/hoaxy/lib
-Wl,-rpath=/home/chathuri/anaconda2/envs/hoaxy/lib -Wl,--no-as-needed
-Wl,--sysroot=/ build/temp.linux-x86_64-2.7/build/_lucene/__init__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap07__.o
build/temp.linux-x86_64-2.7/build/_lucene/JArray.o
build/temp.linux-x86_64-2.7/build/_lucene/functions.o
build/temp.linux-x86_64-2.7/build/_lucene/lucene.o
build/temp.linux-x86_64-2.7/build/_lucene/JObject.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap04__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap02__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap03__.o
build/temp.linux-x86_64-2.7/build/_lucene/types.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap08__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap09__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap05__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap01__.o
build/temp.linux-x86_64-2.7/build/_lucene/__wrap06__.o
-L/home/chathuri/anaconda2/envs/hoaxy/lib/python2.7/site-packages/JCC-2.21-py2.7-linux-x86_64.egg
-L/home/chathuri/anaconda2/envs/hoaxy/lib -ljcc -lpython2.7 -o
build/lib.linux-x86_64-2.7/lucene/_lucene.so
-L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava
-L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
-Wl,-rpath=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
-Wl,-S -Wl,-rpath
/home/chathuri/anaconda2/envs/hoaxy/lib/python2.7/site-packages/JCC-2.21-py2.7-linux-x86_64.egg
/home/chathuri/anaconda2/envs/hoaxy/compiler_compat/ld: cannot find -ljcc
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Makefile:363: recipe for target 'compile' failed
Any help would be much appreciated.
Thanks,
Chathuri