A.3 Installing Source Tarball

Source Tarball can be downloaded from: http://www.g-cows.org/main/download/tarball.html.

This archive contains all the source code needed to compile the binaries Cows and Cows-mkgen.

A.3.1 Unpack the archive

Unpack the archive (a directory called g-cows-1.9 will be created):

tar xzf g-cows-1.9.tar.gz

Move into the new directory:

cd g-cows-1.9

A.3.2 Configure the package

The configure script allows to configure the package according to your platform; it will also check if the required tools are present on your system and eventually complain about it. Moreover, configure allows to choose details of compilation and installation (e.g. where the binaries will be installed).

If you accept the default behavior, simply type:

./configure

Otherwise, type ./configure -help for a list of supported options.

A.3.3 Compile the programs

Now, compile the programs; this operation could take several minutes on older machines. If this is the case, have a coffee and wait (the compilation process will succeed or not regardless to the coffee ..)

make

A.3.4 Install the programs

make install

By default, the Cows and Cows-mkgen executables will be installed in /usr/local/bin, so you need to be root in order to run the last command. If you don't have root privileges, don't worry. Executables are in a subdirectory called src; you can run them within this directory or move them elsewhere.

Otherwise, you can install the package in you home directory; simply follow the steps above passing configure the option -bindir=DIR, where DIR is the target directory.

This manual can be downloaded from http://www.g-cows.org/.