[antlr-interest] Installing ANTLR on a Compaq Non-Stop Server - Question

Ric Klaren klaren at cs.utwente.nl
Tue Jun 24 09:23:51 PDT 2003


Hi,

On Tue, Jun 24, 2003 at 04:02:55PM -0000, ortizjco99 wrote:
> I'm trying to get ANTLR 2.7.2 installed on a Compaq Non-Stop server 
> (formerly Himalaya) running OSS (a Unix-like POSIX compliant OS).
> 
> I downloaded antlr-2.7.2.tar.gz, gunzip'd and untar'd it. Then from 
> the ANTLR's top directory, I ran the configure command like this:
> 
> ./configure --prefix=/home/sg534961
> 
> and this is the message I got:
> 
> sg534961 at pind101: ./configure --prefix /home/sg534961
> checking if examples must be built... no
> checking if BOOTSTRAP_JAR is set... /antlrall.jar
> checking for ar... /usr/bin/ar
> checking for as... no
> checking for gas... no
> checking for gcc... no
> checking for cc... cc
> checking for C compiler default output... configure: error: C
> compiler cannot create executables
> sg534961 at pind101: 
> 
> Could somebody tell me what it's wrong and whether there is a chance 
> I can ANTLR successfully installed on this platform.

Could you post info from the config.log ? Maybe mail it directly to me if
it's large?

You could have a look if this snapshot fixes the problem (longshot)

http://wwwhome.cs.utwente.nl/~klaren/antlr/antlr-20030623.tar.gz 

If you need the C++ output then you can always compile the support library
by hand (if you have a decent C++ compiler that is). Make sure you include
lib/cpp/antlr in the searchpath for includes, then compile all .cpp files
in lib/cpp/src by hand and make a library from them. You may need to tweak
config.hpp for your compiler.

After creating the support lib you can use the anltr from the antlr.jar
file to create parsers and link them to the support lib.

If you don't need C++ mode then the antlr.jar is enough. How to use it
should be listed in the doc directory.

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
 Why don't we just invite them to dinner and massacre them all when they're
  drunk? You heard the man. There's seven hundred thousand of them. Ah? ..
           So it'd have to be something simple with pasta, then.
                 From: Interesting Times by Terry Pratchet


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list