Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
When I type this in (well, copy-and-paste) to the terminal it gives me a couple of things:
configure: WARNING: using cross tools not prefixed with host triplet
some ways down:
checking for as... as
checking version of as... 2.20, bad
checking for ld... ld
checking version of ld... 2.20, bad
and at the end:
*** These critical programs are missing or too old: as ld
I have, so far, used the exact versions of each package specified in the book. The binutils version I downloaded for LFS was 2.19.1. As you can see, it's trying to use my host assembler and linker even though the second line in configure tells it to use the ones in $LFS/tools directory:
Do a echo $PATH and make sure that /tools/bin is before anything else. Looks like its trying to use something from the hosts binutils instead of the one you should have just compiled. Also make sure when installing binutils that you do not do the instructions for x86_64 if your not building for that platform shown below.
case $(uname -m) in
x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;;
Thanks for the quick reply exvor, I finally figured it out.
I ran the 'echo $PATH' command and everything was okay, then I noticed the owner of the config.log file was root instead of lfs for some reason (when I ran configure before, it said 'permission denied', so I was running it as sudo). After changing the owner back to lfs and running configure without 'sudo' it finally configured correctly.
The permissions in Ubuntu are wierd. Maybe I should try to build this in a different distro...