As per the installation instructions, JCC is successfully built.
Dependencies Installed were: ant, openjdk-7-jdk, python-setuptools, python-dev.
Then procedd
Following these instructions (http://bendemott.blogspot.de/2013/11/installing-pylucene-4-451.html) got my system installed with pylucene
. Before it was working, it was crazy and I had this problem (Building Pylucene on ubuntu 14.04(trusty tahr)) but after a thorough reformatting and a fresh ubuntu 14.04 i got it running:
# Downloads and extract pylucene
$ wget http://mirror.serversupportforum.de/apache/lucene/pylucene/pylucene-4.9.0-0-src.tar.gz
$ tar -zxvf pylucene-4.9.0-0-src.tar.gz
# Install dependencies
$ sudo apt-get install ant
$ sudo apt-get install g++
$ sudo apt-get install python-dev
$ sudo apt-get install python3-setuptools
$ sudo easy_install pip
$ sudo pip install setuptools --upgrade
# Build and install pylucene
$ cd pylucene-4.9.0-0/jcc
$ sudo python setup.py build
$ sudo python setup.py install
$ cd ..
Edit the file named "Makefile" located at the root of the pylucene-4.9.0 directory you just extracted and locate this line:
# Linux (Ubuntu 11.10 64-bit, Python 2.7.2, OpenJDK 1.7, setuptools 0.6.16)
Uncomment lines in the Makefile as shown (if you are on linux) and save the changes:
Then continue with:
$ make
$ sudo make install
Voila, it's installed. To test that pylucene
works:
$ python
>>> import lucene
>>> lucene.initVM()