LiquidSoap on Fedora 8 - First Attempt

We have a new task.  Not sure that anyone really prefers to listen to ogg as much as mp3, so we're going to increase our availability.  Our task is to install liquidsoap in order to accomplish this feat.  On Fedora 8 it's been difficult to find a solution.  I have not been able to track down any binary packages for FC8, so we've taken it upon ourselves (or myself) to figure it out....  On Fedora, we do the following.

yum install ocaml-findlib

This created a dependency on ocaml-runtime from the default FC8 repos and updates. Everything installed well enough. So I moved on the the full install of ocaml which was provided by atrpms.

yum install ocaml

The ocaml package from atrpms didn't work due to conflicts from the above install.  Yikes.  Since I am a betting man and I know that the files listed in the error message were possibly just the same files with different versions, I pushed through forcefully. Luckily yum saves your downloads by default in the Fedora distro when there is an install error. It's usually located here /var/cache/yum/atrpms/packages so I just forced it with:

rpm -ivh --nodeps --force \ 

Ok, that worked, I now have the basic dependencies to start the compile process. I moved on to grab liquidsoap from the sourceforge site and extracted it. Don't let the release listing confuse you. Download the liquidsoap package labeled liquidsoap-full-<version>.tar.gz

tar zxvf liquidsoap-full-<version>.tar.gz
cd liquidsoap-full-<version>

***UPDATE: I had to go to the subversion builds to accomplish everything I needed to do.  ALSA output was giving me troubles, so checked out version 5113 from subversion with the follwong commends:

mkdir liquidsoap
cd liquidsoap
mkdir trunk
svn co trunk

Once inside the new directory, I jumped right to ./configure but it didn't work out so well.  For those of you who don't compile usually (those of you like me) here are some tips.  Read the README and INSTALL files.  Then look up the compile directions on the software developer's website.  They usually know what they are talking about.....  So the quick version is:

yum install gcc alsa-lib-devel libshout-devel \
libmad-devel libao-devel portaudio-devel soundtouch-devel \
ocaml-pcre-devel lame-devel libvorbis-devel  \

***UPDATE: I realized there were some other dependencies missing as well.  On my first attempt I removed alot of the functionality by not compiling all packages.  In addition, I installed these packages.  taglib-devel was specifically needed to pass along id3 metadata.  I installed alsa-plugins-samplerate out of paranoia.  It sounded like the right thing to do.

yum install libsamplerate-devel taglib-devel alsa-plugins-samplerate

Whew.. that was crazy.  I actually had to find all those the hard way, because I still haven't memorized all the yum packages that are available.  Next thing to do is this:


***UPDATE:  Don't forget to compile your subversion here if you are feeling lucky.  To tell your ./configure script what to build, comment/uncomment as you see fit.  Just remeber that you'll have to have dependencies installed.  (i.e. <packagename>-devel.rpm).  Next, try this:


And try over and over and over again until you don't get any errors.  What the heck does ./bootstrap do? It was in the developer instructions instructions, so I ran it. I suppose it didn't hurt. Then finally, this.  ***UPDATE


You may have to try this over and over as well.  Just remember that you can remove dependencies by editing the PACKAGES file.  If something gives you a hard time, then nix it.  One other thing... don't watch it compile every time.  Grab a cup 'o joe and don't drive yourself batty.

Then, one last thing.  There was a complaint that user 'liquidsoap' didn't exist during the compile process, so we'll create it:

useradd liquidsoap
passwd liquidsoap <yourpassword>
make install

I think that's about it.  There's plenty more for me to do, but at this point...  I'm ready to start rocking my liquidsoap install.  Stay tuned for the mp3 broadcast which hopefully will be in a few days. There's still the quesion of how to daemonize this on Fedora 8. I haven't licked that yet