[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.2 Install

GNU Gama is developed and tested under GNU/Linux. A static library libgama.lib and executables are build in folders lib and src. You can compile Gama easily yourself if you download the sources from a FTP server. The preferred way is to have expat XML parser installed on your system, if not, GNU Gama will be build with internally stored expat older source codes version 1.1.

Change to the directory of Gama project and issue the following commands at the shell prompt (with some optional parameters)

 
$ ./configure [--enable-extra-tests --bindir=DIR --infodir=DIR]
$ make

For GNU Gama test suite run

 
$ make check

If the script configure is not available (which is the case when you download source codes from the git server), you have to generate it using auxiliary script autogen.sh. To compile and build all binaries. Run

 
$ ./autogen.sh
$ ./configure

and

 
$ make install [--prefix=/your/prefered/install/directory]

if you also want to install executables and info documentation.

Typically, if you want to download (see section Download) and compile sources, you will run following commands:

 
$ git clone git://git.sv.gnu.org/gama.git gama
$ cd gama
$ ./autogen.sh
$ ./configure
$ make

You should have expat XML parser and SQLite library already installed on your system. For example to be able to compile Gama on Ubuntu 10.04 you have to install following packages:

 
make doxygen git automake autoconf libexpat1-dev libsqlite3-dev

To compile user documentation in various formats (PDF, HTML, …) run the following commands

 
$ cd doc/
$ make download-gendocs.sh
$ make run-gendocs.sh

The documentation should be in doc/manual directory. To compile API documentation run

 
$ doxygen

in your gama directory. Doxygen output will be in the doxygen directory.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on February 17, 2024 using texi2html 1.82.