[antlr-interest] Re: Installing ANTLR on a Compaq Non-Stop Server - Question
Ric Klaren
klaren at cs.utwente.nl
Wed Jun 25 02:22:12 PDT 2003
Hi,
On Tue, Jun 24, 2003 at 09:26:20PM -0000, ortizjco99 wrote:
> I compared the config.log file against another one that resulted from
> a successful instalation on Windows using Cygwin and discovered that
> some environment variables were not set (the C and C++ compilers
> among them).
What is the name of you C/C++ compiler?
> Then I ran the Makefile from the ANTLR's toplevel directory, and got
> the following error message:
>
> sg534961 at pind101: make
> scripts/Rules.make:282: *** target pattern contains no `%'. Stop.
>
> I edited lines 282 and 283 of ../ANTLR-2.7.2/Makefile and removed the
> colons.
Could you post the contents before edit and after edit ?
> I re-ran the Makefile and got the following error message this time:
>
> =============================
> Making antlr ...
> =============================
> gmake[1]: Entering directory `/home/sg534961/antlr-2.7.2/antlr'
> java -cp /home/sg534961/antlr-2.7.2/antlrall.jar antlr.Tool antlr.g
> Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool
> gmake[1]: *** [.antlr.g] Error 1
> gmake[1]: Leaving directory `/home/sg534961/antlr-2.7.2/antlr'
> gmake: *** [subdirs] Error 2
>
> I noticed the problem is with using antlrall.jar; because I can
> generate C++ code for the calc example with antlr.jar or just antlr-
> 2.7.2 in the classpath.
>
> I don't know the implications of using antlr.jar intead of
> antlrall.jar, nor am I sure I know where to change it.
antlr.jar is the right one. This has already been fixed in the snapshot in
the link I mentioned.
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
"You can't expect to wield supreme executive power just because some
watery tot throws a sword at you!"
--- Monty Python and the Holy Grail
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list