Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with installing mad/faad via opam #15

Closed
AlReem opened this issue Jan 27, 2016 · 1 comment
Closed

Issue with installing mad/faad via opam #15

AlReem opened this issue Jan 27, 2016 · 1 comment

Comments

@AlReem
Copy link

AlReem commented Jan 27, 2016

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
@AlReem AlReem changed the title Issue with installing faad via opam Issue with installing mad/faad via opam Jan 27, 2016
@toots
Copy link
Member

toots commented Jan 27, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants