Skip to main content

Making K3b rip DVDs on Ubuntu 7.10

I've complained repeatedly that K3b supplied via Ubuntu 7.10's repositories can't rip DVDs on Ubuntu 7.10. It worked for me on 7.04 as well as on every version of openSUSE I cared to try it on. I tried everything I could think of to get it to work short of installing Kubuntu, which I will never do. I have an abiding dislike of Kubuntu, stoked in part by its silly insistence that Konqueror is the default web browser, not Firefox.

After repeated attempts to find a solution on forums and via Google, I solved my problem the old fashioned way; I downloaded the source to K3b 1.0.4 and built it myself. And you know what? I can rip DVDs now with K3b on Ubuntu 7.10.

The key to getting K3b to compile is to install, via Synaptic, the packages for Qt3 development (qt3-apps-dev, libqt3-headers, libqt3-mt and libqt3-mt-dev) and KDE development (kde-devel). These provide all the tools, headers, and libraries necessary to build KDE/Qt3 applications.

Other development versions of libraries are needed to build key features and plugins for K3b. To give you an idea of what you need, here's the final configure output from K3b:
K3b - Include libdvdread (Video DVD ripping) support:
K3b - yes

K3b - Resmgr support: no

K3b - Compile HAL support no
K3b - You are missing the HAL >= 0.5 headers and libraries
K3b - or the DBus Qt bindings.

K3b - Audioplayer available (alsa) yes

K3b - FFMpeg decoder plugin (decodes wma and others):
K3b - yes

K3b - FLAC support: yes

K3b - libsndfile audio decoding support: yes

K3b - Mp3 decoding support (libmad): yes

K3b - Musepack support: yes

K3b - Ogg Vorbis support: yes

K3b - Lame Mp3 encoder plugin: yes

K3b - Audio meta data reading with Taglib: yes

K3b - Audio resampling:
K3b - using version bundled with K3b

K3b - Audioplayer available (aRts) yes

K3b - Compile K3bSetup 2: yes

K3b - Tag guessing using MusicBrainz yes
I didn't keep a list of every '-dev' library needed. What I did do was to hunt, via Synaptic, the developer version of every feature listed above. For example, for libdvdread (libdvdread3, which was already installed) I made sure to install libdvdread-dev. After finding and install I'd do a 'make distclean' (just to make sure) and then re-run ./configure. Where-ever a 'yes' appears, I satisfied K3b's configure requirements. The only 'no' I wished I'd satisfied was with HAL/DBus support. I tried a number of packages but never found the right one. For my use it didn't matter, so I didn't waste too much time trying to satisfy the requirement.

Why not use another tool? I tried that, specifically with K9Copy. I installed and tried that tool, and after three consecutive unsuccessful attempts to rip the same movie, I removed it completely and then went off and built K3b. The less said about K9Copy the better, but from my perspective it can be described in one word as 'horrible'. Don't use it unless you're desperate.

I have no idea why the version of K3b (1.0.3) won't work as a DVD ripper while my re-built version (1.0.4) will. I don't believe that it's due to the minor point difference, since the same version supplied via Synaptic (1.0.3) works just fine under openSUSE 10.3. I can only assume that the build system for this application is broken. I did nothing other than install the necessary support packages via Synaptic, run ./configure, make, and make install.

The grizzled veterans will shake their heads in bemusement over my complaining about having to rebuild an application to get a specific feature to work. But that's my point. Why would anybody, especially now, have to go to this much trouble to get a major feature to work on a major application? The answer is they shouldn't, especially when at least one other distribution shows that it works out-of-the-box. And especially on a distribution such as Ubuntu that strives "the best" Linux distribution of them all. The one saving grace to this minor fiasco is the Synaptic system that allowed me to quickly find and install the necessary tools. And to be honest it's a feature from Debian, not from Ubuntu.

It's situations like this that make me wonder again and again if I shouldn't front my own distribution, where unnecessary bits are stripped out and what's left Just Works. But then, that's just what the Linux scene needs; Yet Another Damn Distribution.


  1. - did you have libdvdcss2 installed, and did you need it?

    - Lame is in multiverse.

    The rest, however, warrant being looked into.

  2. libdvdcss2 was installed along with vlc from medibuntu.

    I built in lame support. I didn't build in resmgr and HAL/dbus support. And I didn't care.

  3. Please, no. I only mentioned YADD in jest.


Post a Comment

All comments are checked. Comment SPAM will be blocked and deleted.

Popular posts from this blog

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…

first night for the gingersnaps

The first night has passed and the two have managed to survive, in spite of what their tiny hearts might have thought when first arriving. Greebo, the larger of the two, has been in hiding the entire time so far. Ponder has spent the time zipping in and out of hiding spots, checking things out, and learning just how comfortable pillows are for resting your head.

During the night I felt the tiny body of Ponder hitting the bed as he leaped up on the side, and then climbed to the top to run around on top of me. At least once he play-attacked my fingers. He might be small but his claws are still quite sharp.

When I got up in the morning the bowl of cat kitten food was fairly well depleted. It's been refilled and fresh water put in the big dish on the floor. I'm assuming that both Greebo and Ponder are feeding and drinking. I have seen Greebo under the furniture peeking out at me when I went looking for him. I'm leaving him alone while he continues to adjust.

So far the guys h…

vm networking problem fixed

Over the weekend I upgraded to Windows 8.1, then discovered that networking for the virtual machines wouldn't work. Then I tried something incredibly simple and fixed the problem.

Checking the system I noticed that three VMware Windows services weren't running; VMnetDHCP, VMUSBArbService, and VMwareNatService. VMware Player allows you to install, remove, or fix an existing installation. I chose to try fixing the installation, and that fixed the problem. The services were re-installed/restarted, and the virtual machines had networking again.

Once network connectivity was established there was exactly one updated file for Ubuntu 13.10, a data file. This underscores how solid and finished the release was this time. Every other version of every other Linux installation I've ever dealt with has always been succeeded by boatloads of updates after the initial installation. But not this time.

Everything is working properly on my notebook. All's right with the world.