Chapter 3. Compiling

Table of Contents
How to compile
Supported plattforms

How to compile

A standard configure script is provided. You can read the instructions in the file INSTALL. A typical configuration/compilation/installation session is shown next.

$ ls
cole-1.0.0.tar.gz
$ gzip -d cole-1.0.0.tar.gz
$ tar -xf cole-1.0.0.tar
$ ls
cole-1.0.0.tar.gz      cole-1.0.0/
$ cd cole-1.0.0
$ ./configure --prefix=/usr/local
...
Configured cole release 1.0.0 
$ make
...
$ make install
...
$ make clean
...

You can add the following flags to configure:

--enable-cole-verbose. To make cole verbose everything. Usefull when debugging cole.
--enable-osf-align-check. If you have errors while compiling under OSF1, enable this flag.

Please, if you have some error with cole, send the cole's output when compiled using --enable-cole-verbose to the maintainer.

For additional instructions, read the file INSTALL. If you have problems, you should read the Filters Project FAQ and later email to the maintainer.

Only a static library is compiled by default. If you want compile a shared library too, you have to include the flag --enable-shared when running configure, and the program that dinamically links against cole shared library still needs to be under a license compatible with GPL. This is because cole is under GPL license, not LGPL license.