10.4 and the 2-day compile

I’ve written before about how much of a freaking dork I am about email. Late last week, I finally decided to migrate to OS X 10.4. Now, I should say up-front that I had some expectation that Fink wouldn’t have binary packages for the things I wanted/needed. I had a backup-plan though: all of the mail accounts I use on a daily basis are available via IMAP and while IMAP in general sucks (and wouldn’t give me my mail history), this seemed a workable solution should my upgrade go horribly, horribly wrong. Luckily for me, it didn’t go so much wrong as glacially.

The back story for people with lives: I use an email client which isn’t available for OS X natively. It comes from the Linux world, and with enough work, can be made to run on OS X. I’m terribly picky about my mail and use it for just about everything, so having my mail client of choice on my laptop is a requirement.

Ok, so I pop in the 10.4 disk, run the upgrade scripts (after backing up most of my data to a newly-built media server). The upgrade itself goes wonderfully, and in true Apple style, I’m up and running with new versions of the OS and developer tools just over an hour after I start. Here ends the good news.

Programs installed via Fink no longer work (expected) and the upgrade instructions boil down to “reinstall fink!”. Ugg. I knew it was coming, but it’s not any more fun because you know it’s going to hurt. Ok, grab the Fink bootstrap package, untar, build (get coffee), try “apt”.

Apt works, try “apt-get install kmail”. No love.

Check the Fink site, check for Kmail package information. It’s available, but in unstable and not as a binary package. Ok, change installation sources, run “fink selfupdate”, watch fink build itself all over again (get more caffeine). Now try “apt-get install kmail” once again. No love. Try “fink install kmail”…it claims it’ll do it! Now we’re getting somewhere. I now:

Answer 10-15 questions which the average user will be entirely incapable of answering with any specificity. Hit “go!” and leave for lunch….only to return to find that the download/install/build has crapped out. Start it back up, go do real work on another virtual desktop.

Flip back to the desktop that Fink is on some hours later only to find that it has, again, crapped out with some message about getting “confused” about building multiple packages at once. What kind of 2-bit software is this, anyway?

Fire the build process back up (answer some of the same questions over and over again!). Go meet Jennifer for dinner. Come back, laptop has suffered a kernel panic! Brilliant! (this is a really, really bad thing)

Shut down the laptop, flip it over, remove 3rd-party SODIMM chip (leaving only 512MB of system memory). There’s a known issue with a bus-slewing chip on the motherboard of the first-run 15″ aluminum powerbooks that makes most memory unstable under extremely high load, so this is a pretty surefire fix. Fire it back up, start up a terminal, restart build. Go to bed.

Come back next morning…I guess Fink gets tired too! Restart compile, suspend laptop, get on train to go to work. Allow build to proceed ALL DAY. Aside: why in the fuck do I need OpenMotif and TCL/TK for a KDE app anyway? Restart build process several more times as Fink decides that it wants readline…no! wati! readline5!….no! wait! readline!…etc. End of day, time to go meet DHTML geeks for drinks. Restart build upon getting home. Go to bed. Swear quietly, safe in the knowledge that it will surely have become “confused” by morning.

Wake up, check build….huzzah! It claims success. I discount the possibility of working software. I’m vindicated. It crashes. *sigh*

After a bit googling it turns out that all of the environment variables that were required to run KDE apps on previous versions of Fink should now NOT be provided, and in fact, I’m apparently doing something “dumb” by setting them. Right. Some .bashrc fiddling, X11 restarting, and various other config twiddling and things actually run! (albeit slowly, since apparently everything is built in debug mode).

It is now more than 48 hours since I originally started to install a new version of Fink. Perhaps less than 24 of that was spent actually compiling software, but it would be impossible to know. If there’s good news in all of this, it’s that KDE 3.4’s version of KMail is much nicer than the 3.1 version I had been stuck on for years. It seems the only thing slower than building KDE from source on OS X is convincing the Fink developers to put new versions of it into stable. Frankly, they must not actually use this stuff. That’s the only rational explanation I can come up with.

If they DID use it, there would be a system that allowed the first person to build something in unstable to be able to upload it to some kind of “build cache” that you could optionally use as an apt source. Binaries could be vetted through checksum acclimation (non-matching checksums would boot versions from the cache). The current situation is an unmitigated disaster. I’m using OS X precisely because I never want to see another “emerge” or “make world” on my desktop box. I’ve got better things to do with my life. Why don’t the Fink developers get that?

It seems so obvious.

3 Comments

  1. Posted July 21, 2005 at 6:38 am | Permalink

    Amen! As you, I have struggled many an hour with Fink and KDE applications. I gave up. I too have better things to do with my time.

    As far as Open Source applications on OSX goes, all I can say is “that dog won’t hunt”!

  2. Posted February 5, 2006 at 4:34 am | Permalink

    I’m trying to do the same thing.

    It is very stupid of the Fink guys to NOT release binaries for ‘unstable’ packages. Not everybody has some 1MilGHz Dual G5 or iMac Core Duo and should be expected to put up with this.

    rm -rf /sw

    I’ll be sure to invade their mailing list later on and ask for a sane explanation as to why they expect people to wait two days just to see if something works. Can’t someone at least release the binaries they compiled?

  3. Posted August 31, 2006 at 1:27 am | Permalink

    I too am picky about my mail client and KMail has been the only thing to satisfy me in the past. My 12″ iBook G4 is not very Linux friendly, trackpad doesn’t work properly and don’t get me started on the Wireless chip.

    I’m now waiting for fink to build now, I don’t think the tiny 1.333GHz chip is really happy with this but I hope the end result means I can use KMail.  Otherwise I will have to look into other ways.

One Trackback

  1. […] Problem is that I’m also an unrepentant Unix dork. This little Powerbook has so many configuration tweaks and external utilities installed that transferring to another system will probably take me the better part of a week. Last OS update, my mail client alone took two days to resurrect. All of this means I can’t really trust new hardware enough to take it to conferences yet, even if it does arrive before I leave. […]