On Fri, 2008-11-28 at 21:28 -0600, Gary R. Van Sickle wrote: > Hi Terence et al, > > Am I just getting old, or shouldn't I be able to (in a More Ideal World(tm), > of course) do something like this on a Unix-like box?: > > $ cd antlr-src-distro-dir/ > $ make install > $ antlr --version
Well, ANTLR is a Java tool, so make install only works for the C runtime distribution (after a ./configure). The ANTLR source can be bult from scratch now using maven though: 1) In stall Maven 2.0.9 or better; 2) Find the directories with pom.xml in them 3) cd to them and type: mvn 4) Look at the output of the build to see where the .jar files go if are not familiar with Maven. Note that the Maven build, as well as constructing the ANTLR .jar file also creates a complete executable (I.e Java -jar) jar file that includes all the dependencies to make things easier for developers. However, there is also a continuous build system at: http://antlr.org:8888/hudson/ where you can just download the up to the minute builds of everything in the ANTLR domain. Unless you are hacking it yourself, there should be no need to build ANTLR basically. See the C Runtime API (linked from teh main home page) if you mean that you want to build the C runtime. Jim > > ANTLR Parser Generator Version 3.1.1 > [...] > > ??? > > I've read "How do I install this damn thing?" in the FAQ > (http://www.antlr.org/wiki/pages/viewpage.action?pageId=728), and > unfortunately I'm still left with the original question: how do I install > this damn thing? Sure, I can untar everything to some arbitrary place, add > every JAR I find to CLASSPATH, and get this to work: > > $ java org.antlr.Tool [command line params] > > ...but that sort of thing hasn't passed for "installing" since GPFs were > called UAEs. And of course, I don't want to run Java, I want to run ANTLR, > so why are you making me type "java" and something that looks like part of > an URL? > > Am I missing something blindingly obvious? Is there a reason for the > current state of affairs? If it's a matter of Makefile/shell-script-fu, I > can help out in that area. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
