Slashdot Mirror


Linux From Scratch 6.0 Released

Bubblehead writes "The Linux From Scratch community is pleased to announce the release of LFS 6.0. This major revision of the book includes a number of major package upgrades, including GCC 3.4.x, Linux kernel 2.6.8.1, and the Udev software package, allowing for dynamic creation of device nodes. The text has also been vastly re-written for improved readability."

60 comments

  1. Unless youre making a tight embedded system.... by Creepy+Crawler · · Score: 1

    Why use this? Isnt package management and things like Debian's Dpkg, rpm and stuff are for?

    That and I know nobody who uses this.

    --
    1. Re:Unless youre making a tight embedded system.... by A+beautiful+mind · · Score: 4, Informative

      I guess there could be multiple possible reasons. For example, it's good for learning (some parts) of how does your system work, or it could be good for "power users", or as you mentioned, for embedded systems or you could be a professional and just know how to design a good system. I'm sure there are much more reasons why someone would use systems like LFS.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    2. Re:Unless youre making a tight embedded system.... by Anonymous Coward · · Score: 0

      Well, you can always brag more about installing something *From* *Scratch* as opposed to just running "emerge sync" or "apt-get update ; apt-get upgrade". It usually impresses the ladies, or so I've been told.

    3. Re:Unless youre making a tight embedded system.... by Punboy · · Score: 1

      Packages tend to contain binaries with set dependencies and features. Doing this you can easily include specific features and disable certain features in software. Also, this allows you to run a far more optimized and specialized distro.

      --
      If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    4. Re:Unless youre making a tight embedded system.... by ThePeices · · Score: 5, Informative

      The reason for LFs's existance is for learning. People who are wanting to learn the internal workings of a linux system would be well served by this distro/book. Its an excellent way to see how every aspect of a linux system runs and is built. You build every stage of it, and its fun to boot.

    5. Re:Unless youre making a tight embedded system.... by bersl2 · · Score: 2, Funny

      Some want the advantage of completely bootstrapping without the wussiness of Gentoo ebuilds (just kidding).

    6. Re:Unless youre making a tight embedded system.... by Creepy+Crawler · · Score: 1

      Gentoo uses optimised source packages.

      You compile from source, and has great package management.

      Like I said, if youre not making an embedded system, why use it?

      --
    7. Re:Unless youre making a tight embedded system.... by M1FCJ · · Score: 2, Funny

      You don't need to joke. Gentoo is far too easy to build and run.

    8. Re:Unless youre making a tight embedded system.... by Punboy · · Score: 1

      LFS is very similar to gentoo. Dont you see that? :-p

      --
      If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    9. Re:Unless youre making a tight embedded system.... by X-wes · · Score: 2, Funny
      and it's fun to boot.

      Only if you configured GRUB correctly...

    10. Re:Unless youre making a tight embedded system.... by cibe · · Score: 1

      Using package managers inevitably leads to bloat, which is bad, which is why some of us use LFS (including me).

      The option to use compiler optimizations is also available to speed everything up as opposed to generic builds used in rpm's and deb's. You could always use Gentoo though, if you're lazy.

    11. Re:Unless youre making a tight embedded system.... by BrokenHalo · · Score: 1
      I did notice your grinnie, but there are many who will fail to appreciate that there is a difference between following the recipe in Gentoo's handbook and building your own non- or anti-distro from scratch, regardless of the fact that compilation of packages happens in both cases.

      Note, I'm not saying there's anything wrong with Gentoo's approach, just that it has no more geek cachet than, say, Slackware or Debian.

    12. Re:Unless youre making a tight embedded system.... by Master+Bait · · Score: 2, Interesting

      Why use this? Isnt package management and things like Debian's Dpkg, rpm and stuff are for?

      I've used LFS and my package management system is /usr/local/src. I can see at a glance what I have installed -- and what version. I don't use modules in the kernel, and I don't have to fish around for split-up nonsense such as imagemagik, imagemagik-libs and imagemagik-dev. If I'm not sure whether or not to install something in /usr/bin or /usr/local/bin, I consult the LFS html'd book which also sits in /usr/local/src.

      Configuring my system is a snap, because all I do is edit the files in /etc, rather than learn to use a particular distro's 'conf' system -- and we all know all those 'conf' systems do is read and write to files in /etc!

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
    13. Re:Unless youre making a tight embedded system.... by jrhass · · Score: 1

      I don't use modules in the kernel

      Excuse my naivety, but this is because you compile the modules you would use into the kernel correct? Does LFS go over this? Any suggested readings on that topic? Thanks.

    14. Re:Unless youre making a tight embedded system.... by Master+Bait · · Score: 1

      LFS uses modules, I believe. When you 'make menuconfig' on your kernel source, you have a choice of either 'n', 'y'' or 'm' for each desired feature of driver. If you say 'y', the feature gets compiled into the kernel, 'm' means you want that feature to be a module.

      If all your features and drivers get configured with 'y', then you no longer need the mod utilities or a /etc/modules.conf (whatever it's called) and you don't need any aliases for those drivers and you don't need any directory deep down inside of /lib/modules to keep them.

      There used to be a Kernel Howto at Linux Documentation Project, but it is missing now for some sort of updating.
      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
  2. Hmmm by Punboy · · Score: 2, Funny

    I wanna read Linux from Sniff tho.

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
  3. Learning From Scratch by Xetrov · · Score: 4, Interesting

    As a distro, LFS probably isn't what most people want. If you want to compile from source, then gentoo is probably the way to go.

    On the other hand, I dont think there is a better way than LFS for learning Linux and what all the different packages are for. It is a good way for linux newbs (but probably not computer n00bs) to learn about their new OS. Once that's done, head over to an easier-to-maintain distro such as debian.

    1. Re:Learning From Scratch by Anonymous Coward · · Score: 1, Informative

      Thats exactly what I did. I started with mandrake, I hated it, went back to windows. Then in 2002, I decided to give redhat a try. Still hated it, but not as much. Slowly I realized it wasn't the OS I hated. It was the blindness I had. I was just doing what google told me to do, no clue why I needed all this crap installed by defualt by every major linux distro, or what half of it did. I would just google for what I wanted to do and type in blindly what google told me to do. Finally I found gentoo. This helped me understand the config files slightly better, but still I installed by blindly typing in the install document with no clue what half of it was doing. Then I found LFS. After a horrible time trying to follow instructions and get it working, I now think I know 500% more about linux then I did before starting. I can sit down in front of my system and know exactly how to do 99% of what I want to do, and why I need to do somethings instead of just saying, you have to type this to do that.

      I'd recomend any linux newbie do 2 things.

      1) Get a nice newbie distro with lots of hand holding so you can have a stable system
      2) On a spare box/partition work on LFS, this will improve your skills and help you learn why things work and how to do basic admin and configs.

      I dont use LFS as a full time OS, I just recently removed it from my test machine to work on some new things. I use ubuntu as my full time OS. I like the debian way, and ubuntu just seems a little cleaner after install and just more polished in general.

    2. Re:Learning From Scratch by BrokenHalo · · Score: 2, Informative
      As a distro, LFS probably isn't what most people want.

      Err, LFS is not a distro at all. In fact, it's almost exactly the opposite, but it's the first step in making your own distro.

  4. hooray by rubee · · Score: 1, Redundant

    just what we need, more linux distributions :-).

    1. Re:hooray by A+beautiful+mind · · Score: 2, Insightful

      I think this is the oldest, not the latest distribution...

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    2. Re:hooray by m50d · · Score: 1

      Well you're wrong. Slackware is the oldest maintained distribution, there's some debate over which of SLS and two others was actually first. LFS is actually quite recent, because it only became necessary after prepackaged distros were common - before that, everyone was using what was effectively linux from scratch.

      --
      I am trolling
    3. Re:hooray by A+beautiful+mind · · Score: 1

      Yeah, im aware of that, i was just trying to hint at the pre-distrib. era when Torvalds was hacking it together :)

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
  5. Source by Punboy · · Score: 3, Funny

    "The text has also been vastly re-written for improved readability"

    Now if only they'd do that to the kernel source...

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
  6. Huh? by PrivateDonut · · Score: 1

    If you build this distro yourself, how can it be updated?

    1. Re:Huh? by Anonymous Coward · · Score: 2, Funny

      by yourself? *sigh*

    2. Re:Huh? by Anonymous Coward · · Score: 0

      You build your own package managment system. Or compile rpm if you're lazy.

    3. Re:Huh? by Master+Bait · · Score: 3, Informative

      If you build this distro yourself, how can it be updated?

      I have an account at freshmeat.net, and when certain apps or libraries I selected come out with a new version, I automatically get an email.

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
  7. Hooray for books like this! by Meetch · · Score: 2, Interesting
    This looks like a great tool - even if you normally use a packaged distro, you can get your hands dirty and learn how it all hangs together! It's the sort of thing I'd highly recommend anyone doing if you have the time.

    I started with a Slackware distro using the 0.96 kernel, largely archived onto floppies and had to feel my way through making it boot, so I consider myself as having learnt not quite from scratch. But today's folks have it easy, thanks to people who already understand what's under the bonnet.

    I bet most people who LFS will gain a better appreciation for configure-and-compile-yourself. Three cheers!

  8. What's the advantage of a more difficult intall? by b00m3rang · · Score: 0

    Smaller user base? Less support? less market share? If you want linux for wusses, install Fedora, if you want to do it ALL from scratch, use this, and if you want something in between, gentoo works well.

    What's the problem?

    Linux sucks anyway. It's all about the BSDs.

    If there's a joke there, I missed it.

  9. Mandrake Base + LFS by megaversal · · Score: 1

    A long time ago, when I was more confused about Linux and kernels and other big words that involve penguins and popcorn, I set up a completely minimal Mandrake base system and then built everything else from the LFS instructions. I think that intermediate level gave me a better grasp of what I was doing.

    I don't know if I'd recommend everyone try it, but it sure was an experience I found valuable when later having to mess with even binary package-based distros like Debian.

    --
    Sig!
  10. Great Learning Tool by cliffiecee · · Score: 3, Interesting

    I'm on my second installation of LFS. It's not for those in a hurry, that's for sure- It takes me about a month to get a VERY basic system. (Think X and Firefox, and not much else!). I inevitably make some bone-headed mistake, and I don't back up while installing, so it's my fault.

    Also, building something like gnome from source really teaches you the meaning of 'dependency hell.' Seems like every single package requires exactly version "1.1211-1243pm" of every OTHER package, and even some obscure RedHat patches too, in some cases. *Shudder*gDesklets*Shudder*.

    However, I have a VERY good idea of what's on my system and what libraries are being used where. There's NO 'fat' or extra stuff that I didn't put there. I used to shy away from compiling from source- which makes sense on a package-based system. Now there's NO fear. There's even a few interesting package management schemes for compiling from source.

    Booting into my brand new, hand-built, bare-bones system- it's almost as good as if I'd written the software myself :) (And as close as I'll ever get)

    1. Re:Great Learning Tool by bersl2 · · Score: 1

      Also, building something like gnome from source really teaches you the meaning of 'dependency hell.'

      Amen.

      A modular approach is wonderful, but if there is no overarching system that knows how to tie them together, saying it's a PITA to build is an understatement. At least KDE has Konstruct...

    2. Re:Great Learning Tool by Scarblac · · Score: 1

      I thought LFS was great fun to do once, but if you think it's a dependency hell while installing, wait until you've been running it for a year or so and new program X insists on newer libraries. Keeping your installation up to date quickly becomes too complex.

      So, it was fun, but I'm very happy to have moved to Gentoo later on - I still see the compiler scrolling, but now it downloads stuff and keeps track of dependencies by itself :-)

      --
      I believe posters are recognized by their sig. So I made one.
    3. Re:Great Learning Tool by oneandoneis2 · · Score: 1
      Also, building something like gnome from source really teaches you the meaning of 'dependency hell.'

      Gnome? Hell, just trying to get Firefox installed nearly made me scream at the dependencies!

      Sadly, I have to confess I gave up in the end. I've gone over to Gentoo. It might not be so streamlined, but it's so nice to watch it work out the dependencies for me :o)

      It was well worth it tho, just for what you learn. I'll never be afraid of compiling from source again :o)

      --
      So.. it has come to this
    4. Re:Great Learning Tool by curious.corn · · Score: 1

      Well, libraries have version numbers and you can have as many as you wish on the same machine. It becomes problematic when incompatible API changes slip into a minor revision number or when there are many separate libraries offering closely related services. Some programs like, say mplayer depend on a myriad different libs, one for ogg, another for id tags, another for this codec family, yet another for this codec, and that other codec, etc... it quickly gets out of hand when you need to update or install aside the old not one but, say, 10 different libs. In these cases an effort should be done to build an umbrella framework that encompasses all these funcionalities, a la quicktime. It's like formatting a disk with 512b sectors; it saves space but beyond a certain limit it's cumbersome.

      --
      Mi domando chi à il mandante di tutte le cazzate che faccio - Altan
    5. Re:Great Learning Tool by 0racle · · Score: 1

      Personally I've found it extreemly simple. I just pay a little more attention to the versions of the big packages, like X, KDE, Samba and what not. KDE I scripted and it too downloads from CVS automagically, X I still do manually, but after the large packages are updated, thats most of your libraries right there. Its not too complex, it just requires a little bit of planning.

      --
      "I use a Mac because I'm just better than you are."
    6. Re:Great Learning Tool by ZonaldRumzfeld · · Score: 1

      What makes this any different from say... Using Slackware and then compiling KDE, Xorg, Gnome all from source?

    7. Re:Great Learning Tool by 0racle · · Score: 1

      What's the difference between Gentoo or compiling everything yourself on Slackware? Its exactly the same thing, the only difference is the amount of manual work. When I decided to do a LFS system, I started with a very basic Slackware installation, a kernel, libraries and GCC and went from there, eventually replacing everything.

      --
      "I use a Mac because I'm just better than you are."
  11. Why LFS is valuable by petrus4 · · Score: 3, Insightful

    It basically becomes your perogative as to what gets updated and when.

    If you're wondering what LFS's primary use is though...or what it seems to get used for a lot, is the creation of new distributions. People will build an LFS system, and from that you end up with Yoper or GoboLinux, to name but two.

    I know a lot of people seem to have difficulty understanding the value of new distributions, but there are many reasons why they are valuable. The first is that for people who are sufficiently technically inclined and proactive, if none of the existing distributions fits their needs for a given purpose, (and yes, it still can and does happen) LFS gives them the ability to put together something exactly the way they want it...with everything they do want, and nothing they don't.

    Another benefit of this system is that it encourages people to be self-sufficient, rather than relying on corporations to provide what they need...corporations who generally care far more about their own interests than those of the user anyway.

    Yet another plus is that it stimulates and encourages technological progress. I've covered this topic before, but anyone who has read Darwin will know that in order for anything to advance according to the evolutionary model, there needs to be a lot of different instances of a given thing...the process needs to experiment with a lot of different mutations before it is decided which mutations are permanently integrated into new generations of the organism. The more different distributions and forms of Linux exist, the more this process in encouraged.

    I think the reason why people dislike the idea of new distributions is because they look at things from a Microsoft-like perspective of usability, which unfortunately involves a couple of extremely negative assumptions.

    1) That the end user is a drooling imbecile, who needs to have things made easy to the point of them being rote. Intellectual participation in computer use is seen as more anathema than anything else.

    2) Because of the deep level of retardation that is assumed in the end user, it is therefore also assumed that the level of usability exists in inverse proportion to the level of diversity. That is, in order to keep things usable it is necessary to minimise the number of different possible solutions to a given problem, or software programs, as much as possible in order to avoid users becoming overwhelmed.

    The problem is that if these two points are adhered to and followed, a number of other very bad things happen. One is that technological advancement grinds to a screeching halt, as we have seen in the current state of Microsoft's software. Because innovation is very difficult when these two points are adhered to, we then get security problems of the kind that we have also seen.
    The other bad thing that this causes is that it promotes the idea that intellectual laziness is not only acceptable, but that it's actually a good thing...when the opposite is in fact true.

    People need to realise that having new distributions isn't going to by definition hurt anyone, and that it is actually very good for Linux as a whole. If you only want to use one distro yourself without deviation, that's fine. But IMHO it is wrong to try and impose your own desire for uniformity, lack of diversity, and stagnation on the rest of the world.

    1. Re:Why LFS is valuable by gmhowell · · Score: 1

      've covered this topic before, but anyone who has read Darwin will know that in order for anything to advance according to the evolutionary model, there needs to be a lot of different instances of a given thing...the process needs to experiment with a lot of different mutations before it is decided which mutations are permanently integrated into new generations of the organism. The more different distributions and forms of Linux exist, the more this process in encouraged.

      Screw you, you dirty hippie. I believe that the Lord Almighty created the heavens and Earth in six days. On the seventh day, he rested (and later, the Jews killed him/his son). My faith in intelligent design is as strong as my faith in the OS I currently use, Windows 2.0

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    2. Re:Why LFS is valuable by petrus4 · · Score: 1

      >My faith in intelligent design is as strong as
      >my faith in the OS I currently use, Windows 2.0

      I'm assuming this is a joke...?

  12. Same as building your own car by SmallFurryCreature · · Score: 4, Insightful
    Why bother? Why bother building your own house?

    Yet there is a group of people who do this.

    I knew one couple who had actually had their own house build according to their design but the husband who was my collegue couldn't understand why I didn't like the read made windows desktop.

    LFS is the most extreme way to get a linux system unless your firstname rhymes with a popular OS. What does it do? Well nothing except really show you what makes up a system. It won't teach you anything about programming but it will teach you a lot about just how complicated a modern computer system really is. The amount of code needed to create even the most basic system is insane. Start adding stuff like a grahpical desktop and you might start to have a better understanding of how all the software packages work together to make your desktop.

    It is like stripping a car engine. Doing it doesn't make you a better driver but it can be a rewarding learning experience nonetheless.

    Some of us are not satisfied to work with blackboxes. Just like those people who want THEIR house to be THEIR house LFS allows you total control over your system. Of course most users use a "regular" distro for their actual work but just maybe they have come to understand their systems a little better.

    But to answer your question directly. If you got to ask why then it is not meant for you. It is like asking why people climb mountaints. Because they are there.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:Same as building your own car by killmenow · · Score: 1
      ...unless your firstname rhymes with a popular OS.
      Daguar? Brendos? Finucks? Brunicks? ...Oh, wait, I know: Claris.
  13. Re:What's the advantage of a more difficult intall by M1FCJ · · Score: 1
    Quite a lot of people claim Gentoo is hard work. It isn't. As long as you follow the cookbook and type the commands in the right order, it is a breeze. The only thing that is taxing be patience. Your patience might run out while you are building everything from 'scratch'. On the other hand, with Gentoo all of the hard work is done by 'someone else', FreeBSD's portage is not much different compared to Gentoo, download ready-to-be-cooked package and there you go.

    The youngsters have it too easy. When Redhat hadn't invent rpm, you had to get the tarball or check the source out of the cvs and try to get it compile, for every sodding package. That's educational. Gentoo isn't. FreeBSD portage system isn't. They are convenient way of building from source but they are not that different than rpm-hell in many ways.

    To put it bluntly, when I was young, we had to walk 10 miles in snow everyday, both ways uphill. :)

  14. and for the impatient... by advocate_one · · Score: 3, Funny

    there's Gentoo!!!

    --
    Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    1. Re:and for the impatient... by Anonymous Coward · · Score: 0

      A post suggesting that Gentoo is for the impatient? Is today Backwards Day?

  15. LFS by GoksinAkdeniz · · Score: 1

    I do totally agree. LFS is for the ones who want to learn all about the system. Who wants to educate oneself about GNU/Linux, should read it.

  16. Learned Biggest Suprises about Linux by HighOrbit · · Score: 2, Insightful

    I built a LFS about 6 months ago from the 5.x series. It was a great learning experience even though most of the time, I was just following instructions. I immediately gained much more respect for the packaged Linux distributions, not because LFS was bad, but because of the detail and complexity involved in putting to gather a working system.

    My first suprise was the level of patching and configuration.I knew that some people described linux as a "hodgepodge" of different components and not a complete system. I always thought that was slightly trollish, but, in a way, I have came to appreciate what they mean. Most especially, I was suprised at how many of those components do not work togather unless they are patched or configured to force them to live togather. You can't just download the vanilla source of a package, compile it with defaults, and expect it to integrate into Linux. Lots of the packages had to be patched to make them work in Linux. Also, some of the packages have to have slightly esoteric configuration options set. If I hadn't been reading the instructions, I would have never known what patch to install or what configuration option to set. This gave me a lot of repect for the people who make distributions because they had to work that out for themselves and know all that stuff in detail.

    My second suprise (and consequent appreciation for package distributions) has to do with the kernel patching. I was using an old Athalon 750. With a vanilla 2.4 kernel, it throws strange "spurious" interrupts on IRQ 7. But a Redhat 2.4 kernel fixes it. That tells me that the Redhat people took some extra effort to fix those annoying issues.

    So in addition to being a great learning experience, LFS made me appreciate the effort that Redat, Debian, et. al. put into their work.

    1. Re:Learned Biggest Suprises about Linux by Lukey+Boy · · Score: 1

      AFAIK, the "spurious interrupt" messages are just a debugging statement that RedHat removed. Not really a fix, just turning down the verbosity a bit.

  17. Try using Epkg. by Glytch · · Score: 1

    Here.

    It's a simple idea, but works well. The FAQ there will explain it all.

  18. CONGRADULATIONS!!! by Anonymous Coward · · Score: 0

    You are the first zealot to speak up about your distro in a thread that has NOTHING TO DO WITH IT!!

    Huge surprise, it's Debian you mention.

  19. BLASPHEMER! by Sevn · · Score: 1

    FreeBSD's portage is not much different compared to Gentoo

    I shouldn't have to explain what is inherantly wrong with this statement.

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    1. Re:BLASPHEMER! by Anonymous Coward · · Score: 0

      "I shouldn't have to explain what is inherantly wrong with this statement."

      And, lo and behold, you didn't. So what was the point of your post?

    2. Re:BLASPHEMER! by Sevn · · Score: 1

      Well M1FCJ, (since it's obvious)

      I guess I do have to explain.

      Portage is a redo of FreeBSD ports. Not the other way around.

      Ports:
      cvs
      cvsup
      port-upgrade
      pkg_info
      pkg_ delete
      pkg_install
      make install clean, etc
      supfiles
      make.conf
      backported security fixes
      makefiles

      Portage:
      rsync
      emerge
      make.conf
      USE flags
      ebuilds
      qpkg

      Two distinctly different ways to approach a source compiled package management system. Of course, if you knew what you were talking about you'd know that already and I wouldn't have to explain. You really should give FreeBSD a try instead of playing expert.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    3. Re:BLASPHEMER! by M1FCJ · · Score: 1

      Sorry, there is nothing wrong here. I am comparing both vs building everything out of source, collected from the sources themselves, not someone else's workings. I am not discussing who came first or who imitated what. Functionally they do the same thing and that's what I was stressing.

  20. Beyond Linux from Scratch by srobert · · Score: 2, Interesting

    The followup book Beyond Linux from Scratch goes way beyond compiling a basic system. It has all the instructions and patches needed to get X11, KDE, Gnome, Office Suites, etc compiled from scratch. The 2 books have matching version numbers for compatibility.
    I've built a few of these. They work better than any other Linux system I've seen. Mostly, this is because by building them you learn how to fix something when it doesn't work.

  21. Re:What's the advantage of a more difficult intall by b00m3rang · · Score: 1

    There are times you want to patch, configure, and compile from source, and there are times when you just need a working system ASAP. That doesn't make either one wrong.

  22. Re:Why LFS is valuable OT CORRECTION by GreyWolf3000 · · Score: 1

    Yet another plus is that it stimulates and encourages technological progress. I've covered this topic before, but anyone who has read Darwin will know that in order for anything to advance according to the evolutionary model, there needs to be a lot of different instances of a given thing...the process needs to experiment with a lot of different mutations before it is decided which mutations are permanently integrated into new generations of the organism.

    The difference is that every change made to a distribution or piece of software is intended to better the software. With Darwinism, each change not only occurs very rarely, but you also need the change to happen in the right conditions (good competition) and the change actually has to help the situation significantly. And the change has to be significant that it doesn't get watered down in the gene pool of the rest of the group.

    Darwinism has been dumped by scientests in favor of punctuated equilibrium--which suggests (amongst other things) that mutation only drives change when random external events like meteors, sudden tribal encounters (in the case of homonids developing cereberal cortexes), etc. enter the picture.

    I don't know how a system that progresses itself by accident can be compared to a system that progresses by deliberation.

    The progress of distributions can be better compared to the advancement of humanity in societies.

    --
    Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
  23. A Nice Side Result of Doing the LFS Book by Anonymous Coward · · Score: 0

    A nice side effect of going through the LFS book is that you get to see just how poor the GNU autotools really are. Sure they're better than other schemes, but it takes damned little imagination to figure out how they could be better.

    The same goes for the FHS layout, and you'll realize this the first time you need to install a program that requires autoconf-2.54, but you installed 2.59. Different versions don't always play well together, and configure scripts can be dicks about what versions they'll allow. Mixing programs together into a blob in /usr/bin is retarded. DragonFlyBSD is doing something nice to solve this problem, and their solution will work even when these program designers get their shit together.

    Finally, the greatest side effect to going through LFS is that you get to see just how pathetic the documentation for some source code packages really is. You could not write the LFS book as a list of pointers to other peoples' documentation, because it doesn't exist (not that the LFS people would do this--more on that later). Some people will go through the trouble of creating an astounding, outstanding program that's destined for ubiquity, but they won't bother to include a list of dependencies. You don't find out you need X and Y until autoconf bitches about not finding them. Other people will provide decent documentation for running a program, but won't provide even passable installation instructions. Mozilla Firefox is a terrific example of this. There are dozens of options that go in a .mozconfig file, and it's possible to get a working Firefox with any number of a combination of options, but I doubt that a canonical list exists anywhere. How the fuck are people expected to text a program when they don't know what different possible combinations of a program exist? (For the record, I'm using Firefox-1.0 now, and have successfully built it from source, using a cobbled together .mozconfig file that gave terrific results. I'd hate to browse the Internet without it, but I also hate building it expressly because of a lack of detailed .mozconfig options).

    LFS is an astounding project, because it's the best documentation that exists for some of the software it includes. It's quite complete in listing what compilation options do, and what the ramifications of those options are. I used LFS-4.0, and would probably have stuck to LFS, except for my inexperience as a UNIX/Linux admin. I had holes in how I was supposed to manage parts of the LFS system I had, especially when it came to upgrading. I jumped to BSD, just in case anybody was wondering (which I doubt).

    Anyway, I applaud the LFS crew. There's no doubt that what they're doing truly amounts to an increase in understanding of Linux in the world.