How do I build CGM from scratch?

1. Grab the code straight from the repository using Subversion, from the repository at

https://svn.mcs.anl.gov/repos/ITAPS/cgm/trunk.

2. Follow the directions in the README.CONFIGURE file in the top-level source directory to build the configure script you'll need. NOTE: CGM relies on the autotools (autoconf, libtool, automake) that come with most LINUX/UNIX distributions. If they're not part of your OS, or you're getting mysterious autotools errors, you might want to try downloading/building more recent versions of those packages then trying again.

OR:

1. Grab one of the distribution files I will put eventually on the CGM web site at Argonne.

2. Unpack the tarball.

THEN

3. In the top-level source directory (the one below which are geom/ and util/), run the configure script, with the various options you want. To get a list of options, run ./configure --help.

4. Run make, then make install. This will install the CGM include files and libraries in include/ and lib/ subdirectories below the prefix directory input to the configure script (which is /usr/local by default).

That's it!