code_junkie

Python 2.6 + JCC + Pylucene issue

Nov 12th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. python setup.py build
  2. running build
  3. running build_py
  4. [...]
  5. building 'jcc' extension
  6. error: None
  7.  
  8. python setup.py install
  9. running install
  10. [...]
  11. copying jccconfig.py -> buildlib.win32-2.6jcc
  12. copying jccclassesorgosafoundationjccPythonException.class -> buildlib.win32-2.6jccclassesorgosafoundationjcc
  13. running build_ext
  14. building 'jcc' extension
  15. error: None
  16.  
  17. make
  18. /cygdrive/f/Python26//python.exe -m jcc --shared --jar lucene-java-2.4.0/build/lucene-core-2.4.0.jar
  19. [...]
  20. 'doc:(I)Lorg/apache/lucene/document/Document;' --version 2.4.0 --files 2 --build
  21.  
  22. f:Python26python.exe: No module named jcc
  23. make: *** [compile] Error 1
  24.  
  25. make
  26. [...]
  27. f:Python26python.exe: jcc is a package and cannot be directly executed
  28. make: *** [compile] Error 1
  29.  
  30. $ make /cygdrive/f/Python26//python.exe -m jcc.__main__ --shared --jar lucene-java-2.4. 0/build/lucene-core-2.4.0.jar
  31. [...]
  32. --version 2.4.0 --files 2 --build
  33. f:Python26python.exe: No module named _jcc
  34. make: *** [compile] Error 1
Add Comment
Please, Sign In to add comment