configure error could not find libmad

*nix specific usage questions
KXNV
New Cone
New Cone
Posts: 3
Joined: 18 Jan 2015 05:21
Operating System: Linux & Windows

configure error could not find libmad

Postby KXNV » 18 Jan 2015 05:49

OS: CentOS 6 (2.6.32)

I've been following the UnixCompile instructions and when I get to

Code: Select all

% ./configure --disable-lua
(BTW: lua is already installed but ./configure can't find it: `which lua' yields `/usr/bin/lua')

this error arises:

Code: Select all

configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.
So I used wget to get it:

Code: Select all

wget ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
followed by (BTW: I'm not sure these are the correct options):

Code: Select all

tar -xvf libmad-0.15.1b.tar.gz
So at this point both libmad-0.15.1b.tar.gz and directory libmad-0.15.1b are here:

Code: Select all

/home/me/vlc/vlc-2.1.5
When I run ./configure --disable-lua again, the "configure: error: Could not find libmad on your system" occurs again.

So presumably I put libmad in the wrong directory, right? If so, where should I move it to?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: configure error could not find libmad

Postby Jean-Baptiste Kempf » 18 Jan 2015 09:49

Use the contrib method of the howto.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

KXNV
New Cone
New Cone
Posts: 3
Joined: 18 Jan 2015 05:21
Operating System: Linux & Windows

Re: configure error could not find libmad

Postby KXNV » 18 Jan 2015 10:34

Thank you.

I did that and got this error:

Code: Select all

Usable autoreconf found, running configure.ac:13: error: Autoconf version 2.64 or higher is required configure.ac:13: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: autom4te failed with exit status: 63 autoreconf: aclocal failed with exit status: 63 make: *** [.fribidi] Error 63
So Autoconf verson 2.64 or higher is required. Yet on my CentOS 6 (2.6.32-504.3.3.e16.i686) when I do this:

Code: Select all

yum install autoconf.noarch
I get this response:

Code: Select all

Package autoconf-2.63-5.1.el6.noarch already installed and latest version Nothing to do
Any suggestions?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: configure error could not find libmad

Postby Jean-Baptiste Kempf » 18 Jan 2015 10:35

cd extras/tools
./bootstrap
make
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

KXNV
New Cone
New Cone
Posts: 3
Joined: 18 Jan 2015 05:21
Operating System: Linux & Windows

Re: configure error could not find libmad

Postby KXNV » 18 Jan 2015 10:39

Response:

autoconf too old
libtool too old
ragel not found

ETA: Given that I'm using CentOS 6 I think I shall build a prior version instead, e.g., 1.1.13 The Luggage.

And I thank you for your replies.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: configure error could not find libmad

Postby Jean-Baptiste Kempf » 20 Jan 2015 03:46

then make
it will build those tools.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 1 guest