(LFS) - Linux From Scratch is a Linux distribution that you build from source (scratch) piece by piece.

learn more… | top users | synonyms

0
votes
0answers
49 views

LFS error - Coreutils (step 6.29)

As succinctly as I can put, I've gotten all the way to 6.29 in the book (Coreutils) and I seem to be receiving the following error when running the "make" command. Full output is as follows: ...
1
vote
1answer
23 views

Building an LFS system using ELLCC

Firstly, this isn't my first attempt at building an LFS system - I've already successfully built LFS 7.8 and LFS 7.8-systemd. I would like to replace GCC+GlibC with ELLCC, which is Clang/LLVM+musl. ...
0
votes
0answers
6 views

LFS Building - coreutils test suite - 5.18

Was running this part of the coreutils page (section 5.18): make RUN_EXPENSIVE_TESTS=yes check In this process, one of the tests came back as failed. FAIL: tests/ls/stat-free-color In checking, ...
3
votes
3answers
4k views

Linux From Scratch: libgmp.la, libmpfr.la, and libmpc.la not found during version-check

I'm trying to build a Linux From Scratch system on my host Linux Mint machine. However, when I run the version-check.sh file, it returns that my system is missing libgmp.la, libmpfr.la, and libmpc.la, ...
2
votes
1answer
31 views

Why install gcc again in chapter 6 linux from scratch

I am trying to follow the LFS book, and couldn't get my mind around this question: we built the GCC compiler in chapter 5 in the target partition, why do we do that again after entering the chroot ...
0
votes
0answers
12 views

Gnome Terminal runs from xterm but not from the desktop

Okay...so I built GNOME on my system. It runs fine except for gnome-terminal. I can open other applications like gedit and file manager, but not gnome-terminal. When I click on it, the terminal stars ...
1
vote
2answers
26 views

LFS Troubles - Applying Patch in Section 5.7.1

0 down vote favorite Apologize in advance if this has been asked before, and if it is very obvious. I'm following the guide pretty literally at this point to get started. The page in question is ...
1
vote
1answer
619 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
3
votes
3answers
2k views

How can I create my own distro and include a custom kernel & packages? [closed]

I wanted to know how to add packages to the Linux kernel and then package it to a ISO or CD for friends. Thanks in advance and please don't point me to LFS - Linux From Scratch!
0
votes
1answer
41 views

Error while compiling “5.9. Binutils-2.25 - Pass 2 ”

When I try to build binutils, I get the following error make[1]: *** [configure-bfd] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/binutils-build' make: *** [all] Error 2 Here is the full ...
1
vote
0answers
49 views

E2fsprogs undefined reference to symbol - LFS

I'm building an LFS system, and I've gotten to this page, but when I run make it says: make[2]: Entering directory '/sources/e2fsprogs-1.42.13/build/e2fsck' LD e2fsck /usr/bin/ld: journal.o: ...
0
votes
1answer
33 views

How can I troubleshoot what is happening with the console mouse program gpm?

I am trying to get gpm working in a minimalist, built from scratch, linux environment. I have installed version 1.20.7 into an LFS (Linux from Scratch) 7.8 system that is running in a Virtualbox ...
3
votes
2answers
1k views

Linux from scratch's bash problem: $() syntax error

When I try to build the glibc following the Linux from scratch instruction Chapter 6.9. Glibc-2.14.1, I get a syntax error about $(command). The simplified problem is that I can type echo `ls` ...
0
votes
1answer
222 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
4
votes
1answer
206 views

Linux from Scratch to bootable disk image

I competed LFS 7.6. I want to know is it possible to make it into a bootable disk image that can boot in to different systems?
2
votes
1answer
50 views

Running make for LFS complains about [ and about missing gawk

I'm having a strange error when I'm trying to start the make process for LFS using the LiveCD SVN Trunk. When I go to run make it gives me; $ make /bin/sh: 1: [: -ne: unexpected operator -e Missing ...
0
votes
1answer
241 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
0
votes
0answers
63 views

Minimum required packages for a LFS/DIY-Linux system?

I am trying to make a super-minimal linux system, as a base for experimentation, and just for the experience. I have built DIY Linux (similar to Linux from Scratch) before, but I was wondering how ...
2
votes
1answer
556 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
1
vote
0answers
509 views

NVIDIA GLX is not working under a Optimus Laptop

First I would emphasize that I am using a Linux From Scratch 7.7 Systemd (Now running kernel 3.14.39) I built these two days, so I don't want to touch anything about glibc/gcc and there is no package ...
2
votes
1answer
152 views

Pacman(Arch linux) on LFS

Is it possible to have a package manager(in my case pacman) on LFS? Not just compiling it will it work?
2
votes
0answers
64 views

configure port for dhcp request in uboot

We are fetching ip using DHCP in u-boot. we need to send via same interface (eg eth1) every time. but DHCP request sent via any configured interface(eth1/eth2..). How can we configure u-boot to send ...
2
votes
3answers
2k views

LiveCD for LFS 7.0

Most of the live CD systems I have come across don't seem to have the LFS requirements pre-installed (i.e. everything on this list). Are there any live CD systems that come with the required software ...
1
vote
1answer
51 views

Realtek 8160 not detected on LFS

I completed LFS and it boots but I'm not able to get the networking to work. When I do a ifconfig it list the lo that is the loopback network but doesn't detect eth0 and also says doesn't exist. If i ...
0
votes
0answers
150 views

ip link set dev wlan0 up fails on LFS-7.6 linux 3.18.7

I set up Linux from Scratch 7.6 with the kernel 3.18.7 on a Lenovo Yoga13. However, udev does not load the rtl8723au driver needed to run its Wi-Fi card. I needed to compile the driver manually, and ...
0
votes
0answers
14 views

Should the patches for LFS be placed in sources folder?

While making an LFS system, a list of all packages need to be downloaded in the seperate folder named sources. Should the additional patches suggested, be also kept in the same folder i.e. sources?
1
vote
0answers
174 views

Pacman Package manager in LFS

I'm trying to install a Linux From Scratch system. I know LFS doesn't come with a package manager. I want to use pacman as my package manager. I googled bout it and found some links bt they are old, ...
2
votes
2answers
1k views

LFS 7.4 chapter 6.7: make: gcc: Command not found

I am (again) trying LFS. The version is 7.4 I am stuck at chapter 6.7, where I must run: make mrproper and I get this error: make: gcc: Command not found. But the gcc is there. I also cannot run ...
5
votes
1answer
135 views

What Did Users Do or Use Before the Make Command?

I use Gentoo as my primary home Desktop OS. I have since ~2004. I appreciate the emerge command for managing a source based OS as well as it does. Every now and then I check on other distributions, ...
0
votes
1answer
89 views

Can we separate commands in LFS?

I am trying to build a Linux by using Linux from scratch tutorial ,but i can't explain this,when i run multiple command as this step describe: CC=$LFS_TGT-gcc \ AR=$LFS_TGT-ar ...
2
votes
1answer
2k views

How to provide crt1.o and crti.o for LFS?

I have tried to create a Linux distribution with the Linux From Scratch (LFS) website. Everything went good until step 5.7. Glibc-2.19, but when I tried: $LFS_TGT-gcc dummy.c I get: ...
1
vote
1answer
242 views

How to configure Tcl on Linux From Scratch?

I got this error following LFS 6.8, chapter 5, Tcl-8.5.10 to install Tcl: lfs@sam:/mnt/lfs/sources/tcl8.5.9/tools$ ./configure --prefix=/tools ./configure: line 1208: cd: ../../tcl8.5/unix: No such ...
3
votes
1answer
53 views

Can we change packages in Linux from scratch?

I've tried to compile Linux through Linux from scratch Version 7.5 and I can't compile some packages because as I realize and googled them, they have some bugs, for example I couldn't compile gcc 4.8. ...
0
votes
1answer
413 views

Getting error during Installation of Cross Binutils in Linux From Scratch -7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit) While preparing Binutils for compilation(5.4.1): ../binutils-2.24/configure \ --prefix=/tools \ ...
0
votes
2answers
722 views

6.7 Linux headers `make mrproper` fails in lfs 7.5

I'm building lfs-7.5. When I run make mrproper in chapter 6.7, it says: make: gcc: command not found and on running bash /tools/bin/gcc, it says: bash: /tools/bin/gcc: no such file or ...
5
votes
1answer
626 views

How do I search for Linux distro build tools?

After having worked through Linux From Scratch, I get the eerie feeling that in practice, this is not how new distros are built. How do I search for tools that other distributions are built with? Is ...
2
votes
1answer
98 views

LFS-7.5 util-linux `make check` fails

When I run make check in util-linux, it fails saying: 3 tests of 127 FAILED According to LFS - 7.5 test logs found here, 2 tests fail and that is acceptable. But my cal command fails while ...
0
votes
1answer
1k views

LFS-7.5 chapter 6.9 `make check` fails

I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log: mv -f ...
0
votes
1answer
589 views

Building binutils - lfs - error while 'make'

I'm going to build my own Linux from scratch, but I've got an error while running 'make' for binutils in chapter 5 I get some errors. The output of 'make' is here: http://pastebin.com/8aVz6jfd There ...
1
vote
1answer
426 views

Linux Booting with USB File System [closed]

I'm trying to boot a Linux system stored in a USB drive that I got by following the Linux from Scratch manual. I finished all but the booting part, the problem is that when the kernel tries to to ...
7
votes
0answers
721 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
1
vote
3answers
1k views

LFS can't cd to lfs/source - permission denied

I'm trying to build a LFS using version 7.1. I've followed all of the steps up to 5.3 and now I'm stuck because I can't change to $LFS/sources - I get the message: bash: cd: /mnt/lfs/sources: ...
0
votes
2answers
560 views

Some errors when building Glibc LFS - are they harmless?

I've finished chapter 5. When I'm building glibc, I get some errors: root:/sources/glibc-build# grep Error glibc-check-log make[2]: *** [/sources/glibc-build/posix/tst-getaddrinfo4.out] Error 1 ...
0
votes
1answer
51 views

Purpose of HLFS

I recently found out about the LFS project and their sub-projects. Is the HLFS Project only for production-quality servers, routers, and firewalls or is it also recommended for securing your ...
2
votes
1answer
882 views

gcc make install error [closed]

I'm trying to compile gcc with make install to a drive wich is an linux from scrach bulid to a directory called tools and it gives me this: make[1]: Entering directory `/media/BOSS/sources/gcc-build' ...
0
votes
1answer
156 views

Building Linux from Scratch stuck, incompatible sed version? [duplicate]

I am trying to build Linux from Scratch per LFS website While I was able to install all the packages until 6.7.1 without any error, I am stuck at Installation of Linux API headers (This is after I ...
-1
votes
2answers
465 views

Can I name my own LFS distro?

The question is... about LFS (Linux From Scratch), if I would build a Linux system, with LFS, is it 100% mine? Could I say I made all this from scratch?
0
votes
1answer
57 views

Changing the defult directory structure

If I start a new distro (e.g. LFS): How can I change the directory structure? What should I expect after it's ready? (probably can't install most of the packages without modification, right? But, ...
1
vote
1answer
4k views

LFS System not booting or GRUB cannot access /bood/grub on boot

The closest question I could find is this one, however it is still quite a bit different from what I am needing: GRUB fails to install My specific setup and the steps I followed to produce this I am ...
2
votes
1answer
590 views

Why binutils and gcc need to install twice in LFS?

I followed LFS doc. I'm not quite understand why it needs 2 pass of compilation. My guess: We need target system's glibc, if we compile by host's gcc, it will not be able to separate with host ...