I was scanning the liquidsoap mailing list, and I noticed there were some people still having trouble compiling liquidsoap. I thought I’d write up these instructions.
These instructions are tested on ubuntu 14.04 trusty. The easiest way to compile liquid soap is with the liquidsoap-full repo, as liquidsoap depends on many ocaml modules developed by the liquidsoap team. They are all included in this repository as git submodules.
Clone the repository:
git clone https://github.com/savonet/liquidsoap-full
Not all of the modules are required to run liquidsoap. There are many different modules for different audio/video formats, plugins etc. They are all defined via th PACKAGES file in the top level directory of the repo. You can copy PACKAGES.default to PACKAGES and then edit the file to suit your needs.
cp PACKAGES.default PACKAGES
If you are unsure what you might need, I recommend this for a minimal setup. I posted the file on gist.
You will need a few dependencies for liquidsoap and its modules first. The depencies you need depend on what is in your PACKAGES file. Here is the minimal set of dependencies you need, Install these via apt-get:
If you used my example PACKAGES file, you will need these as well:
Modern Online Radio with Liquidsoap Book - Free Sample
Need more help with liquidsoap?
Can’t get your script to work?
I wrote a book to help you learn Liquidsoap. The book covers all aspects of liquidsoap, from getting started, to making dynamic streams, audio processing, video, customizing metadata, authentication, and more. The book is available for purchase now here!
You can get a free sample chapter of my book! Just enter your email address to subscribe to my mailing list and I'll send you a free PDF sample of the book in return.