RE: Problem while installing the pylucene2.4.0 in linux

2009-03-30 Thread Antony Joseph
/SOURCES.txt - build/bdist.linux-i686/egg/EGG-INFO
copying lucene.egg-info/dependency_links.txt -
build/bdist.linux-i686/egg/EGG-INFO
copying lucene.egg-info/not-zip-safe - build/bdist.linux-i686/egg/EGG-INFO
copying lucene.egg-info/top_level.txt - build/bdist.linux-i686/egg/EGG-INFO
writing build/bdist.linux-i686/egg/EGG-INFO/native_libs.txt
creating 'dist/lucene-2.4.0-py2.5-linux-i686.egg' and adding
'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing lucene-2.4.0-py2.5-linux-i686.egg
removing
'/usr/lib/python2.5/site-packages/lucene-2.4.0-py2.5-linux-i686.egg' (and
everything under it)
creating /usr/lib/python2.5/site-packages/lucene-2.4.0-py2.5-linux-i686.egg
Extracting lucene-2.4.0-py2.5-linux-i686.egg to
/usr/lib/python2.5/site-packages
Adding lucene 2.4.0 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/lucene-2.4.0-py2.5-linux-i686.egg
Processing dependencies for lucene==2.4.0
Finished processing dependencies for lucene==2.4.0


Antony


-Original Message-
From: Andi Vajda [mailto:va...@apache.org] 
Sent: Saturday, March 28, 2009 11:58 PM
To: pylucene-dev@lucene.apache.org
Subject: Re: Problem while installing the pylucene2.4.0 in linux


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

RE: Problem while installing the pylucene2.4.0 in linux

2009-03-30 Thread Andi Vajda
/site-packages/lucene-2.4.0-py2.5-linux-i686.egg' (and
everything under it)
creating /usr/lib/python2.5/site-packages/lucene-2.4.0-py2.5-linux-i686.egg
Extracting lucene-2.4.0-py2.5-linux-i686.egg to
/usr/lib/python2.5/site-packages
Adding lucene 2.4.0 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/lucene-2.4.0-py2.5-linux-i686.egg
Processing dependencies for lucene==2.4.0
Finished processing dependencies for lucene==2.4.0


Antony


-Original Message-
From: Andi Vajda [mailto:va...@apache.org]
Sent: Saturday, March 28, 2009 11:58 PM
To: pylucene-dev@lucene.apache.org
Subject: Re: Problem while installing the pylucene2.4.0 in linux


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

Re: Problem while installing the pylucene2.4.0 in linux

2009-03-28 Thread Andi Vajda


On Mar 28, 2009, at 5:13, Antony Joseph ant...@digitalglue.in wrote:


Hello,



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?


What is this PasteDeploy stuff ?
I've never heard of it. How is that related to installing JCC ?

Andi..






Thanks,

Antony



$ sudo python setup.py install

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


Checking .pth file support in .


/usr/bin/python -E -c pass


Searching for PasteDeploy


Reading http://pypi.python.org/simple/PasteDeploy/


Reading http://pythonpaste.org/deploy/


Reading http://pythonpaste.org/deploy/paste-deploy.html


Best match: PasteDeploy 1.3.3


Downloading
http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.3.tar.g
z#md5=0598aa8ab4184ea8087839b811f92284

Processing PasteDeploy-1.3.3.tar.gz


Running PasteDeploy-1.3.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-FCXoqY/PasteDeploy-1.3.3/egg-dist-tmp-2vG3cO

Download error: (-2, 'Name or service not known') -- Some packages  
may not

be found!

Download error: (-2, 'Name or service not known') -- Some packages  
may not

be found!

error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script  
exited with
error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script  
exited with
error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script  
exited with

error: Setup script exited with error: Setup script exited with error:
Download error for
http://pypi.python.org/packages/source/P/Paste/Paste-1.7.2.tar.gz:  
(-2,

'Name or service not known')






Another run gave...



Downloading
http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.3.tar.g
z#md5=0598aa8ab4184ea8087839b811f92284

Processing PasteDeploy-1.3.3.tar.gz

Running PasteDeploy-1.3.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-IjWsld/PasteDeploy-1.3.3/egg-dist-tmp-hipwg4

Download error: (-2, 'Name or service not known') -- Some packages  
may not

be found!

error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script  
exited with
error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script  
exited with
error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Setup scriptexited with error: Setup script  
exited with
error: Setup script exited with error: Setup script exited with  
error: Setup

script exited with error: Setup script exited with error: Setup script
exited with error: Numerical result out of range





Thanks

Antony



--
DigitalGlue, India