X-CD-Roast is Roasting
Jan. 25th, 2007 03:13 amIt took something like four hours of work, but I've finally gotten XCDRoast working on Webigail again. So now I can once more make backup DVDs.
XCDRoast, it turns out, relies on a command line program called cdrecord, maintained by someone else. It used to have a variant called cdrecord-ProDVD that could record DVDs. In order to use the free version, you needed to register for a free time-limited DVD key, which I did.
Eventually, of course, it ran out. Only, you can't get the keys any more, because the DVD writing feature is now just part of the newest version of cdrecord, now called cdrtools.
Fine, I would install the latest version, but currently RPM is broken on Webigail (something else I will need to spend many (more) hours fixing sometime). So, I had to download the source and compile it.
It needed a version of gdk-pixbuf installed. Now, I had that package installed, but it didn't have some of the required files for the compilation, so I downloaded its source, and compiled and installed it. That, at least, went off without a hitch. (although with RPM broken, I can't record the fact I've overwritten an installed RPM...)
Then I compiled the cdrtools, and installed them, only to discover they installed to /opt/schily/bin, not /usr/bin where the current versions are. (Of course, I ended up having to scan the whole file system to figure out where the damn files were installed to.) If there were any way to tell it to install elsewhere, it wasn't in the docs, and cdrtools doesn't use configure for its configurations either. Then again, the docs haven't really been updated since 2004. There have been many revisions of the code since then, but version numbers have only incremented from 2.01.01alpha1 to 2.01.01alpha23. Am I the only one who thinks that's insane?
Okay, so I write a script to find all files in /usr/bin that have counterparts in /opt/schily/bin, back them up, and create soft-links to the new versions. This, I imagine, is minimally disruptive.
Then I try to run xcdroast, and discover that this version isn't compatible with the latest cdrecord. I have to download the source for that too, and then patch it to deal with the latest latest updates that broke compatibility.
Even then, xcdroast would only run if I invoked it as root (because it seems kernel 2.6 broke user space writing of DVDs) and added a '-n' parameter to tell it not to check the version number of cdrecord because it can't parse version numbers like 2.01.01alpha23. (apparently the previous version had been patched to produce a different format of version number...)
And so, after all that, I managed to burn a DVD, although I did have to grovel around in /dev to find out what device name to use.
Is it any wonder that I keep saying Linux isn't ready for prime time yet?
XCDRoast, it turns out, relies on a command line program called cdrecord, maintained by someone else. It used to have a variant called cdrecord-ProDVD that could record DVDs. In order to use the free version, you needed to register for a free time-limited DVD key, which I did.
Eventually, of course, it ran out. Only, you can't get the keys any more, because the DVD writing feature is now just part of the newest version of cdrecord, now called cdrtools.
Fine, I would install the latest version, but currently RPM is broken on Webigail (something else I will need to spend many (more) hours fixing sometime). So, I had to download the source and compile it.
It needed a version of gdk-pixbuf installed. Now, I had that package installed, but it didn't have some of the required files for the compilation, so I downloaded its source, and compiled and installed it. That, at least, went off without a hitch. (although with RPM broken, I can't record the fact I've overwritten an installed RPM...)
Then I compiled the cdrtools, and installed them, only to discover they installed to /opt/schily/bin, not /usr/bin where the current versions are. (Of course, I ended up having to scan the whole file system to figure out where the damn files were installed to.) If there were any way to tell it to install elsewhere, it wasn't in the docs, and cdrtools doesn't use configure for its configurations either. Then again, the docs haven't really been updated since 2004. There have been many revisions of the code since then, but version numbers have only incremented from 2.01.01alpha1 to 2.01.01alpha23. Am I the only one who thinks that's insane?
Okay, so I write a script to find all files in /usr/bin that have counterparts in /opt/schily/bin, back them up, and create soft-links to the new versions. This, I imagine, is minimally disruptive.
Then I try to run xcdroast, and discover that this version isn't compatible with the latest cdrecord. I have to download the source for that too, and then patch it to deal with the latest latest updates that broke compatibility.
Even then, xcdroast would only run if I invoked it as root (because it seems kernel 2.6 broke user space writing of DVDs) and added a '-n' parameter to tell it not to check the version number of cdrecord because it can't parse version numbers like 2.01.01alpha23. (apparently the previous version had been patched to produce a different format of version number...)
And so, after all that, I managed to burn a DVD, although I did have to grovel around in /dev to find out what device name to use.
Is it any wonder that I keep saying Linux isn't ready for prime time yet?
no subject
Date: 2007-01-25 02:32 pm (UTC)Combined with your mention of groveling in /dev, I'd claim plain old insufficient permissions on the said device.
Or your previous cdrecord's packager was nuts and installed it SUID.
That said, I know there's hope for Unix in general: on my XNU system, I can burn an ISO image with a simple drag-and-drop, while
no subject
Date: 2007-01-25 03:18 pm (UTC)no subject
Date: 2007-01-25 03:44 pm (UTC)See, they could have their program glance at /proc/ide/*/*/media, pick out the "cdrom" ones, and then give them a choice between those, probably also showing the content of /proc/ide/*/*/model as part of the description, to help the user pick. I mean, really. There are some SCSI versions of those, of course, but they're writing a GUI program to make this easy, sorry, but there is some work involved, of course.
But they'll say "no, that's not portable, we can't do that!". Never mind that most of the underlying programs are already extremely sensitive to platform differences, they could also enable those "easy features" only on supporting platforms. Say, having a function to generate the list of devices, pick one at compile time, fill a combo box with it, and let users of unsupported platforms just not have available choices, forcing them to use the text field (which would be handy on supported platforms too, for those cases where there's something weird).
For goodness sake's, bloody Ethereal is more user-friendly, and it's a freakin' protocol analyzer!
no subject
Date: 2007-01-25 02:57 pm (UTC)Seriously, though
Date: 2007-01-25 03:06 pm (UTC)So the ‘ready for prime time’ question actually reduces to whether the system adequately prevents you from getting a root shell, and if so, whether it can run for the lifetime of the hardware without the graphic install tool breaking.
So I guess I'm arguing it's a race between YaST2 (let's say) and Google Updater (the closest thing I've yet seen to a Windows install tool). And Lord they both suck.
Summary: Linux installers give way too much of the wrong information; Windows installers, for practical purposes, do not exist.
Re: Seriously, though
Date: 2007-01-25 03:21 pm (UTC)What would have made life MUCH easier would have been an introspection tool that would tell me what the placement philosophy of my particular distribution was, and some easy way to know what parameters had been used to generate the versions that were currently installed.
Re: Seriously, though
Date: 2007-01-25 03:50 pm (UTC)But on the other hand, the Ubuntu people seems to be doing good work at making APT easier to use. If I'd have to run a box for a very long time, Debian or Ubuntu would be my choice, because of APT, I'd say.
Re: Seriously, though
Date: 2007-01-25 04:45 pm (UTC)Re: Seriously, though
Date: 2007-01-25 05:02 pm (UTC)Re: Seriously, though
Date: 2007-01-25 04:29 pm (UTC)And it pulls this off without preventing you from having a root shell (well, okay, they require the use of "sudo", but still).
no subject
Date: 2007-01-25 03:13 pm (UTC)Re: Seriously, though
Date: 2007-01-25 03:21 pm (UTC)Re: Seriously, though
Date: 2007-01-25 04:26 pm (UTC)A few of my co-workers are ex-Mandriva, and, uh, I'd steer clear. ;-)
Re: Seriously, though
Date: 2007-01-25 04:32 pm (UTC)Re: Seriously, though
Date: 2007-01-25 04:35 pm (UTC)no subject
Date: 2007-01-25 04:12 pm (UTC)no subject
Date: 2007-01-26 12:56 am (UTC)