Installing LiquidSoap on CentOS5

From djlab.com

So I spend nearly half of an otherwise productive day fighting dependency hell with LiquidSoap. I haven’t tested it yet but here’s a cleaned up and organized command history of how it happened:


## Liquid soap install

cd /usr/src

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

yum install automake pkgconfig ncurses ncurses-devel ocaml ocaml-camlp4 ocaml-labltk libtheora libtheora-devel libao libao-devel /
portaudio portaudio-devel alsa-lib alsa-lib-devel glib2-devel avahi avahi-devel /
libmad libmad-devel taglib taglib-devel lame lame-devel faac faac-devel faad2 faad2-devel /
ladspa ladspa-devel soundtouch soundtouch-devel doxygen

wget http://linuxsoft.cern.ch/epel/5/x86_64/ocaml-findlib-devel-1.1.2pl1-16.el5.x86_64.rpm
wget http://linuxsoft.cern.ch/epel/5/x86_64/ocaml-findlib-1.1.2pl1-16.el5.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-devel-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-lib-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-lib-devel-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-module-x11-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-lib-glib2-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-module-zeroconf-0.9.5-5.el5.kb.x86_64.rpm
wget http://centos.karan.org/el5/extras/testing/x86_64/RPMS/pulseaudio-lib-zeroconf-0.9.5-5.el5.kb.x86_64.rpm

rpm -ivh *.rpm

### Misc audio stuff, libshout, ect
### Compile libshout/speex from source because packaged version of speex is too old for liquidsoap.

wget http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz
tar -zxf speex-1.2rc1.tar.gz
cd speex-1.2rc1
./configure
make install

cd ..

wget http://downloads.us.xiph.org/releases/libshout/libshout-2.2.2.tar.gz
tar -zxf libshout-2.2.2.tar.gz
cd libshout-2.2.2
./configure
make
make install

cd ..

wget http://www.grame.fr/~letz/jack-1.9.2.tar.bz2
tar -jxf jack-1.9.2.tar.bz2
./waf configure
./waf build
./waf install

cd ..

wget http://voxel.dl.sourceforge.net/sourceforge/gmerlin/gavl-1.1.0.tar.gz
tar -zxf gavl-1.1.0.tar.gz
cd gavl-1.1.0
./configure
make install

cd ..

### OCAML stuff

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.6.tar.gz
tar -zxf pcre-7.6.tar.gz
cd pcre-7.6
./configure
make install

cd ..

wget http://voxel.dl.sourceforge.net/sourceforge/savonet/ocaml-ladspa-0.1.1.tar.gz
tar -zxf ocaml-ladspa-0.1.1.tar.gz
cd ocaml-ladspa-0.1.1
./configure
make install

cd ..

wget http://download.camlcity.org/download/ocamlnet-2.2.9.tar.gz
tar -zxf ocamlnet-2.2.9.tar.gz
cd ocamlnet-2.2.9
./configure
make
make install

cd ..

wget http://www.rastageeks.org/~toots/xml-light/xml-light-2.2+findlib.tar.gz
tar -zxf xml-light-2.2+findlib.tar.gz
cd xml-light
make install

echo /usr/local/lib >> /etc/ld.so.conf
ldconfig

wget http://voxel.dl.sourceforge.net/sourceforge/savonet/liquidsoap-full-0.9.0.tar.gz
tar -zxf liquidsoap-full-0.9.0.tar.gz
cd liquidsoap-full-0.9.0
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./bootstrap
./configure
make
make install

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....