## Installing from the sources

If you downloaded the source code (in a tarball), you must compile the software. To do so, once you have unpacked the source tree, you must:

    $/configure
    $make
    $make install

This will generate the makefiles for your specific platform, compile all the source tree, and install the binaries and documentation in your system.

If you don't find a file named `configure`, there should be one called `autogen.sh`. In this case, run `autogen.sh`, which will create and run the generated `configure` file.

You can specify several arguments to `configure` (or `autogen.sh`). The most significant are (you can check all the available arguments by running configure --help):

- `--prefix=<directory>`: Prefix where package will be installed

- `--enable-gtk-doc`: Specify that the library's documentation must be built (using the gtk-doc program)

- `--enable-debug`: Specify to explicietly print some debuging information

- `--with-mysql=<directory>`: Specify directory where MySQL libraries are installed

- `--with-postgres=<directory>`: Specify directory where PostgreSQL libraries are installed

- `--with-sybase=<directory>`: Specify directory where Sybase libraries are installed

- `--with-ldap=<directory>`: Specify directory where LDAP libraries are installed

- `--with-oracle=<directory>`: Specify directory where Oracle libraries are installed

- `--with-interbase=<directory>`: Specify directory where Interbase libraries are installed

- `--with-mdb=<directory>`: Specify directory where the MDB libraries (for accessing MS Access files) are installed

Libraries needed by providers are searched by default, so, if found, providers are compiled by default. Those libraries are searched in hard-coded directories, so if the installation of these libraries is in an uncommon place, the above arguments should be used to specify the directories where the libraries and header files are installed. Note that the SQLite provider is now always built using the sources of the SQLite library that are bundled within Libgda's sources.

If you find any problem during the configuration, compilation or installation process, do not hesitate in contacting the GNOME-DB mailing list (`<gnome-db-list@gnome.org>`, first send an email to `<gnome-db-list-request@gnome.org>` with the subject SUBSCRIBE, if you are not already subscribed).