How do I build Lasso from scratch?

0. Prerequisites: Lasso requires iMesh and iGeom implementations, so you'll need to build/install those first. See MoabFromScratch and CgmFromScratch for instructions on the ANL implementations of those. Because of the way Lasso restores relations between geometry/mesh entities, it may only work with those implementations anyway.

1. Grab the code straight from the repository using Subversion, using the command 'svn co https://svn.mcs.anl.gov/repos/ITAPS/Lasso/trunk Lasso. Change into the Lasso subdirectory.

2. Run 'autoreconf -fi'. NOTE: Lasso 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.

3. In the top-level source directory, run the configure script, with the various options you want. You'll need at least the --with-igeom= and --with-imesh= options, to specify the locations of iGeom/iMesh. To get a list of all options, run ./configure --help.

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