Compile VLC 1.1.2 on Fedora 13
Most Linux distributions don’t always provide latest versions for all packages within the official repository (e.g. the current VLC version in Fedora 13 is 1.0.6, theĀ one from the Rawhide repo — which includes packages for the next Fedora release — is 1.1.0, but the latest release as of today is 1.1.2).
So, what do you do to run the latest version?
Compile it yourself, of course.
How?
- Download the latest version (1.1.2)
- Unpack it and cd to the newly created folder (vlc-1.1.2). Here you will find the README file and the installation instructions (same as here)
- Compile it. I recommend creating a new path (e.g. /opt/vlc) to use it as the installation PREFIX
- [code lang=”bash”]./configure –prefix=/opt/vlc[/code]
- [code lang=”bash”]make[/code]
- [code lang=”bash”]su -c “make install”[/code]
Issues?
- Running ./configure can fail if there are missing dependencies. Install them, then try again. I had to install the following packages before running configure successfully:
[code lang=”bash”]yum install lua-devel libmad-devel ffmpeg-devel a52dec-devel libxcb-devel libX11-devel mesa-libGLU-devel[/code]
- make sure you have pulseaudio-libs-devel and alsa-lib-devel installed to compile vlc with pulseaudio/alsa support
After a successful installation you can start vlc with /opt/vlc/bin/vlc. Enjoy.
Comments
I tried this on Fedora x86_64, but in make I get error:
make[5]: Entering directory `/home/evigheden/Desktop/vlc-1.2.0-git/modules/video_output’
CC libxcb_glx_plugin_la-glx.lo
xcb/glx.c:40:23: error: ../opengl.h: No such file or directory
I spend half of the day looking for solution, but I completely run out of ideas. :( I found similar problem on Gentoo http://bugs.gentoo.org/show_bug.cgi?id=304489 , but I don’t know if there is lafilefixer for Fedora. There was also something about reinstall mesa-drivers, what I have done, but I get the same error.
Do you have some idea how to solve it?
Looks like you’re trying to build the next major release which is currently in git (1.2.0). This could have some unresolved bugs. Did you install the devel packages that I mentioned e.g. mesa-libGLU-devel, libxcb-devel? Also, after installing a missing dependency, re-run configure before running make.
Thank you! I tried version 1.1.2 – it compiled without problems and it’s working (however not perfectly – when playing 1080 hd films after few minutes vlc close, so I’m not happy, but my other players also misbehave with hd films). Now probably I should make ticket on bugtrack with 1.2.0 version.
Thx,
But i had to install this packages as well:
yum install dbus-devel fribidi fribidi-devel poppler-qt4-devel libgcrypt-devel dbus-devel