Yes,

I believe the only needed to use stable/testing for yojson support. If you
follow the GODI section of the CentOS installation procedures in Debian, it
should get around this issue.

Additionally, for CentOS I added the following two extra steps to get the
daemon installed properly:

12. Adjust Liquidsoap Init Script (skip if Liquidsoap and Icecast are on
different boxes)
vi /etc/init.d/liquidsoap
# Required-Start:    $remote_fs $network $time icecast

13. Setup Services (Icecast & Liquidsoap)
chkconfig --add liquidsoap
chkconfig icecast on
chkconfig liquidsoap on

Thanks,
Alex


On Mon, Aug 26, 2013 at 11:29 AM, Romain Beauxis <rom...@liquidsoap.fm>wrote:

> Hi Alexander,
>
> Thanks for you efforts and write-up!
>
> Romain
>
>
> 2013/8/24 Alexander Groleau <awg...@xbetanet.com>
>
>> Hello,
>>
>> I put together some guides for building Liquidsoap on CentOS (6.4) and
>> Debian (Squeeze/Wheezy).
>>
>> I found GODI to be extremely useful for the CentOS installation and it
>> may prove to be better to use that for Debian as well (will likely not
>> require installing testing releases of Debain packages).
>>
>> Enjoy!
>>
>> -awgneo
>>
>> Debian
>> -------------
>>
>> 1. Update apt sources.list (include testing packages)
>> sudo vi /etc/apt/sources.list
>> deb http://ftp.us.debian.org/debian testing main contrib non-free
>>
>> 2. Update apt config (set stable release)
>> sudo /etc/apt/preferences
>> Package: *
>> Pin: release a=testing
>> Pin-Priority: 100
>>
>> 3. Update Apt
>> sudo apt-get update
>>
>> 4. Upgrade gcc/g++ to Testing Release
>> sudo apt-get -t testing install gcc
>> sudo apt-get -t testing install g++
>> * restart services = yes
>>
>> 5. Install tools and libs before start of liquidsoap installation
>> sudo apt-get -y install autoconf
>> sudo apt-get -y install libtool
>> sudo apt-get -y install libxml-dom-perl
>> sudo apt-get -y install festival
>> sudo apt-get -y install automake
>>
>> 6. Install required libs
>> sudo apt-get -y -t testing install libmagic-ocaml-dev
>> sudo apt-get -y -t testing install libcamomile-ocaml-dev
>> sudo apt-get -y -t testing install libxml-light-ocaml-dev
>> sudo apt-get -y -t testing install ocaml-compiler-libs
>> sudo apt-get -y -t testing install libfindlib-ocaml
>> sudo apt-get -y -t testing install libfindlib-ocaml-dev
>> sudo apt-get -y -t testing install libjson-wheel-ocaml-dev
>> sudo apt-get -y -t testing install libyojson-ocaml-dev
>> sudo apt-get -y -t testing install libasound2-dev
>> sudo apt-get -y -t testing install libpulse-ocaml-dev
>> sudo apt-get -y -t testing install libmad-ocaml-dev
>> sudo apt-get -y -t testing install libtaglib-ocaml-dev
>> sudo apt-get -y -t testing install liblame0
>> sudo apt-get -y -t testing install libmp3lame-dev
>> sudo apt-get -y -t testing install libvorbis-ocaml-dev
>> sudo apt-get -y -t testing install libflac++-dev libflac++6 libflac8
>> sudo apt-get -y -t testing install libsoundtouch-ocaml-dev
>> sudo apt-get -y -t testing install libsamplerate-ocaml-dev
>> sudo apt-get -y -t testing install libxmlplaylist-ocaml-dev
>> sudo apt-get -y -t testing install libdtools-ocaml-dev
>> sudo apt-get -y -t testing install libduppy-ocaml-dev
>> sudo apt-get -y -t testing install libopus0
>> sudo apt-get -y -t testing install libopus-dev
>> sudo apt-get -y -t testing install ladspa-sdk
>> sudo apt-get -y -t testing install libao-dev
>>
>> 7. Get latest version from Sourceforge
>>
>> 8. Prepare PACKAGE descriptor
>> cp PACKAGES.default PACKAGES
>> vi PACKAGES
>>
>> 9. Enable following modules in file PACKAGES (ocaml-mm is not optional
>> any longer!)
>> ocaml-cry
>> ocaml-ao
>> ocaml-alsa
>> ocaml-pulseaudio
>> ocaml-mad
>> ocaml-taglib
>> ocaml-lame
>> ocaml-ogg
>> ocaml-vorbis
>> ocaml-flac
>> ocaml-ladspa
>> ocaml-soundtouch
>> ocaml-samplerate
>> ocaml-xmlplaylist
>> ocaml-dtools
>> ocaml-duppy
>> ocaml-mm
>> liquidsoap
>>
>> 10. Build Liquidsoap
>> ./bootstrap
>> ./configure --disable-graphics --sysconfdir=/etc --with-user=
>> --with-group=
>> make clean
>> make
>> sudo make install
>>
>> 11. Instal Liquidsoap Daemon
>> cd liquidsoap
>> sudo make service-install
>>
>> CentOS
>> --------------
>>
>> 1. Upgrade gcc/g++
>> wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -O
>> /etc/yum.repos.d/devtools-1.1.repo
>> yum install devtoolset-1.1
>> scl enable devtoolset-1.1 bash
>>
>> 2. Install RPMforge Repo
>> wget http://packages.sw.be/rpmforge-release/*.rpm
>> rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
>> rpm -i *.rpm
>>
>> 3. Instal EPEL Repository
>> wget
>> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
>> wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
>> sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
>>
>> 4. Instal YUM Priority Plugin
>> yum install yum-plugin-priorities
>>
>> 5. Install tools and libs before start of liquidsoap installation
>> yum install autoconf
>> yum install libtool
>> yum install libxml-dom-perl
>> yum install festival
>> yum install automake
>>
>> 6. Install Dependencies
>> yum install libao-devel
>> yum install portaudio-devel
>> yum install pulseaudio-libs-devel
>> yum install pulseaudio
>> yum install alsa-plugins-pulseaudio
>> yum install alsa-lib-devel
>> yum install libmad-devel
>> yum install taglib-devel
>> yum install lame-devel
>> yum install libogg-devel
>> yum install libvorbis-devel
>> yum install flac-devel
>> yum install ladspa-devel
>> yum install soundtouch-devel
>> yum install libsamplerate-devel
>> yum install file-devel
>>
>> 7. Install GODI
>> http://godi.camlcity.org/godi/get_godi.html
>> tar xzf godi-skylift-XXXXXXXX.tar.gz
>> cd godi-skylift-XXXXXXXX
>> ./bootstrap
>> PATH=/opt/godi/bin:/opt/godi/sbin:$PATH
>> export PATH
>> MANPATH=/opt/godi/man:$MANPATH
>> export MANPATH
>> godi_console
>> - yojson
>> - xmlm
>> - pcre
>> - camomile
>> - magic
>> - inotify
>>
>>
>> 8. Enable following modules in file PACKAGES (ocaml-mm is not optional
>> any longer!)
>> ocaml-cry
>> ocaml-ao
>> ocaml-alsa
>> ocaml-pulseaudio
>> ocaml-mad
>> ocaml-taglib
>> ocaml-lame
>> ocaml-ogg
>> ocaml-vorbis
>> ocaml-flac
>> ocaml-ladspa
>> ocaml-soundtouch
>> ocaml-samplerate
>> ocaml-xmlplaylist
>> ocaml-dtools
>> ocaml-duppy
>> ocaml-mm
>> liquidsoap
>>
>> 9. Build Liquidsoap
>> ./bootstrap
>> ./configure --disable-graphics --sysconfdir=/etc --with-user=
>> --with-group=
>> make clean
>> make
>> sudo make install
>>
>> 10. Instal Liquidsoap Daemon
>> cd liquidsoap
>> sudo make service-install
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Savonet-users mailing list
>> Savonet-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to