issues compiling latest liquidsoap-full

big balls of mud killer
, in 30 July 2015

I ran into some issues compiling the latest liquidsoap-full.

Checking for ocaml bytes module .. Configure: error : not found.

This can be solved by installing the bytes module via opam.

In Ubuntu, the opam package seems to be broken. The official opam install documentation recommends using this apt repository.

add-apt-repository ppa:avsm/ppa
apt-get update
apt-get install ocaml ocaml-native-compilers camlp4-extra opam

I’m not sure why but I also needed to install these opam packages as well to continue.

opam install pcre
opam install camomile

After that I was able to install liquidsoap again. I hope this helps other people who want to compile liquidsoap from source.

I’m not too familiar with the ocaml community and what the future plans for opam are. Perhaps they will adopt some kind of bundler/carton/cargo type program to specify dependencies instead of using autoconf? I guess ocamlfind seems to play that role for now.

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.