Liquidsoap 1.0.1 : Build liquidsoap from source

Building liquidsoap from source

From every sub-project's directory (ocaml-vorbis, ocaml-dtools, liquidsoap, etc.) you can build using ./bootstrap, ./configure, make and optionally install using make install.

If you are using the liquidsoap-full tarball, or the latest source code from our mercurial repository, there is also a fast procedure for building liquidsoap that doesn't require installing the libraries provided by Savonet. The steps to follow are simple.

First, you should choose which features you want to enable when building liquidsoap. Each shipped feature can be enabled/disabled by editing the PACKAGE file. Depending on your version you might have to first copy PACKAGES.default to PACKAGES.

Then run the usual commands from the toplevel directory, above the sub-project's directories:

# Edit PACKAGES to choose which feature you want

# In the development tree you should bootstrap first.
# No need with the tarballs.

# Configure all libraries and packages.
# You may pass extra options such as --enable-debugging,
# --prefix, --sysconfdir, --localstatedir, etc.

# Now, build all libraries and liquidsoap

# To install liquidsoap,
# you'll usually need to type the following as root
make install


Here are liquidsoap's dependencies. All OCaml libraries are distributed by Savonet, except when linked. You may refer to the liquidsoap INSTALL file for required versions of the libraries:

And also optional dependencies. For most of these, you also need the associated C/C++ library, which is usually provided by your distribution's packaging system. You may as well need additional dependencies, such as g++, used for building bindings built on top of C++ libraries, as marked below and possibly also libtool.

Runtime dependencies include:

And other that you'll find on the project page, or in liquidsoap-full tarball.