On Sat, 28 Mar 2009, Antony Joseph wrote:

I'm building pylucene from source on Ubuntu 8.10. While doing JCC, the
python setup.py build worked fine. However

while installing the process gets stuck and exits as below. Any ideas for a
workaround?


I just ran this on Ubuntu Intrepid myself and it worked fine.
I built and installed PyLucene/JCC from svn trunk:
    http://svn.apache.org/repos/asf/lucene/pylucene/trunk

Where did you get your PyLucene 2.4.0 source distribution from ?
PyLucene recently moved to the Apache foundation and hasn't had an official
source distribution released there yet as we're still waiting for one more PMC vote for releasing PyLucene 2.4.1. As always, you can get the sources from SVN at http://svn.apache.org/repos/asf/lucene/pylucene/trunk.

JCC's install completed fine:

va...@intrepid:~/PyLucene/jcc$ sudo python setup.py install
[sudo] password for vajda: running install
running bdist_egg
running egg_info
writing JCC.egg-info/PKG-INFO
writing top-level names to JCC.egg-info/top_level.txt
writing dependency_links to JCC.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
writing manifest file 'JCC.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying jcc/config.py -> build/lib.linux-x86_64-2.5/jcc
copying jcc/classes/org/apache/jcc/PythonVM.class -> 
build/lib.linux-x86_64-2.5/jcc/classes/org/apache/jcc
copying jcc/classes/org/apache/jcc/PythonException.class -> 
build/lib.linux-x86_64-2.5/jcc/classes/org/apache/jcc
running build_ext
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.5/libjcc.so -> build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/jcc
creating build/bdist.linux-x86_64/egg/jcc/classes
creating build/bdist.linux-x86_64/egg/jcc/classes/org
creating build/bdist.linux-x86_64/egg/jcc/classes/org/apache
creating build/bdist.linux-x86_64/egg/jcc/classes/org/apache/jcc
copying build/lib.linux-x86_64-2.5/jcc/classes/org/apache/jcc/PythonVM.class -> 
build/bdist.linux-x86_64/egg/jcc/classes/org/apache/jcc
copying 
build/lib.linux-x86_64-2.5/jcc/classes/org/apache/jcc/PythonException.class -> 
build/bdist.linux-x86_64/egg/jcc/classes/org/apache/jcc
copying build/lib.linux-x86_64-2.5/jcc/__main__.py -> 
build/bdist.linux-x86_64/egg/jcc
copying build/lib.linux-x86_64-2.5/jcc/_jcc.so -> 
build/bdist.linux-x86_64/egg/jcc
copying build/lib.linux-x86_64-2.5/jcc/cpp.py -> 
build/bdist.linux-x86_64/egg/jcc
copying build/lib.linux-x86_64-2.5/jcc/python.py -> 
build/bdist.linux-x86_64/egg/jcc
creating build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JArray.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JObject.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/jccfuncs.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JCCEnv.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JCCEnv.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/functions.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JArray.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/JObject.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/functions.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/jcc.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/types.cpp -> 
build/bdist.linux-x86_64/egg/jcc/sources
copying build/lib.linux-x86_64-2.5/jcc/sources/macros.h -> 
build/bdist.linux-x86_64/egg/jcc/sources
creating build/bdist.linux-x86_64/egg/jcc/patches
copying build/lib.linux-x86_64-2.5/jcc/patches/patch.43 -> 
build/bdist.linux-x86_64/egg/jcc/patches
copying build/lib.linux-x86_64-2.5/jcc/patches/patch.4195 -> 
build/bdist.linux-x86_64/egg/jcc/patches
copying build/lib.linux-x86_64-2.5/jcc/config.py -> 
build/bdist.linux-x86_64/egg/jcc
copying build/lib.linux-x86_64-2.5/jcc/__init__.py -> 
build/bdist.linux-x86_64/egg/jcc
byte-compiling build/bdist.linux-x86_64/egg/jcc/__main__.py to __main__.pyc
byte-compiling build/bdist.linux-x86_64/egg/jcc/cpp.py to cpp.pyc
byte-compiling build/bdist.linux-x86_64/egg/jcc/python.py to python.pyc
byte-compiling build/bdist.linux-x86_64/egg/jcc/config.py to config.pyc
byte-compiling build/bdist.linux-x86_64/egg/jcc/__init__.py to __init__.pyc
creating stub loader for jcc/_jcc.so
byte-compiling build/bdist.linux-x86_64/egg/jcc/_jcc.py to _jcc.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying JCC.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying JCC.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying JCC.egg-info/dependency_links.txt -> 
build/bdist.linux-x86_64/egg/EGG-INFO
copying JCC.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying JCC.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/JCC-2.2-py2.5-linux-x86_64.egg' and adding 
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing JCC-2.2-py2.5-linux-x86_64.egg
creating /usr/lib/python2.5/site-packages/JCC-2.2-py2.5-linux-x86_64.egg
Extracting JCC-2.2-py2.5-linux-x86_64.egg to /usr/lib/python2.5/site-packages
Removing JCC 2.1 from easy-install.pth file
Adding JCC 2.2 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/JCC-2.2-py2.5-linux-x86_64.egg
Processing dependencies for JCC==2.2
Finished processing dependencies for JCC==2.2

Reply via email to