Re: jar error while trying to build

2012-09-20 Thread Andi Vajda
On Sep 20, 2012, at 1:14, Mohamed Lrhazi wrote: > Thank you so much Andi. > > This is what ended up working for me, on Red Hat Enterprise Linux > Server release 6.1: > > PREFIX_PYTHON=/usr > ANT=/opt/ant/bin/ant > JAVA_HOME=/usr/java/jdk1.6.0_29 > PYTHON=$(PREFIX_PYTHON)/bin/python > JCC=$(PYT

Re: jar error while trying to build

2012-09-19 Thread Andi Vajda
On Sep 19, 2012, at 12:43, Mohamed Lrhazi wrote: > Oh, I was missing this var: PREFIX_PYTHON=/usr > > Now I am moving a bit further and failing at: > > /usr/bin/python: jcc is a package and cannot be directly executed > make: *** [compile] Error 1 Your python invocation of jcc is wrong. Depen

Re: jar error while trying to build

2012-09-19 Thread Mohamed Lrhazi
Oh, I was missing this var: PREFIX_PYTHON=/usr Now I am moving a bit further and failing at: /usr/bin/python: jcc is a package and cannot be directly executed make: *** [compile] Error 1 what else did I miss :) Thanks a lot, Mohamed. On Wed, Sep 19, 2012 at 3:32 PM, Andi Vajda wrote: > > On

Re: jar error while trying to build

2012-09-19 Thread Andi Vajda
On Sep 19, 2012, at 12:29, Mohamed Lrhazi wrote: > On Wed, Sep 19, 2012 at 2:28 PM, Andi Vajda wrote: >> What does 'make print-GENERATE' return ? > > I'll try to dig more into the Makefile world... been a long time. > > ml623@cab2b:~/tmp/pylucene-3.6.1-2/ > make print-GENERATE > which: no icu

Re: jar error while trying to build

2012-09-19 Thread Mohamed Lrhazi
On Wed, Sep 19, 2012 at 2:28 PM, Andi Vajda wrote: > What does 'make print-GENERATE' return ? I'll try to dig more into the Makefile world... been a long time. ml623@cab2b:~/tmp/pylucene-3.6.1-2/ > make print-GENERATE which: no icupkg in (/opt/ActivePython-2.6/bin:/usr/sbin:/sbin:/opt/ruby-enter

Re: jar error while trying to build

2012-09-19 Thread Andi Vajda
On Wed, 19 Sep 2012, Mohamed Lrhazi wrote: just to clarify, I did not think I needed to change anything to the Makefile. Making the changes I mention or not, seem to behave exactly the same. You must make changes to the Makefile to remove the comments for the section that corresponds to the

Re: jar error while trying to build

2012-09-19 Thread Andi Vajda
On Wed, 19 Sep 2012, Mohamed Lrhazi wrote: On Wed, Sep 19, 2012 at 12:40 PM, Andi Vajda wrote: Did you follow the instructions at the top of the Makefile ? # Steps to build # 1. Edit the sections below as documented # 2. Edit the JARS variable to add optional contrib modules not default

Re: jar error while trying to build

2012-09-19 Thread Mohamed Lrhazi
just to clarify, I did not think I needed to change anything to the Makefile. Making the changes I mention or not, seem to behave exactly the same. Thanks, Mohamed. On Wed, Sep 19, 2012 at 1:46 PM, Mohamed Lrhazi wrote: > On Wed, Sep 19, 2012 at 12:40 PM, Andi Vajda wrote: >> Did you follow the

Re: jar error while trying to build

2012-09-19 Thread Mohamed Lrhazi
On Wed, Sep 19, 2012 at 12:40 PM, Andi Vajda wrote: > Did you follow the instructions at the top of the Makefile ? # Steps to build # 1. Edit the sections below as documented # 2. Edit the JARS variable to add optional contrib modules not defaulted # 3. make # 4. make install I set the v

Re: jar error while trying to build

2012-09-18 Thread Andi Vajda
On Tue, 18 Sep 2012, Mohamed Lrhazi wrote: Hello, I am trying to build pylucene on a redhat ent 6.1. the make fails with an error pasted bellow. Any hints appreciated. Your Makefile seems to be broken in a way that --jar somewhere became just jar and it's downhill from there. jar lucen