Problem with CentOS & other RHEL is that it's packages are updated slowly. Building software like Handbrake needs additional steps.
1. First of all, you need to have the essential development tools:
yum groupinstall "Development Tools" "Development Libraries" \
"X Software Development" "GNOME Software Development"
yum install yasm zlib-devel bzip2-devel \
dbus-glib-devel libgudev1-devel webkitgtk-devel libnotify-devel \
gstreamer-devel gstreamer-plugins-base-devel
2. Build Autoconf 2.61 (stock is 2.59) and install to /opt
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
tar xjf autoconf-2.61.tar.bz2
cd autoconf-2.61
./configure --prefix=/opt
make
sudo make install
3. Use the 2.61 version
export PATH=/opt/bin:$PATH
4. Greb latest source from subversion or download from
Handbrake source.
Here we assume you download the tar source:
wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.5.tar.bz2
tar zxvf HandBrake-0.9.5.tar.gz
5. Config & build
GUI version is no supported according to the Handbrake forum. --disable-gtk option will generate CLI build.
cd HandBrake-0.9.5
./configure --disable-gtk --launch
it's gonna take awhile depending on your hardware...
-------------------------------------------------------------------------------
time end: Thu Feb 10 12:57:49 2011
duration: 20 minutes, 2 seconds (1202.42s)
result: SUCCESS
-------------------------------------------------------------------------------
Build is finished!
6. Install
If no other trouble, you get the success build result. Now install it:
cd build
make install
This will copy the build to /usr/local/bin/HandBrakeCLI and now enjoy the work!
HandBrakeCLI --help
Reference:
- https://trac.handbrake.fr/wiki/CompileOnLinux
- https://forum.handbrake.fr/viewtopic.php?f=13&t=19479
- http://linuxtoolkit.blogspot.com/2010/10/installing-handbrake-on-fedora-13.html