Building HandBrake for CentOS/RHEL5
Stemming from my need to have my virtualization system do its fair share of work with regards to encoding digital media arose my need to run HandBrake on a RHEL5 system. These instructions were tested and validated on both a CentOS5.4 installation on i386 and x86_64 architectures and are a gratuitous pillaging of (this) post.
Install the Extra Packages for Enterprise Linux (EPEL) RPM Repository
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarc...
Download HandBrake Source code
wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.3.tar.gz
Untar it
tar zxvf HandBrake-0.9.3.tar.gz
Install packages necessary to build the binary:
yum install libtool jam rpmdevtools bzip2-devel zlib-devel subversion git \
yasm-devel yasm intltool gcc-c++ make
Build it
cd HandBrake-0.9.3
make
The build process will begin and download more source code and libraries from the web. When complete, you should have a HandBrakeCLI binary in your source code directory. I’ve provided the binaries below for those of us who dislike compiling 
- RHEL 5 i386 binary (here) – sha256sum – 18d79143ba85683af060398b5bc88d343c812369a6d710da24ae2c8064eab838
- RHEL 5 x86_64 binary (here) – sha256sum – e39e995f505b9edbe755ba7475a2d01e4d41e6967045c7b5cdcc8047283eb3e5
Notes: You will need to install autoconf higher version
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
tar xjf autoconf-2.61.tar.bz2
cd autoconf-2.61
./configure
make
sudo make install
(http://www.outsidaz.org/blog/2009/10/27/building-handbrake-0-9-3-for-cen...)
