Handbrake 0.9.3 on Ubuntu 8.04
Handbrake is wonderful. And now it’s even better – since you can now encode from any source, not just DVDs.
Anyways, on the download page they have available a .deb for Ubuntu 8.10. That’s fine and dandy, but I’m running 8.04. So time to compile!
Following the guide – you’ll eventually encounter an error like
LibX264 ./lib/libx264.a
patching file encoder/slicetype.c
Hunk #1 succeeded at 487 (offset 108 lines).
Found yasm 0.5.0.1591
Minimum version is yasm-0.6.1 or nasm-2.0
If you really want to compile without asm, configure with –disable-asm.cd
dirname ./x264.tar.gz&& CONTRIB=pwd&&
rm -rf x264 && (gzip -dc x264.tar.gz | tar xf – ) &&
cd x264 && patch -p0 < ../patch-x264-idr.patch &&
bash ./configure –prefix=$CONTRIB –enable-pthread &&
make libx264.a && cp libx264.a $CONTRIB/lib/ && cp x264.h $CONTRIB/include/ && strip -S $CONTRIB/lib/libx264.a…failed LibX264 ./lib/libx264.a …
The issue is that the yasm version in the 8.04 repository is too old. So you need to build your own version.
$sudo apt-get remove –purge yasm $wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.2.tar.gz $tar xvzf yasm-0.7.2.tar.gz $cd yasm-0.7.2 $./configure $make $sudo checkinstall
Once that’s set, you should be able to build Handbrake with no issues. Hooray!
December 12th, 2008 at 8:00 am
Thanks for this. There were still some missing dependencies (libfaac-dev, libfaac-dev…) but not too difficult to figure. Now, I can use Handbrake at work.
April 8th, 2009 at 10:15 pm
Thanks for this info.
Absolute saviour!!
Cheers
Peter
April 18th, 2009 at 12:08 am
Thanks… I used this for fixing my problem getting handbrake to compile on Ubuntu 8.10 amd64 as well.