Compiling the Libgami package

Compiling the Libgami Package — How to compile Libgami itself

Building the Library on UNIX

On UNIX, Libgami uses the standard GNU build system, using autoconf for package configuration and resolving portability issues, automake for building makefiles that comply with the GNU Coding Standards, and libtool for building shared libraries on multiple platforms. The normal sequence for compiling and installing the Libgami Library is thus:


./configure
make
make install

The standard options provided by GNU autoconf may be passed to the configure script. Please see the autoconf documentation or run ./configure --help for information about the standard options.

In addition to the standard options, the configure script supports these additional arguments:

configure [[--enable-gtk-doc=[auto|yes|no]]] [[--enable-introspection=[yes|no]]]

--enable-gtk-doc Build API documentation for Libgami. Note that you must have gtk-doc installed on your system for this option to work

--enable-introspection Build GIR and typelib files for gobject-introspection. You will need gobject-introspection at a minimum version of 0.6.2 for this to work. This option defaults to no.

Dependencies

Before you can compile Libgami, you need to have other tools and libraries installed on your system. The two tools needed during the build process (as differentiated from the tools used in when creating GAmi mentioned above such as autoconf) are pkg-config and make.

Libgami depends on two other libraries, GLib and GObject. To successfully build Libgami, make sure those are installed including their corresponding header files.