The following tools are useful to compile Cetus. You do not need them to use Cetus if you have a Cetus JAR file, although it is normally more useful for compiler writers to modify Cetus.
A Java compiler. Sun's Java compiler, version 1.5.0 or later, is recommended, because that is what we use.
The following tools are useful to compile separate parsers for using Cetus with C++. You do not need them if you have binaries.
A good C++ compiler. GCC 3.2 or later is recommended strongly, because pre-3.0 versions of GCC do not deal with some C++ code correctly (such as templates). GCC "2.96" (a.k.a. RedHat GCC) particularly should never be used.
GNU Bison 1.875a or later. yacc will not work because the C++ parser relies on the new GLR features of Bison.
GNU Flex 2.5 or later. Earlier versions of flex or lex may work but have not been tested.
The organization of the directories has changed since the last release and there are several options for building Cetus.
For Apache Ant users: The provided build.xml defines the build targets for Cetus. The available targets are "compile", "jar", "clean" and "javadoc". Users need to edit the location of the Antlr tool.
For Linux/Unix command line users: Run the script build.sh after defining system-dependent variables in the script.
For SDK (Eclipse, Netbeans, etc) users: Follow the instructions of each SDK.