Hi Xavier, It looks like libswresample-dev is missing from the ocaml-ffmpeg depext. You should try to install libswresample-dev and then reinstall ocaml-ffmpeg.
I'll push an updated version on opam soon. Romain Le mar. 13 nov. 2018 à 08:11, Xavier Cazin <xavier.ca...@gmail.com> a écrit : > Hello everyone, > > I've installed liquidsoap 1.3.4 successfully with opam (ocamlc 4.07.0) on > MacOSX, but I fail to install it on my Debian (stretch) server. At least > not with the ffmpeg module. Here is a log of my attempt: > > xavier@bao:~$ *opam depext taglib mad lame vorbis cry samplerate > gstreamer opus ffmpeg faad liquidsoap.1.3.4* > # Detecting depexts using flags: x86_64 linux debian > # The following system packages are needed: > # - libavformat-dev > # - libavutil-dev > # - libfaad-dev > # - libgstreamer-plugins-base1.0-dev > # - libgstreamer1.0-dev > # - libmad0-dev > # - libmp3lame-dev > # - libogg-dev > # - libopus-dev > # - libpcre3-dev > # - libsamplerate0-dev > # - libswscale-dev > # - libtag1-dev > # - libvorbis-dev > # - m4 > # - pkg-config > # All required OS packages found. > xavier@bao:~$ *opam install taglib mad lame vorbis cry samplerate > gstreamer opus ffmpeg faad liquidsoap.1.3.4* > [NOTE] Package taglib is already installed (current version is 0.3.3). > [NOTE] Package mad is already installed (current version is 0.4.5). > [NOTE] Package lame is already installed (current version is 0.3.3). > [NOTE] Package vorbis is already installed (current version is 0.7.1). > [NOTE] Package cry is already installed (current version is 0.6.2). > [NOTE] Package samplerate is already installed (current version is 0.1.4). > [NOTE] Package gstreamer is already installed (current version is 0.3.0). > [NOTE] Package opus is already installed (current version is 0.1.2). > [NOTE] Package ffmpeg is already installed (current version is 0.2.0). > [NOTE] Package faad is already installed (current version is 0.4.0). > The following actions will be performed: > ∗ install liquidsoap 1.3.4 > Do you want to continue ? [Y/n] y > =-=- Gathering sources > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > [liquidsoap] Archive in cache > > =-=- Processing actions > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > [liquidsoap: ./configure] Command started > [liquidsoap: make] Command started > [ERROR] The compilation of liquidsoap failed at "make". > [liquidsoap: rm] Command started > > #=== ERROR while installing liquidsoap.1.3.4 > ==================================# > # opam-version 1.2.2 > # os linux > # command make > # path /home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4 > # compiler 4.07.0 > # exit-code 2 > # env-file > /home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4/liquidsoap-28499-d2c37b.env > # stdout-file > /home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4/liquidsoap-28499-d2c37b.out > # stderr-file > /home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4/liquidsoap-28499-d2c37b.err > ### stdout ### > # [...] > # OCAMLOPT -c decoder/image_decoder.ml > # OCAMLOPT -c decoder/image/ppm_decoder.ml > # OCAMLOPT -c decoder/external_decoder.ml > # OCAMLOPT -c decoder/raw_audio_decoder.ml > # OCAMLOPT -c decoder/ffmpeg_decoder.ml > # ../Makefile.rules:192: recipe for target 'decoder/ffmpeg_decoder.cmx' > failed > # make[2]: Leaving directory > '/home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4/src' > # ../Makefile.rules:67: recipe for target 'all-auto-ocaml-prog' failed > # make[1]: Leaving directory > '/home/xavier/.opam/4.07.0/build/liquidsoap.1.3.4/src' > # Makefile.rules:27: recipe for target 'all-subdirs' failed > ### stderr ### > # File "decoder/ffmpeg_decoder.ml", line 40, characters 47-70: > # Error: Unbound module FFmpeg.Swresample > # make[2]: *** [decoder/ffmpeg_decoder.cmx] Error 2 > # make[1]: *** [all-auto-ocaml-prog] Error 2 > # make: *** [all-subdirs] Error 2 > > =-=- Error report > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > The following actions failed > ∗ install liquidsoap 1.3.4 > No changes have been performed > > I don't quite understand the binding process, so any clues on how to solve > this would be very welcome. > > Thanks in advance. > -- Xavier Cazin > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users >
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users