Building LFS 6.5 on Ubuntu

Bruce Dubbs bruce.dubbs at gmail.com
Wed Aug 19 20:08:39 PDT 2009


Duncan Baynes wrote:
> 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.

Ahh.  OK.  Getting used to what a distro calls each package is a learning 
experience.  I was looking for a package ncurses, not libncurses5-dev and I 
didn't know about the build-essential package.

Thanks.

  -- Bruce




More information about the lfs-dev mailing list