How to install VLC media player 0.9.9 from Source in Debian Lenny
Posted by Admin on April 15th, 2009
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Preparing Your system
#apt-get install build-essential
#apt-get install libqt4-dev libpostproc-dev libavformat-dev libavcodec-dev libavutil-dev libmad0-dev liba52-0.7.4-dev libhal-dev libdbus-1-dev libfribidi-dev libgcrypt11-dev
Install Latest VLC Media player from source (0.9.9 is the latest version at the time of writing)
First download latest vlc version from here
or
wget http://download.videolan.org/pub/videolan/vlc/0.9.9/vlc-0.9.9.tar.bz2
Extract this tar.bz2 file using the following command
#tar -xjf vlc-0.9.9.tar.bz2
#cd vlc-0.9.9
#./configure
--disable-swscale
#make
#make install
That’s it this will complete the installation
Using VLC
If you want to open VLC You need to go to Applications—>Sound&Video—>VLC Media Player

If you want to install mozilla plugin use the following command
#apt-get install mozilla-plugin-vlc


April 18th, 2009 at 2:24 am
I just tried this and everything seems to have been going good until the ‘make install’ part and then I get this error.
Any ideas what could be wrong?
x264.c: In function ‘Open’:
x264.c:962: error: ‘x264_param_t’ has no member named ‘b_pre_scenecut’
make[5]: *** [libx264_plugin_la-x264.lo] Error 1
make[5]: Leaving directory `/home/saptech/vlc-0.9.9/modules/codec’
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/saptech/vlc-0.9.9/modules/codec’
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/saptech/vlc-0.9.9/modules/codec’
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/saptech/vlc-0.9.9/modules’
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/saptech/vlc-0.9.9′
make: *** [install] Error 2
April 18th, 2009 at 6:14 am
Thx for the how-to; got problems with the second step (installing lib*-dev), apt-get complains dependencies not met (libqt4-dev relies on older versions of other libs than those I’m installing). I didn’t check further, maybe it’s because I’m prefering packages from “backport.org”… will check later.
April 26th, 2009 at 6:50 pm
Got the same error as Saptech already with “make”. Tried to “make install” anyway and got the same error again. Any suggetions?
May 1st, 2009 at 8:14 pm
Try to give a [u]#make check[/u] after configured, so it will check for dependencies
May 21st, 2009 at 4:39 pm
Thank you for your post. I got some errors after ‘make’, could you help?
xcommon.h:355: error: expected specifier-qualifier-list before ‘XShmSegmentInfo’
make[6]: *** [libglx_plugin_la-glx.lo] Error 1
make[6]: Leaving directory `/home/user/vlc-0.9.9a/modules/video_output/x11′
make[5]: *** [check] Error 2
make[5]: Leaving directory `/home/user/vlc-0.9.9a/modules/video_output/x11′
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory `/home/user/vlc-0.9.9a/modules/video_output’
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/user/vlc-0.9.9a/modules/video_output’
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/user/vlc-0.9.9a/modules’
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/user/vlc-0.9.9a’
make: *** [check] Error 2
June 1st, 2009 at 1:37 pm
2 17wb: Resolved by:
sudo apt-get install x11proto-xext-dev
June 9th, 2009 at 10:04 pm
17wb: try this:
sudo make install
July 6th, 2009 at 10:01 pm
Hi all i have noticed a few of you are having trouble with lXext error while compiling vlc from source here is the fix for debian lenny to get you past this error and complete the make. install libxext-dev and it will complete hope this helps you out.
brandan
July 16th, 2009 at 4:46 am
i am geting problen while install vlc
#tar -xjf vlc-0.9.9.tar.bz2
#cd vlc-0.9.9
#./configure –disable-swscale
After typing make command.
Error is following…
#make
make: *** No targets specified and no makefile found. Stop.
#make install
bash: male: command not found
i m not able to install vlc plz,,, help me….
October 4th, 2009 at 11:05 pm
Hi,
I think all the steps you described went well but when I want to run vlc, I get the following:
vlc: error while loading shared libraries: libvlc.so.2: cannot open shared object file: No such file or directory
Any help would be appreciated.
Thanks
October 10th, 2009 at 1:58 pm
Cagri:
It would seem that you did NOT have success in compiling the vlc libraries. They are probably supposed to be at /usr/lib/… as well as the vlc subdirectories. Were there any error messages while compiling?
On the other hand, libvlc.so.2 is a symbolic link to libvlc.so.2.0.2 … in my /usr/lib directory, although I’m in a Mandriva distro with version 0.9.3 Grishenko.
You might do a ls -all /usr/lib and see if it’s there.
November 7th, 2009 at 1:55 pm
Everything seems to have gone well with my installation. I had the errors described above but I installed both of the packages suggested by yxyc and Brandan. What I then had at the end of make and make install were:
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 vlc.1 vlc-wrapper.1 vlc-config.1 '/usr/local/share/man/man1'
make[3]: Leaving directory `/home/yinkster/vlc-1.0.3/doc'
make[2]: Leaving directory `/home/yinkster/vlc-1.0.3/doc'
Making install in test
make[2]: Entering directory `/home/yinkster/vlc-1.0.3/test'
make[3]: Entering directory `/home/yinkster/vlc-1.0.3/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/yinkster/vlc-1.0.3/test'
make[2]: Leaving directory `/home/yinkster/vlc-1.0.3/test'
make[2]: Entering directory `/home/yinkster/vlc-1.0.3'
make[3]: Entering directory `/home/yinkster/vlc-1.0.3'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c cvlc rvlc qvlc '/usr/local/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/yinkster/vlc-1.0.3'
make[2]: Leaving directory `/home/yinkster/vlc-1.0.3'
make[1]: Leaving directory `/home/yinkster/vlc-1.0.3'
Is this because I ran the apt-get both times whilst I was still inside the vlc folder, or does it not matter, or was that the correct thing to do? All help is appreciated.