jcc

Python 2.6 + JCC + Pylucene issue.

Greetings, I'm trying to use pylucene in Python 2.6. Since there's no windows build for 2.6, I try to build the source code. First of all, I build JCC (windows, using cygwin) python setup.py build running build running build_py [...] building 'jcc' extension error: None python setup.py install running install [...] copying jcc\confi...

Windows build for PyLucene+JCC on python 2.6

Where can I download a PyLucene+JCC Windows build compiled for python 2.6? Jose ...

jcc.initVM() doesn't return when mod_wsgi is configured as daemon mode

I am using mod-wsgi with django, and in django I use pylucene to do full text search. While mod-wsgi is configured to be embedded mode, there is no problem at all. But when mod-wsgi is configured to be daemon mode, the apache just gets stuck, and the browser just keep loading but nothing appears. Then I identity the problem to be the ...

Pylucene in Python 2.6 + MacOs Snow Leopard

Greetings, I'm trying to install Pylucene on my 32-bit python running on Snow Leopard. I compiled JCC with success. But I get warnings while making pylucene: ld: warning: in build/temp.macosx-10.6-i386-2.6/build/_lucene/__init__.o, file is not of required architecture ld: warning: in build/temp.macosx-10.6-i386-2.6/build/_lucene/__wrap0...

writing a custom anaylzer in pylucene/inheritance using jcc?

Hello, I want to write a custom analyzer in pylucene. Usually in java lucene , when you write a analyzer class , your class inherits lucene's Analyzer class. but pylucene uses jcc , the java to c++/python compiler. So how do you let a python class inherit from a java class using jcc ,and especially how do you write a custom pyluc...

Problems with installing jcc and pylucene

I'm trying to install pylucene on Windows XP. I installed JDK on C:\Programme\Java\jdk1.6.0_18 . I also installed Visual Studio C++ Express to have a C++ compiler. As first step I'm trying to integrate jcc into python2.6 through the command: C:\Python26\python.exe setup.py build This gives me the following result: C:\Installfiles\pylu...

Objective-C grammar file for antlr and JCC

I am looking objective-c file for antlr and java compiler compiler. I have tried the objectivec grammar file from antlr site http://www.antlr.org/grammar/1212699960054/ObjectiveC2ansi.g but it is look like it broken. it failed in any source file. ...

ImportError: no module named _jcc

Hello, I'm trying to install pylucene on python 2.7 (windows) since four days. It requires JCC to build and install. After thousands and thousands different errors I handled myself, at last JCC sucessfully builded and installed. At least, that was what I thought. After that, I tried to import jcc but I get this error: Traceback (most r...

building of jcc fails on mac

I can not build jcc on mac os. Here's what fails. gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -D_java_generics -DJCC_VER="2.6" -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I_jcc -Ijcc/sources -I/Library/Frameworks/Python.framewo...