[ < ] [ > ]   [ << ] [ 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 bin. 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

 
$ ./configure
$ 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 a git server), you have to generate it using auxiliary script autogen.sh. To compile and build all binaries. Run

 
$ ./configure [--bindir=DIR --infodir=DIR]
$ make install

if you want also to install the binaries. You can use configure parameters if you need to change directories where user executables and info documentation should be installed.

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] [ ? ]

1.2.1 CMake

Alternatively you can use CMake to generate makefiles for Unix, Windows, Mac OS X, OS/2, MSVC, Cygwin, MinGW or Xcode. Configuration file CMakeLists.txt is available from the root distribution directory. For example to build gama-local binary for Linux run

 
$ mkdir build
$ cd build
$ cmake ..
$ make

where build is an arbitrary directory name for out-of-place build.


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

1.2.2 Precompiled binaries for Windows


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Ales Cepek on September 16, 2017 using texi2html 1.82.