Wednesday, April 20, 2011

How to Compile VLC under Fedora 14 64-bit

You want to watch a video clip.  In Fedora 14 64-bit.  This is how you do that.

sudo yum install lua-devel fribidi-devel

Obtain the source tarballs for:
  • vlc
  • libmad
  • ffmpeg, and
  • a52dec
When configuring ffmpeg, use the following configure command:

./configure --enable-postproc --enable-gpl \
--enable-shared --disable-static

When configuring a52dec, use the following configure command:

env CFLAGS="-fPIC" CPPFLAGS="-fPIC" ./configure \
--enable-shared=yes --enable-static=no

Before configuring libmad, edit the configure script, and around line 19100, there is a line that says:

optimize=$optimize -fforce-mem

Remove that line before configuring.   Thanks http://www.linuxquestions.org/questions/linux-software-2/getting-make-***-%5Ball%5D-error-2-during-make-command-for-libmad-0-15-1b-743580

1 comment:

Anonymous said...

Thanks for the post. Is this for VLC2?