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

3.2 Installation

First off, you need to download the package. It is available from the LADCCA webpage, http://pkl.net/~node/ladcca.html. After you have downloaded it, unpack the tarball into a directory using tar xzf /where/ever/you/put/ladcca-0.4.0.tar.gz and change into the source directory with cd ladcca-0.4.0.

The package uses the GNU autotools for configuration and makefile creation. In order to install the package, you must complete three steps: configuration; building; and installing.


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

3.2.1 Configuration

To configure the package, there is a shell script named ‘configure’ in the top source directory. It is a standard GNU autoconf configure script, and so accepts the standard GNU configuration options (such as ‘--prefix’, ‘--datadir’, etc.) To run it type ./configure and add any options. The non-standard options that the script recognises are described below. Running the script with the ‘--help’ option will also provide a quick summary of the recognised options.


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

3.2.1.1 Configure script options

--disable-gtk2

Prevents the configure script from checking for the presence of the GTK+ 2 toolkit and disables the building of any code that relies on it. The LADCCA Save Button 2 and LADCCA GTK Test Client both rely on GTK+ 2.

--disable-gtk

Prevents the configure script from checking for the presence of the GTK+ 1.2 toolkit and disables the building of any code that relies on it. The LADCCA Save Button client relies on GTK+ 1.2.

--enable-debug

Causes the library, server and clients to be built with debugging output. This is not very useful and only recommended for developers working on the LADCCA code itself.

--with-default-dir=DIR

Specifies the default directory, relative to \$HOME under which the server will create new project directories. Without this option, the value defaults to ‘audio-projects’.

--disable-serv-inst

The LADCCA server and library look up port addresses for the LADCCA service using standard system calls that refer to the ‘/etc/services’ database. If ‘/etc/services’ does not contain a valid entry, an error will result. By default, the installation routine will install a service entry if one does not exist. This flag disables that action.


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

3.2.2 Building

To build the package, simply type make in the top source directory. This will build the server, the library and the clients that are compatible with the resources found by the configure script.


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

3.2.3 Installing

To install the package, type make install in the top source directory. By default the package installation prefix is ‘/usr/local’ but the ‘--prefix’ option to the configure script will change this. The ladccad server and the clients that were built are installed in ‘prefix/bin’. The libladcca client library is installed in ‘prefix/lib’. The C header files for the client library are installed under ‘prefix/include’. This manual is installed under ‘prefix/info’.

With make install, the package is installed with debugging symbols in the object files. To save space, you can install with make install-strip to install the object files without debugging symbols.


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

This document was generated on December, 22 2007 using texi2html 1.78.