C'est à récupérer içi => http://www.rastageeks.org/downloads/liquidsoap/
arthur:/usr/src/savonet# wget http://www.rastageeks.org/downloads/liquidsoap/liguidsoap_0.3.6~savonet-1_all.deb
arthur:/usr/src/savonet# wget http://www.rastageeks.org/downloads/liquidsoap/liquidsoap_0.3.6~savonet-1_i386.deb
Comme j'avais un doute, j'ai pris les 2 packages.
arthur:/usr/src/savonet# dpkg -i liquidsoap_0.3.6~savonet-1_i386.deb
Là, ca a merdé un peu. Il me manque la liborpt5, un truc que j'avais un peu foiré lors d'une installe précédente.
arthur:/usr/src/savonet# apt-get install libortp5 Quelques erreurs plus tard (quand ca veut pas, ca veut pas) arthur:/usr/src/savonet# apt-get -f install
Et hop on relance
arthur:/usr/src/savonet# dpkg -i liquidsoap_0.3.6~savonet-1_i386.deb
Bon ca à l'air d'etre OK
Un peu longue cette installe. Manquait pas mal de trucs qu'il a fallu rajouté à la mimine.
svn co https://savonet.svn.sourceforge.net/svnroot/savonet/trunk savonet
Et hop, ca c'etait pas le plus dûr
Avant de vous lancer dans la compile, vous pouvez éditer le fichier PACKAGES qui contient les modules de liquidsoap. Ca ressemble à ca :
arthur:/usr/src/savonet# cat PACKAGES # Edit this file by commenting/uncommenting the libraries that you want to # build in order to get the corresponding features in liquidsoap. # It is useless to add savonet packages that are not listed below, # like ocaml-fetch, ocaml-smbclient, etc. These are not dependencies of # liquidsoap. # ============================================================================ # Input/output # ============================================================================ # Shout is the lib for streaming to icecast and compatible servers. ocaml-shout # AO is portable and stable, but it does only output. ocaml-ao # Portaudio is a portable audio library with both input and output. #ocaml-portaudio # ALSA is only for LINUX, and is sometimes not working. ocaml-alsa # JACK is an audio connection kit, designed for low latency and easy communication between audio applications ocaml-bjack # ocaml-jack is DEPRECATED. However, you can still try it if you like. #ocaml-jack # ============================================================================ # Codecs # ============================================================================ # MAD is for MP3 decoding. ocaml-mad # TAGLIB is for MP3 ID3 tag reading ocaml-taglib # LAME is for MP3 encoding. ocaml-lame # OGG is for ogg/vorbis and ogg/theora encoding and decoding ocaml-ogg # VORBIS is for ogg/vorbis encoding and decoding. # you need ocaml-ogg to enable ocaml-vorbis. ocaml-vorbis # FAAC is for AAC encoding, FAAD for AAC decoding. #ocaml-faac #ocaml-faad # ============================================================================ # Sound processing # ============================================================================ # LADSPA are audio plugins providing sound effects ocaml-ladspa # SoundTouch is for changing pitch and tempo of sound #ocaml-soundtouch # Samplerate is for having better quality resampling #ocaml-samplerate # ============================================================================ # Various modules # ============================================================================ # Xmlplaylist allow support for various xml format, such as rss, podcast, etc.. ocaml-xmlplaylist # Lastfm allow support for lastfm radios and the audioscrobbler protocol # It should be listed *after* ocaml-xmlplaylist in this file ocaml-lastfm # ============================================================================ # Finally, the mandatory lib dtools, duppy and liquidsoap... # ============================================================================ ocaml-dtools ocaml-duppy liquidsoap
N'oubliez pas de lancer le ./bootstrap
arthur:/usr/src/savonet# ./bootstrap Premier lancement :
arthur:/usr/src/savonet# ./configure /.../ checking for ocamlc... no configure: error: Cannot find ocamlc.
Un tour sur debian.org me dit qu'il me manque libcameleon-ocaml-dev
arthur:/usr/src/savonet# apt-get install libcameleon-ocaml-dev
On repart
/.../ configure: error: Cannot find ocamlfind.
Ha ben non ! Retour sur debian.org : manque ocaml-findlib
arthur:/usr/src/savonet# apt-get install ocaml-findlib
Et rezou...
/.../ configure: error: libao not found.
Arf ! bonjour debian.org, ca faisait longtemps :) cette fois ci c'est libao-dev
arthur:/usr/src/savonet# apt-get install libao-dev
Hop la...
/.../ configure: error: taglib/tag_c.h, please install the C taglib library, or put taglib/tag_c.h somewhere it can be found
Ha ben oui, manque un truc
arthur:/usr/src/savonet# apt-get install libtagc0-dev
Et retoc !
/.../ checking for ocaml-pcre... configure: error: Not found.
Ca c'est pour lastfm, m'en fout je vire dans PACKAGES (c'est lâche je sais) Ben non ! paske qu'il l'a faut pour ocaml-duppy.
arthur:/usr/src/savonet# apt-get install libpcre-ocaml-dev
Et je relance (pour la 25ème fois ) le configure. J'ai un truc qui ressemble à ca :
/.../
---------------------------------------------------------------- Installation
prefix : /usr/local
exec_prefix : ${prefix}
binary : ${exec_prefix}/bin
configuration : ${prefix}/etc/liquidsoap
logging : ${prefix}/var/log/liquidsoap
PIDs : ${prefix}/var/run/liquidsoap
logrotate conf : ${prefix}/etc/logrotate.d
man page : ${datarootdir}/man/man1
doc : ${datarootdir}/doc
-------------------------------------------------------------------- Features
* Supported input formats
- Vorbis : yes
- MP3 : yes
- AAC : no
- text-to-speech : liquidtts will use "false" as a synthetizer,
but you can edit it later.
- XML playlists : yes
- Lastfm : no
* Supported output formats
- Vorbis : yes
- MP3 : yes
- AAC : no
* Tags
- Taglib (ID3 tags) : yes
- Vorbis : yes
- charset detection : no (requires camomile)
* Input / output
- shout : yes
- AO : yes
- OSS : yes
- ALSA : yes
- Portaudio : no
- JACK : yes
- Old JACK : no
- RTP : no
* Audio manipulation
- Samplerate : no
- SoundTouch : no
- LADSPA : yes
* Visualization
- Graphics : no
- OpenGL : no
* Additional libraries
- magic : no (requires ocaml-magic)
* Graphical interfaces
- Python GUI : yes (requires >=pyGTK-2.0)
-----------------------------------------------------------------------------
The Savonet Team thanks you for using liquidsoap...
Now, run
make
to compile, and as root
make install
to install, and..
Have fun!
Bon, jusque la, tout va bien bien
arthur:/usr/src/savonet# make /.../ bla bla bla /.../
A priori, ca roule
arthur:/usr/src/savonet# make install /.../ bla bla bla /.../
Pas d'erreurs. Ca à l'air d'être OK.
Prochain épisode, le paramètrage...
Les Commentaires