Re: Pylucene installation issue on Ubuntu LInux

2009-08-11 Thread Andi Vajda
On Tue, 11 Aug 2009, KK wrote: Thank you Andi. But I'm done with all these changes yesterday itself, and so far its working fine. Shall I revert back to avoid any potential/unexpected mess by removing the soft link and following the other steps mentioned in your mail? You should, you should,

Re: Pylucene installation issue on Ubuntu LInux

2009-08-11 Thread KK
Thank you Andi. But I'm done with all these changes yesterday itself, and so far its working fine. Shall I revert back to avoid any potential/unexpected mess by removing the soft link and following the other steps mentioned in your mail? --KK On Mon, Aug 10, 2009 at 9:15 PM, Andi Vajda wrote: >

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Mon, 10 Aug 2009, KK wrote: As I mentioned earlier jcc got installed to dist-packages sub-directory of python2.6, instead of site-packages, and modifying the Makefile to reflect that was not working porperly, so i simply created a sym link in /usr/lib/python2.6 wiht a name "site-packages" a

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Mon, 10 Aug 2009, KK wrote: Yes, jcc is under dist-packages. I think I should comment the lines I commented out for linux as we're going to provide all those details from the command line, right? I did the same and ruinning the commad you mentioned gave me the following errors: k...@kk-lap

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Mon, 10 Aug 2009, Christian Heimes wrote: KK schrieb: Thanks Christian. After installing python-dev i'm able to do the build for jcc and then installed without gettig any error messages. Then from the main directory i changed the makefile and (surprisingly i dint see any site-packages direc

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Mon, 10 Aug 2009, KK wrote: For "open-jdk" my setup.py file is like this: import os, sys from distutils.core import setup, Extension # Add or edit the entry corresponding to your system in the INCLUDES and # LFLAGS dictionaries below. These entries are used to build JCC _and_ are # used by

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Mon, 10 Aug 2009, KK wrote: Thank you Andi. I'm going through the link you mentioned. One question: i already have open-jdk, do i still need to install sun-java5-jdk ? No, open-jdk 6 or 7 should work just fine. Andi.. or open-jdk will do the job as well? if yes do i need to make some ch

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
Hi, As I mentioned earlier jcc got installed to dist-packages sub-directory of python2.6, instead of site-packages, and modifying the Makefile to reflect that was not working porperly, so i simply created a sym link in /usr/lib/python2.6 wiht a name "site-packages" and made it point to the actual

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
Yes, jcc is under dist-packages. I think I should comment the lines I commented out for linux as we're going to provide all those details from the command line, right? I did the same and ruinning the commad you mentioned gave me the following errors: k...@kk-laptop:~/softies/socs/PyLucene-2.2.0-1

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Christian Heimes
KK schrieb: Thanks Christian. After installing python-dev i'm able to do the build for jcc and then installed without gettig any error messages. Then from the main directory i changed the makefile and (surprisingly i dint see any site-packages directory under python2.6, but i still modified the p

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
Thanks Christian. After installing python-dev i'm able to do the build for jcc and then installed without gettig any error messages. Then from the main directory i changed the makefile and (surprisingly i dint see any site-packages directory under python2.6, but i still modified the path for __init

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Christian Heimes
KK wrote: kk-laptop:~/softies/socs/PyLucene-2.2.0-1/jcc$ python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/jcc copying jcc/cpp.py -> build/lib.linux-i686-2.6/jcc copying jcc/config.py -> build/lib.linux-i686-2.

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
For "open-jdk" my setup.py file is like this: import os, sys from distutils.core import setup, Extension # Add or edit the entry corresponding to your system in the INCLUDES and # LFLAGS dictionaries below. These entries are used to build JCC _and_ are # used by JCC to drive compiling and linking

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
Thank you Andi. I'm going through the link you mentioned. One question: i already have open-jdk, do i still need to install sun-java5-jdk ? or open-jdk will do the job as well? if yes do i need to make some changes/tweaks before following those steps? Thanks, KK On Mon, Aug 10, 2009 at 2:50 PM, A

Re: Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread Andi Vajda
On Aug 10, 2009, at 10:54, KK wrote: hi all, Can someone please help me fixing the issue. before that these are the vesion of tools i'm using, pylucene version: PyLucene-2.2.0-1 python: Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) gcc: gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

Pylucene installation issue on Ubuntu LInux

2009-08-10 Thread KK
hi all, Can someone please help me fixing the issue. before that these are the vesion of tools i'm using, pylucene version: PyLucene-2.2.0-1 python: Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) gcc: gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) I've been trying to install pylucene o