Mailing List Archive

compiling lucene
Hi list,

I'm having problem compiling lucene from scratch. I checkout lucene 1.2 rc4
from cvs and I am missing one vital component JavaCC 2.0

The latest javaCC that I can get from webgain is 2.1 and just dropping the
thing to lucene/lib directory does not work quite well, I had a look and the
class name expected by lucene build file is quite different from JavaCC 2.1

Is there someplace where I can get JavaCC 2.0 that works with lucene?

Thanks,

--
Victor Hadianto


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: compiling lucene [ In reply to ]
JavaCC 2.1 works, too.
This is how I have it set up:

[otis@linux2 otis]$ ls -al /usr/local/.version/javacc2.1/
total 44
drwxrwxr-x 6 otis otis 4096 Jan 28 06:50 .
drwxr-xr-x 20 otis otis 4096 Apr 2 23:32 ..
drwxrwxr-x 3 otis otis 4096 Jan 28 06:50 bin
-rw-rw-r-- 1 otis otis 8518 Jan 28 06:50 COPYRIGHT
drwxrwxr-x 2 otis otis 4096 Jan 28 06:50 doc
drwxrwxr-x 21 otis otis 4096 Jan 28 06:50 examples
-rw-rw-r-- 1 otis otis 5599 Jan 28 06:50 README
drwxrwxr-x 5 otis otis 4096 Jan 28 06:50 src
[otis@linux2 otis]$ ls -al
~/cvs-repositories/jakarta/jakarta-lucene/lib/
total 132
drwxrwxr-x 3 otis otis 4096 Jan 28 15:28 .
drwxrwxr-x 9 otis otis 4096 Mar 27 23:28 ..
drwxrwxr-x 2 otis otis 4096 Jan 28 15:29 CVS
lrwxrwxrwx 1 otis otis 36 Jan 28 06:55 JavaCC.zip ->
/usr/local/javacc/bin/lib/JavaCC.zip
-rw-rw-r-- 1 otis otis 117522 Jan 28 15:23 junit_37.jar

Otis


--- Victor Hadianto <victorh@nuix.com.au> wrote:
> Hi list,
>
> I'm having problem compiling lucene from scratch. I checkout lucene
> 1.2 rc4
> from cvs and I am missing one vital component JavaCC 2.0
>
> The latest javaCC that I can get from webgain is 2.1 and just
> dropping the
> thing to lucene/lib directory does not work quite well, I had a look
> and the
> class name expected by lucene build file is quite different from
> JavaCC 2.1
>
> Is there someplace where I can get JavaCC 2.0 that works with lucene?
>
>
> Thanks,
>
> --
> Victor Hadianto
>
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: compiling lucene [ In reply to ]
> JavaCC 2.1 works, too.
> This is how I have it set up:

Yes, to confirm, a list member pointed out earlier that I have to _install_
JavaCC first, serve me right not redaing tfm.

Sorry for the noise

--
Victor Hadianto
---------------
Every cloud engenders not a storm. -- William Shakespeare, "Henry VI"

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>