So, I’m up to chapter 5 of “Linux From Scratch”, which involves installing the toolchain. I’ve already learned quite a bit about many things, so even if I end up with a crappy LFS, it has been well worth the effort.
One of the things I’ve learned is that Ubuntu by default lacks a few things that are required. Oh, don’t get me wrong – that can be fixed. But its a little frustrating when you’re ready to go, fully intending to complete the toolchain in one sitting and then discover you’re missing critical packages required on the host system. Since I was trapped somewhere without a net connection for the duration, I was highly unamused with my completely unproductive LFS day.
Oh well, at least I had my knitting.
Another tip – just because it doesn’t error/warn when it discovers the host system doesn’t have a particular package during configuration, doesn’t mean it won’t stuff up when you make the damn thing. So, if you’re insane enough to do this – carefully check all configuration messages – particularly when installing glibc. If it says something like:
gawk….no
stop what you’re doing. Go get gawk (or whatever its shaking its head about) as soon as possible, if not sooner. You will find with Ubuntu 7.04 that you probably need to go get autoconf, bison, makeinfo and many, many more. So, check those config messages carefully.
Oh and as another tasty treat – Ubuntu just doesn’t do makeinfo. If you’re looking for it in Synaptics, you wont find it. Apt-get won’t help you either, obviously. What you’re looking for is texinfo, instead. That does the trick. Wish I’d known that half an hour ago…
The u, i, o, and p keys suddenly failing to function on the laptop I was using for this experiment really just topped off a perfect LFS day.
Yes, I know. Would I like some cheese to go with that?
Despite all of that I have, in fact, been having fun. I’m that kinda girl. I like learning new things. No matter how much frustration I have to go through to get that knowledge. The book is very thorough, but what I like best about it is that it explains why you have to do things, rather than taking the typical attitude of ‘because I said so’ that so many computer books possess.
Not a big fan of ‘because I said so’.
Unless I’m the one saying it, obviously. That’s entirely different.