Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
ubuntu12.04 python2.7
Description
googcheng@googcheng-TravelMate-4530:~/Downloads/pylucene-3.6.1-2/jcc$ python setup.py build
Traceback (most recent call last):
File "setup.py", line 186, in <module>
enable_shared = patch_setuptools(with_setuptools)
File "/home/googcheng/Downloads/pylucene-3.6.1-2/jcc/helpers/linux.py", line 67, in patch_setuptools
jccdir)
NotImplementedError:
Shared mode is disabled, setuptools patch.43.0.6c7 must be applied to enable it
or the NO_SHARED environment variable must be set to turn off this error.
sudo patch -d /usr/local/lib/python2.7/dist-packages/distribute-0.6.26-py2.7.egg -Nup0 < /home/googcheng/Downloads/pylucene-3.6.1-2/jcc/jcc/patches/patch.43.0.6c7
See /home/googcheng/Downloads/pylucene-3.6.1-2/jcc/INSTALL for more information about shared mode.