Need some help installing on Ubuntu 8.04

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
bg1256
Posts: 2
Joined: Sun Feb 01, 2009 10:37 pm

Need some help installing on Ubuntu 8.04

Post by bg1256 » Sun Feb 01, 2009 10:42 pm

Hello all,

First of all, thanks for providing this great piece of software and making it available on Linux.

Second, I have searched the forums, as well as google, and here is what I have already learned.

Obviously, there is a package for Ubuntu 8.10. I do realize that upgrading would be an option, but I would prefer not to because of some hardware issues with 8.10.

I also realize that someone is already working to compile a package for 8.04. I discovered that by searching these forums. The link to the PPA is here: https://edge.launchpad.net/~handbrake-u ... rchive/ppa

I have added the key, and I have succesfully insatlled the following packages:
handbrake-cli
handbrake-common

However, I cannot install the GTK package. When I attempt to do so, I receive the following error message from Synaptic:

Code: Select all

handbrake-gtk:
  Depends: libgtk2.0-0 (>=2.14.1) but 2.12.9-3ubuntu5 is to be installed
  Depends: libgtkhtml3.14-19 (>=3.24.1.1) but 3.18.3-0ubuntu2 is to be installed
  Depends: libpango1.0-0 (>=1.21.6) but 1.20.5-0ubuntu1 is to be installed
  Depends: libpopt0 (>=1.14) but 1.10-3build1 is to be installed
 Depends: libxcb-render-util0  but it is not installable
Does anyone know how I can get around this?

zreed20
Posts: 4
Joined: Mon Jul 07, 2008 2:19 pm

Re: Need some help installing on Ubuntu 8.04

Post by zreed20 » Thu Feb 05, 2009 1:15 am

I don't use the Handbrake in the repository, because I prefer to stay right up to date. If you're not afraid of the command line, you can just cut and paste the following...

Code: Select all

sudo apt-get install libtool autoconf automake build-essential jam subversion -y

Code: Select all

sudo apt-get install libbz2-dev zlib1g-dev
Next you'll need the latest version of yasm so that Handbrake will take advantage of all your processor has to offer...

Code: Select all

wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.1.tar.gz
tar -xvzf yasm-0.7.1.tar.gz
cd yasm-0.7.1
./configure
make
sudo make install
cd ..
rm -rf yasm*l
Then you should be ready to checkout and compile Handbrake...

Code: Select all

svn co svn://handbrake.m0k.org/HandBrake/trunk HandBrake
cd HandBrake/
./configure && jam
I don't bother installing the GUI, but per the wiki...


Then you will be ready to build the GUI:

Code: Select all

cd gtk
Configure the GUI sources:

Code: Select all

./autogen.sh
If there are errors at this stage, you're missing some prerequisite.

Build it:

Code: Select all

make
Assuming that all goes well, you should now have a ghb binary in the gtk/src directory. You can execute it in place or copy it wherever you like.

You may also want to install, run:

Code: Select all

sudo make install
This will install the binary and add a HandBrake option to your "Applications->Sound & Video" menu.

I hope that helps :)

bg1256
Posts: 2
Joined: Sun Feb 01, 2009 10:37 pm

Re: Need some help installing on Ubuntu 8.04

Post by bg1256 » Tue Feb 10, 2009 8:46 pm

Thanks for taking the time to post that... I really do appreciate it.

After tinkering around with the launchpad PPA, I was able to find a .deb package that installed beautifully.

I will double check the version when I get home, because I do want to take advantage of my dual-core processor.

Again, thanks!

atonz
Posts: 2
Joined: Thu Feb 12, 2009 5:17 am

Xubuntu 8.04

Post by atonz » Thu Feb 12, 2009 5:23 am

Hi, I'm fairly new to linux and was hoping to use Handbrake to convert some .avi to .mp4 and perhaps vice versa. I have recently installed Xubuntu 8.04 and have downloaded the .deb file for the GUI of handbrake. I get the same error: Dependency is not satisfiable: libgtk2.0-0

I do not really understand all of that coding stuff in your solution. I understand what the terminal is but I am not really comfortable using it without step-by-step copy and pasting. Help?

User avatar
JohnAStebbins
HandBrake Team
Posts: 5072
Joined: Sat Feb 09, 2008 7:21 pm

Re: Need some help installing on Ubuntu 8.04

Post by JohnAStebbins » Thu Feb 12, 2009 5:57 am

I don't know why it says the dependency is not satisfiable. I would think that xubuntu would have the same packages available that bog standard ubuntu has. You could try installing it manually. Use the synaptic gui to install libgtk2 or from the command line

Code: Select all

sudo aptget install libgtk2.0-0
Since your using xubuntu and this is a gtk app, there's likely to be additional things you'll need to install. One that comes to mind is gtkhtml3.

atonz
Posts: 2
Joined: Thu Feb 12, 2009 5:17 am

Re: Need some help installing on Ubuntu 8.04

Post by atonz » Thu Feb 12, 2009 3:02 pm

Thanks John, I managed to install that but the .deb file still gives me the same error. I think I've had enough with Xubuntu, since this is another thing on the list that fails when it would be different in Ubuntu.

dgdw
Posts: 1
Joined: Sun Mar 08, 2009 9:08 am

Re: Need some help installing on Ubuntu 8.04

Post by dgdw » Sun Mar 08, 2009 9:11 am

Hi I'm also having issues installing on XUbuntu 8.04 . . .

My hangup is during the ./autogen.sh step I receive the error

"No package 'gdk-pixbuf-2.0' found"

What is this and how do I get it for handbrake?

Thanks!

User avatar
JohnAStebbins
HandBrake Team
Posts: 5072
Joined: Sat Feb 09, 2008 7:21 pm

Re: Need some help installing on Ubuntu 8.04

Post by JohnAStebbins » Tue Mar 10, 2009 12:23 am

I'm assuming you've followed the directions and already installed libgtk2.0-dev. On standard Ubuntu, what your looking for is part of that package. If you didn't follow the directions, I suggest you do or you will have many additional problems.

If you followed the directions, and still get that error, then maybe xubuntu put it in a separate package. you could try:

Code: Select all

apt-cache search pixbuf
will show you a list of packages with pixbuf in the name.

c0z
Posts: 8
Joined: Thu Jun 25, 2009 7:38 pm

Re: Need some help installing on Ubuntu 8.04

Post by c0z » Thu Jun 25, 2009 8:00 pm

Gah!
Dependency is not satisfiable: libgtk2.0-0
Ubuntu 8.04 (and possibly other) repositories do not contain the required updated dependency packages needed for the current version of handbrake!

Ya dubba click tha handbrake package and it gets ya no where quick!

Handbrake!? OH NOES WHAT DO I DO?! It makes some good irony. =D

Here is something nice to try instead of user operator double-click,

Code: Select all

sudo dpkg --install HandBrake-0.9.3-Ubuntu_GUI_i386.deb
Returns
  • Unpacking replacement handbrake ...
    dpkg: dependency problems prevent configuration of handbrake:

    handbrake depends on libgtk2.0-0 (>= 2.14.1); however:
    Version of libgtk2.0-0 on system is 2.12.9-3ubuntu5.

    handbrake depends on libgtkhtml3.14-19 (>= 3.24.1.1); however:
    Version of libgtkhtml3.14-19 on system is 3.18.3-0ubuntu2.
    handbrake depends on libpango1.0-0 (>= 1.21.6); however:
    Version of libpango1.0-0 on system is 1.20.5-0ubuntu1.1.
    handbrake depends on libpopt0 (>= 1.14); however:
    Version of libpopt0 on system is 1.10-3build1.
    handbrake depends on libxcb-render-util0; however:
    Package libxcb-render-util0 is not installed.
    handbrake depends on libxcb-render0; however:
    Package libxcb-render0 is not installed.
I'd say update those libraries from scratch or wait until the Ubuntu Hardy Heron repositories are updated.

EDIT: Updating from scratch is a bad idea in this case, as the upgraded libraries must be installed in tandem.

Ex. libgtk2.0-0_2.14.1 requires libgtkhtml3.14-19_3.24.1.1 and vice versa.

The easiest route is to upgrade to Ubuntu 8.10 Intrepid Ibex, which is a necessary part of the upgrade path to any newer flavor of Ubuntu.

Its only like 2 steps. Like pushing in the button on your cars handbrake and releasing the tension... =D

https://help.ubuntu.com/community/IntrepidUpgrades

-Munch munch munch-
Last edited by c0z on Thu Jun 25, 2009 10:39 pm, edited 1 time in total.

c0z
Posts: 8
Joined: Thu Jun 25, 2009 7:38 pm

Re: Need some help installing on Ubuntu 8.04

Post by c0z » Thu Jun 25, 2009 8:04 pm

Yeah, so the package updating..

All of them should be available in the Intrepid repositories...

http://packages.ubuntu.com/intrepid/

you can grab the .deb files from there

however, the new libgtk will conflict with the latest hardy libgtkhtml package

which will invariably contain a conflict or dependency error within that... and so on

feel free to try and follow it to the end

if your that stubborn about keeping Hardy Heron

Solution: Update to Intrepid, perform repository updates

=D

c0z
Posts: 8
Joined: Thu Jun 25, 2009 7:38 pm

Re: Need some help installing on Ubuntu 8.04

Post by c0z » Thu Jun 25, 2009 10:23 pm

My guess, HandBrake was developed on an fully updated Ubuntu Intrepid system with no thought of reverse compatibility. XD

rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Re: Need some help installing on Ubuntu 8.04

Post by rhester » Fri Jun 26, 2009 2:52 am

The HandBrake development team does not manage Linux packages - they are produced by others to benefit their respective communities. Please contact the Ubuntu package maintainer for any concerns you may have.

Rodney

c0z
Posts: 8
Joined: Thu Jun 25, 2009 7:38 pm

Re: Need some help installing on Ubuntu 8.04

Post by c0z » Sat Jun 27, 2009 10:38 pm

Ubuntu 8.04 Hardy Heron is what is known as a Long Term Support (LTS) release. A new LTS version is released every 2 years. New regular releases are about every six months. New packages and versions are often tested with the regular releases, such as Intrepid, then back ported with what they call a maintenance update, or service pack, if you will.

The latest maintenance update for hardy (8.04.2) was in January. Due to the large amount of resources devoted to developing and supporting the newer releases, such as intrepid, jaunty, and karmic, the maintenance updates are purposely delayed (just not gotten around to yet)... to encourage updating.

Similar to how Windows Vista sucks so instead of trying to fix it, Microsoft is letting people upgrade to WIndows 7 really [Censored] cheap.

Alternatively, after satisfying the uninstalled Handbrake dependencies, you can try:

Code: Select all

sudo dpkg --install --force-depends-version HandBrake-0.9.3-Ubuntu_GUI_i386.deb
I've had success with this method in the past with other applications requiring the newer GTK libraries, although the application will show up as a broken package in synaptic.

Yay!

User avatar
JohnAStebbins
HandBrake Team
Posts: 5072
Joined: Sat Feb 09, 2008 7:21 pm

Re: Need some help installing on Ubuntu 8.04

Post by JohnAStebbins » Sun Jun 28, 2009 5:27 am

The packages available on the HandBrake download page are for a specific version of Ubuntu. I don't have the resources to create packages for every version of Linux out there (let alone every version of Ubuntu). The 0.9.3 release packages are for 8.10 only because that is what I was personally running at the time of that release. The latest snapshot is for Ubuntu 9.04 only because that is what I now run. If you try to install these packages on a version of Ubuntu that they are not intended for you will have problems. Installing these packages on a version of Ubuntu that they *are* intended for should be completely transparent. The dependencies will be installed automatically.

Note that I have never created any packages for Ubuntu 8.04. A kind person took the time to follow our build instructions to the letter and created some packages for the 0.9.3 release. They can be found here:
https://edge.launchpad.net/~handbrake-u ... rchive/ppa

Unfortunately, other packagers are not as good at following directions and often create broken versions of handbrake. So please be wary of any versions of handbrake you obtain from your distribution repositories. The above mentioned packager is the only packager that saw fit to contact us and work with us to create a good set of packages.

c0z
Posts: 8
Joined: Thu Jun 25, 2009 7:38 pm

Re: Need some help installing on Ubuntu 8.04

Post by c0z » Sun Jun 28, 2009 2:40 pm

OOO

Fantastic!

The repackage for 8.04 works like a charm.

Good work!

OOO

Post Reply