Issue with installing mad/faad via opam
Closed this issue · 1 comments
Thank you for updating the packages related to liquidsoap and fdkaac in opam. I was able to get it to work on my ubuntu server. However, I have issues with running a liquidsoap configuration for transcoding an aac, mp3 input stream. I am getting the following error logs while attempting an aac and an mp3 input stream.
[decoder:3] Unable to decode stream of type "audio/aac"!
[decoder:3] Unable to decode stream of type "audio/mpeg"!
I understand that this is because the mad
optional package was not install. I ran opam install mad
and I please find below the log. Please help me fix this issue.
I am also getting similar messages when I try installing faad for decoding aac streams. Thanks in advance.
$ opam install mad
The following actions will be performed:
- install mad.0.4.5
=== 1 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building mad.0.4.5:
./configure --prefix /home/pradio/.opam/4.02.1
make
make install
[ERROR] The compilation of mad.0.4.5 failed.
Removing mad.0.4.5.
ocamlfind remove mad
#=== ERROR while installing mad.0.4.5 =========================================#
# opam-version 1.2.0
# os linux
# command ./configure --prefix /home/pradio/.opam/4.02.1
# path /home/pradio/.opam/4.02.1/build/mad.0.4.5
# compiler 4.02.1
# exit-code 1
# env-file /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.env
# stdout-file /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.out
# stderr-file /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.err
### stdout ###
# ...[truncated]
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking mad.h usability... no
# checking mad.h presence... no
# checking for mad.h... no
### stderr ###
# configure: error: libmad not found
Hi,
You need to install libmad-dev. More generally, opam depext plugin can tell
you exactly what package you need to install. I think this should work:
opam depext mad
Finally, you also need to recompile liquidsoap when installing mad so, for
instance:
opam install mad liquidsoap
will work.
Romain
2016-01-27 13:43 GMT-06:00 Abuzayd notifications@github.com:
Thank you for updating the packages related to liquidsoap and fdkaac in
opam I was able to get it to work on my ubuntu server However, I have
issues with running a liquidsoap configuration for transcoding an aac, mp3
input stream I am getting the following error logs while attempting an aac
and an mp3 input stream[decoder:3] Unable to decode stream of type "audio/aac"!
[decoder:3] Unable to decode stream of type "audio/mpeg"!I understand that this is because the mad optional package was not
install I ran opam install mad and I please find below the log Please
help me fix this issue
I am also getting similar messages when I try installing faad for decoding
aac streams Thanks in advance$ opam install mad
The following actions will be performed:
- install mad045
=== 1 to install ====-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building mad045:
/configure --prefix /home/pradio/opam/4021
make
make install
[ERROR] The compilation of mad045 failed
Removing mad045
ocamlfind remove mad#=== ERROR while installing mad045 =========================================## opam-version 120# os linux# command /configure --prefix /home/pradio/opam/4021# path /home/pradio/opam/4021/build/mad045# compiler 4021# exit-code 1# env-file /home/pradio/opam/4021/build/mad045/mad-14317-6d07aeenv# stdout-file /home/pradio/opam/4021/build/mad045/mad-14317-6d07aeout# stderr-file /home/pradio/opam/4021/build/mad045/mad-14317-6d07aeerr### stdout #### [truncated]# checking for stdlibh yes# checking for stringh yes# checking for memoryh yes# checking for stringsh yes# checking for inttypesh yes# checking for stdinth yes# checking for unistdh yes# checking madh usability no# checking madh presence no# checking for madh no### stderr #### configure: error: libmad not found
—
Reply to this email directly or view it on GitHub
#15.