VLC 0.86 compilation error : liblamemp3

*nix specific usage questions
Shirase
New Cone
New Cone
Posts: 1
Joined: 06 Apr 2007 18:31

VLC 0.86 compilation error : liblamemp3

Postby Shirase » 06 Apr 2007 18:36

Hi,
I'm trying to compile the new VLC on my Debian sarge, but I'm stuck in the make with :

Code: Select all

(cd ffmpeg; ./configure --enable-mp3lame --enable-faac --prefix=/home/user/vlc-0.8.6a/extras/contrib --extra-cflags="-I/home/user/vlc-0.8.6a/extras/contrib/include -I/include -DRUNTIME_CPUDETECT" --extra-ldflags="-L/home/user/vlc-0.8.6a/extras/contrib/lib " --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-a52 --disable-ffplay && make install-libs install-headers) Unknown option "--enable-mp3lame".
I've read the correct option is --enable-libmp3lame, but i dont know how to change it. I cannot compile ffmeg from src/ffmpeg, ./configure -- enable-libmp3lame returns : LAME not found...

Thanks for your replies :D

EricOnVlc
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Apr 2007 09:58

Postby EricOnVlc » 06 Apr 2007 20:23

Hi,

In order to go over this error, you can edit the file Makefile in ./extra/contrib/src/

So you edit ./extra/contrib/src/Makefile

Look for

Code: Select all

cd ffmpeg; ./configure --enable-mp3lame --enable-faac --prefix=/home/user/vlc-0.8.6a/extras/contrib --extra-cflags="-I/home/user/vlc-0.8.6a/extras/contrib/include -I/include -DRUNTIME_CPUDETECT" --extra-ldflags="-L/home/user/vlc-0.8.6a/extras/contrib/lib " --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-a52 --disable-ffplay && make install-libs install-headers)
inside the code using the search function.

change --enable-mp3lame to --enable-libmp3lame but also
--enable-faac to --enable-libfaac
--enable-a52 to --enable-liba52

Save your changes and go back to ./extra/contrib/

Run the make command and now the compilation process should go on.

Good luck :wink:
Eric

EricOnVlc
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Apr 2007 09:58

Postby EricOnVlc » 06 Apr 2007 20:26

If your system doesn't have Lame lib, you can also do an
sudo apt-cache search lame
and then install the good liblame from the list with the command
sudo apt-get install liblame... liblame...-dev ...
Then try to run again the make command. :roll:


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

Who is online

Users browsing this forum: No registered users and 18 guests