I got the build working by changing the import line in
/usr/lib64/python2.4/site-packages/jcc/__init__.py from
     import os, sys
to
     import os, sys, _jcc


> That's unexpected. JCC should get installed as an egg. For example, on my
> system, its installation dir looks like:
> .../lib/python2.6/site-packages/JCC-2.11-py2.6-macosx-10.6-x86_64.egg
Hmmm.. I don't have any eggs:
     $ ls /usr/lib64/python2.4/site-packages/*.egg
     ls: /usr/lib64/python2.4/site-packages/*.egg: No such file or directory

> Are you using setuptools or just distutils ?
I followed the directions at
http://lucene.apache.org/pylucene/jcc/documentation/install.html,
namely
            $ python setup.py build
            $ sudo python setup.py install

> Do you have a _jcc.so file in your jcc installation tree somewhere ?
Yes, at /usr/lib64/python2.4/site-packages/jcc/_jcc.so

-- 
A. Heifets
http://www.cs.toronto.edu/~aheifets/

Reply via email to