Compiling on Linux or Mac OS

Compiling on Linux is fairly straightforward. All of the library dependencies usually compile without problems on Linux (and other Unix-like operating systems such as Mac OS X). Depending on your distribution, you may be able to install most or all of the dependencies from distribution-provided packages. Please let us know the appropriate list for your distribution if it's not already on this page.

Debian or Ubuntu

Install the following packages:

You may also want some of the following packages to compile optional libraries:

Fedora

Install the following packages:

The 'happy' package is only available in Fedora 6 and later, but packages for previous Fedora releases can be downloaded from the happy download directory.

You may also want some of the following packages to compile optional libraries:

To compile with MySQL support, you will need to use LDFLAGS="-L /usr/lib/mysql" ./configure in addition to installing the appropriate packages, and a relatively recent MySQL library that supports prepared statements.

Mac OS X (MacPorts)

Install the following ports and their dependencies:

For more information, see Building on Intel Mac from the mailing list archives (the procedure for older non-Intel Macs is very similar).

kaya@kayalang.org | Last modified 30 December 2008 | Supported by Durham CompSoc | Powered by Kaya