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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ive bin desperately trying to install clfs,,,pls help me with the errors,,,i dont have an internet conxn at home,,its 2km from home,,,,thats why this thread bears an urgent tag,,,,So pls help me with my errors
Thanks
OK, you installed gawk because you were trying to use mawk and it was failing. You DID read and verify the host system requirements didn't you? So that fixed your original problem and then you claim that you are getting a new error.
Quote:
Originally Posted by rushadrenaline
i installed gawk to bypass it ,,then again i got the folowing error ---
x86_64-unknown-linux-gnu-ranlib ./libgcov.a
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'
echo timestamp > stmp-multilib
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'
What error?
Also, what version of CLFS are you using? Are you trying to build a 32-bit, 64-bit, or multilib system? What step in the book are on? Glibc gets built several times.
I had the same problem using mawk. Then I changed the regular expression \/[^/]+$ to \/[^\/]+$ and everything built. My thinking is that the / inside the brackets needed to be escaped by \, otherwise it was interpreted by mawk as ending the regular expression.
I had the same problem using mawk. Then I changed the regular expression \/[^/]+$ to \/[^\/]+$ and everything built. My thinking is that the / inside the brackets needed to be escaped by \, otherwise it was interpreted by mawk as ending the regular expression.
I happened to encounter the same problem and this solution does work well. Thank you.
Found this thread via a Google search. Even though it's old, it's curious that the problem and work-around are still applicable.
I'm following LFS 6.5. Shouldn't the code in glibc-2.10.1/scripts/gen-sorted.awk be modified? Or is it that chapter 5.7.1 in the LFS 6.5 needs to be updated to accommodate this work-around? What role can i play to aid the community?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.