Pylucene help

27 views
Skip to first unread message

JAGANADH G

unread,
Dec 27, 2009, 10:17:18 AM12/27/09
to chen...@googlegroups.com
Dear All

Does any body have a good documentation how to install pylucene.

--
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog

Shrinivasan T

unread,
Dec 27, 2009, 10:36:01 AM12/27/09
to chen...@googlegroups.com
Hi,

>
> Does any body have a good documentation how to install pylucene.


did you googled?

I did and got these links.

http://lucene.apache.org/pylucene/documentation/install.html

http://sujitpal.blogspot.com/2007/06/pylucene-python-scripting-for-lucene.html


--
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.wordpress.com

JAGANADH G

unread,
Dec 27, 2009, 10:51:56 AM12/27/09
to chen...@googlegroups.com
On Sun, Dec 27, 2009 at 9:06 PM, Shrinivasan T <tshrin...@gmail.com> wrote:
Hi,



>
> Does any body have a good documentation how to install pylucene.


did you googled?

Yes

This one I saw . Still I am getting some C++ error . I am trying to solve it.

http://sujitpal.blogspot.com/2007/06/pylucene-python-scripting-for-lucene.html

Thanks for this link. But it is telling about some old version. This will not work with pylucene 3.x version. I tried the technique

Shrinivasan T

unread,
Dec 27, 2009, 11:36:38 AM12/27/09
to chen...@googlegroups.com
>
> This one I saw . Still I am getting some C++ error . I am trying to solve

What error you get?
what distro?
what pylucene version you try?
what python version you have?

JAGANADH G

unread,
Dec 27, 2009, 10:12:23 PM12/27/09
to chen...@googlegroups.com
On Sun, Dec 27, 2009 at 10:06 PM, Shrinivasan T <tshrin...@gmail.com> wrote:
>
> This one I saw . Still I am getting some C++ error . I am trying to solve

What error you get?
 
This is the error whicj I am getting when I am trying to install JCC
jcc/sources/JCCEnv.h: In member function ‘virtual int JCCEnv::isSame(int, int) const’:
jcc/sources/JCCEnv.h:280: error: ‘get_vm_env’ was not declared in this scope
jcc/sources/JCCEnv.h: At global scope:
jcc/sources/JCCEnv.h:294: error: expected ‘)’ before ‘vm_env’
In file included from jcc/sources/jcc.cpp:26:
jcc/sources/JObject.h:25: error: ‘jobject’ does not name a type
jcc/sources/JObject.h:28: error: expected ‘)’ before ‘obj’
jcc/sources/jcc.cpp:677: error: expected ‘}’ at end of input
jcc/sources/jcc.cpp:677: error: expected unqualified-id at end of input
error: command 'gcc' failed with exit status 1
 
what distro?

Fedora 12

 
what pylucene version you try?

pylucene-3.0.0-1
 
what python version you have?


2.6.2

JAGANADH G

unread,
Dec 30, 2009, 3:46:18 AM12/30/09
to chen...@googlegroups.com


On Sun, Dec 27, 2009 at 10:06 PM, Shrinivasan T <tshrin...@gmail.com> wrote:
>
> This one I saw . Still I am getting some C++ error . I am trying to solve

What error you get?
what distro?
what pylucene version you try?
what python version you have?



Now I solved the issue.
First thing we have to for installing JCC is to edit the setup.py .
In setup.py exact path to JDK has be set. I forgot to do that so why I got the error.
Reply all
Reply to author
Forward
0 new messages