[ https://issues.apache.org/jira/browse/PYLUCENE-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
goog cheng updated PYLUCENE-23: ------------------------------- Description: after type sudo python setup.py build , and terminal outputs: googcheng@googcheng-TravelMate-4530:~/Downloads/pylucene-3.6.1-2/jcc$ sudo python setup.py build /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'force_shared' warnings.warn(msg) Traceback (most recent call last): File "setup.py", line 382, in <module> main('--debug' in sys.argv) File "setup.py", line 327, in main raise type(e), "%s: %s" %(e, args) OSError: [Errno 2] No such file or directory: ['javac', '-d', 'jcc/classes', 'java/org/apache/jcc/PythonVM.java', 'java/org/apache/jcc/PythonException.java'] was: after type sudo python setup.py build , and terminal outputs: /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'force_shared' warnings.warn(msg) Traceback (most recent call last): File "setup.py", line 382, in <module> main('--debug' in sys.argv) File "setup.py", line 327, in main raise type(e), "%s: %s" %(e, args) OSError: [Errno 2] No such file or directory: ['javac', '-d', 'jcc/classes', 'java/org/apache/jcc/PythonVM.java', 'java/org/apache/jcc/PythonException.java'] googcheng@googcheng-TravelMate-4530:~/Downloads/pylucene-3.6.1-2/jcc$ sudo python setup.py build /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'force_shared' warnings.warn(msg) Traceback (most recent call last): File "setup.py", line 382, in <module> main('--debug' in sys.argv) File "setup.py", line 327, in main raise type(e), "%s: %s" %(e, args) OSError: [Errno 2] No such file or directory: ['javac', '-d', 'jcc/classes', 'java/org/apache/jcc/PythonVM.java', 'java/org/apache/jcc/PythonException.java'] > OSError > ------- > > Key: PYLUCENE-23 > URL: https://issues.apache.org/jira/browse/PYLUCENE-23 > Project: PyLucene > Issue Type: Bug > Environment: ubuntu12.04 python2.7 > Reporter: goog cheng > > after type sudo python setup.py build , and terminal outputs: > googcheng@googcheng-TravelMate-4530:~/Downloads/pylucene-3.6.1-2/jcc$ sudo > python setup.py build > /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension > options: 'force_shared' > warnings.warn(msg) > Traceback (most recent call last): > File "setup.py", line 382, in <module> > main('--debug' in sys.argv) > File "setup.py", line 327, in main > raise type(e), "%s: %s" %(e, args) > OSError: [Errno 2] No such file or directory: ['javac', '-d', 'jcc/classes', > 'java/org/apache/jcc/PythonVM.java', > 'java/org/apache/jcc/PythonException.java'] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira