On a personal level, in any case, was achieved this evening.
I have spent the last few days trying to get Root (a histogramming software package used for High Energy Physics) to bend to my will and work properly, with little success, which has been extremely frustrating. However, in all my various lookings into of things, I did determine that the version I was using was not the most recent version and that there have been some updates made which might help solve some of the problems I have been having (like frequent random segmentation faults). So, I thought, I’ll just update to the most recent version of Root.
Alas, no. Because for some reason the most recent version was not available in binary form for OSX for the powerpc (meaning my computer architecture). They have it for every other type of OS and architecture, but not mine. For mine the link goes back to the older version. But you can just download the source code and compile it yourself.
I should mention that there is in general a caveat about running the most recent version of this software, which is that it is a ‘development’ version, meaning it probably still has quite a few bugs in it. The older version is more stable, but it has some known bugs in it which were causing me serious headaches, so I thought I’d put up with some instability over that.
But downloading the source and compiling it wasn’t working. For some reason it kept failing. I tried it time and again and it just kept failing, inexplicably. I sent an email to the software support people here at the lab, and did not receive any kind of response. Today someone recommended that I send an email to the developers of Root, to ask them about it. Which I did. They had no helpful advice.
Finally this evening I managed to figure it out. The problem was that when you download the source, it comes as a gzipped tar-ball. You then extract this tar-ball, but how you extract it is important. If you extract it on the command line by first doing gunzip, then tar -xf, it will extract only the top level. This is a pretty crude way of extracting things, granted, and most people nowadays will tend to have a program like StuffIt, or something like that that runs so that when you double-click on the icon, it extracts the tar-ball and unzips the file. But these programs are smart. And they extract everything in the file, all the way down. And it turns out that Root, for compiling, relied on the fact that certain files remained as .tar files further down in the directory structure.
First of all, that’s pretty damned stupid to have your build system depend on that. And second of all, that’s really stupid to have your build system be so fragile that it breaks if you extract the source code in a different way than from a command prompt.
Anyway, right now I’m torn between being incredibly happy that I managed to triumph over this stupid stupid problem, and still being really annoyed that it was such an incredibly stupid problem. Although I think it’s mainly the former.
And for anyone who’s not a total geek and thus not interested in most of what this post was about, the point is that I should be able to start getting some work done again. So it’s good news