Build VLC media player under Ubuntu Hardy (8.04)
This post is an update of the popular howto for Build VLC with feisty.
Introduction
So we are going to build the latest VLC possible.
Everything will be done in a console/terminal and should be straight-forward. Every question should be asked on the forum, or in the comments here.
Conventions
Every line beginning with a # should be done as root, or using the sudo command. Every line beginning witha % is a normal line.
Building VLC
Prepare your environment
We need a few package starting from a fresh hardy:
# apt-get install vlc
# apt-get build-dep vlc
# apt-get install cvs build-essential subversion git git-core automake1.9 libtool
# apt-get install libgcrypt-dev
# apt-get install libfaad-dev libtwolame-dev libqt4-dev libjack-dev
# apt-get install libxpm-dev libcddb2-dev liblua5.1-0-dev libzvbi-dev libshout-dev
Checkout VLC trunk and bootstrap the tree
% git clone git://git.videolan.org/vlc.git
% cd vlc
% ./bootstrap
Build x264
x264
x264 is a library to encode movies in H.264.
% cd extras/
%
% git clone git://git.videolan.org/x264.git
% cd x264
% make
% sudo make install
% cd ../..
Configure VLC
Configure
% mkdir build; cd build;
%../configure --prefix=/usr \
--enable-snapshot --enable-debug \
--enable-dbus-control --enable-musicbrainz \
--enable-shared-libvlc --enable-mozilla \
--enable-lirc \
--with-ffmpeg-tree=../extras/ffmpeg \
--enable-x264 --with-x264-tree=../extras/x264 \
--enable-shout --enable-taglib \
--enable-v4l \
--enable-dvb \
--enable-realrtsp --disable-xvmc \
--enable-svg --enable-dvdread \
--enable-dc1394 --enable-dv \
--enable-theora --enable-faad \
--enable-twolame --enable-real \
--enable-flac --enable-tremor \
--enable-skins2 --enable-qt4 \
--enable-ncurses \
--enable-aa --enable-caca \
--enable-esd --disable-portaudio \
--enable-jack --enable-xosd \
--enable-galaktos --enable-goom \
--enable-ggi \
--disable-cddax --disable-vcdx \
--disable-quicktime --enable-lua
Finish
% make
You just have to wait a bit :D