Questions tagged [lfs]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
482 views

Linux from Scratch 8.1. Issue related to Zlib 1.2.11

I am doing Linux from Scratch. I am currently at 6.11 section i.e zlib 1.2.11 in LFS 8.2 . I did the following as per the book: 1) Prepare Zlib for compilation: ./configure --prefix=/usr 2)Compile ...
0
votes
1answer
1k views

Linux Kernel: 'Cannot find map file'

I've been trying to get a Linux kernel to run that I've configured and compiled myself, but so far without success. The machine is an Apple Macbook (Intel Core 2 Duo, 64-bit) that has the free ...
4
votes
2answers
3k 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 ...
7
votes
1answer
899 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 ...
1
vote
0answers
215 views

why does exec env -i /bin/bash in .bash_profile go to background and exit when logging in via su - on arch?

I am following the LFS book and trying to get a clean shell using the following .bash_profile in arch (bash 5): exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash What this usually does is ...
2
votes
1answer
848 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 ...
9
votes
4answers
11k views

Split string using IFS

I have written a sample script to split the string but it is not working as expected #!/bin/bash IN="One-XX-X-17.0.0" IFS='-' read -r -a ADDR <<< "$IN" for i in "${ADDR[@]}"; do echo "...
4
votes
0answers
359 views

Why is there a '.d' in 'init.d'? [duplicate]

Possible Duplicate: What does the .d stand for in directory names? Consider that we have (on many sytems) init.d that contains executable scripts and symbolic links for run levels, sysctl.d that ...
1
vote
0answers
54 views

Display blacking out on boot (Macbook Linux)

(Please note that I am breaking this out as a separate question from this one I asked earlier: How exactly do the Linux display device files work?) I have a Linux From Scratch system that I've built (...
1
vote
2answers
205 views

DocBook DSSSL test failure

So I followed these (Linux From Scratch) instructions to test my build of DocBook DSSSL, and I get this: $ onsgmls -sv test.sgm onsgmls:I: "OpenSP" version "1.5.2" onsgmls:test.sgm:1:61:W: cannot ...
0
votes
1answer
228 views

Why does my System.map file not contain a 'Version_XXXXX' line?

In relation to this question that I asked previously: Linux Kernel: 'Cannot find map file' The System.map file that is being generated by my linux kernel build (4.12.7) does not contain a ...
0
votes
2answers
1k 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 make[...