Closed caf2022 closed 2 years ago
Hi, I'm getting error when install liquidsoap 2.0.4 with faad, but when I run again with "reinstall" works fine.
#=== ERROR while compiling conf-faad.1 ========================================# # context 2.1.2 | linux/x86_64 | ocaml-base-compiler.4.14.0 | https://opam.ocaml.org#40f3586d # path ~/.opam/4.14.0/.opam-switch/build/conf-faad.1 # command /usr/bin/pkg-config --exists faad2 # exit-code 1 # env-file ~/.opam/log/conf-faad-31823-74bcce.env # output-file ~/.opam/log/conf-faad-31823-74bcce.out <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build conf-faad 1 └─
I'm running this installation:
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" opam install liquidsoap ocurl taglib fdkaac mad lame vorbis cry faad flac opus vorbis theora speex ogg xmlplaylist duppy ladspa dtools samplerate ffmpeg ffmpeg-avutil ffmpeg-avcodec ffmpeg-avdevice ffmpeg-av ffmpeg-avfilter ffmpeg-swresample ffmpeg-swscale frei0r -y --assume-depexts
The most recent ocaml-faad relies on pkg-config to detect the library. Some outdated packages do not have it. I'd recommend to simply install the previous version:
pkg-config
opam install faad.0.5.0
Hi, I'm getting error when install liquidsoap 2.0.4 with faad, but when I run again with "reinstall" works fine.
I'm running this installation: