Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you haven’t built Iguana before, first set up some environmental variables that the build system uses.

Okay so to build Iguana assuming you are in the main directory of the mercurial repo, execute the following commands:

cd Iguana

make -j4

You should see something like this, except you probably won’t unless you have a magical set of environmental variables set.

...

...

By the time the compile has finished you’ll see something like this:

...

See how it has produced the output iguana.tar.gz file?

The -j4 flag is a little optimization which tells make that it’s okay to do a parallel make which makes the initial build of Iguana much faster. Subsequent builds are usually faster since they are incremental. You can read more about the build system here.

To run Iguana as a command line program you will need to change to the DBD directory, then type:

./iguana --run

...

This should start up Iguana on the default port. Open up the URL it shows at the bottom in a web browser.

...

If you want to delete all the files that the compilation process produces, use “make clean” in the Iguana directory. This a standard technique with make to remove files that are produced by the compilation. This is what make clean will look like:

...