Building LFS 6.5 on Ubuntu

Duncan Baynes duncan.baynes at
Wed Aug 19 19:53:55 PDT 2009

On Wed, 2009-08-19 at 21:43 -0500, Bruce Dubbs wrote:
> Just a note to document my experience with building LFS on Ubuntu.
> First I ran through the requirements for 'Host System Requirements' and 
> installed several packages and changed symlinks to conform to what we need.
> Then I tried to use jhalfs -- oops, no ncurses.  In addition, apt-get install 
> ncurses says it's not found...  So I tried to build it from source.  It failed. 
>   After looking around, I figured out that Ubuntu was missing g++ (it had gcc).
> I think it's pretty lame to include gcc without g++.
> In any case, I got ncurses built and jhalfs is now busily building LFS.
> It will be interesting to see the results.  This is a 32-bit version on the same 
> box I did a 64-bit version earlier.  I want to compare the results.  I'll report 
> back when I'm done.
> One thing I can report now is that 1 SBU is 94 seconds.  Compare to 91 seconds 
> for the 64-bit version.  I'm still not convinced that 64-bits is a significant 
> advantage unless you need address space greater than 4G.
>    -- Bruce

One of the first things I do on a fresh Ubuntu install is:

sudo apt-get install build-essential
sudo apt-get install libncurses5-dev texinfo gawk bison

That adds most of the dependancies.

More information about the lfs-dev mailing list