Some help for temporary system
Open this new thread to ask u help in "makin' temporary system" phase, chapter 5.
At the moment, I'm trying to compile glibc. Decompressed glibc and entered in its directory, i digited: Code:
if [ ! -r /usr/include/rpc/types.h ]; then Code:
checking for -z relro option... no |
Can you post the output of version-check
And when you ran the configure command you should of been in glibc-build |
version-check of.. what?
I am in glibc-build. And I see now, the warning message in config phase Code:
configure: WARNING: |
Did you read this page and make nessecary additions to host?
http://www.linuxfromscratch.org/lfs/.../hostreqs.html Half way down there is a script to run to make sure host is compliant. Run the script post output back here |
Code:
bash, version 4.2.24(1)-release |
Hi
Well there is the problem ypur host is not cmpiant That is why i said read the book. You must fix all the noncompilant Packages Bison . Gawk. Makeinfo. M4. Bin/sh should point to bash |
I thought ubuntu was enough recent to have all ok, and I didn't take care about it. Sorry.
Code:
bash, version 4.2.24(1)-release |
Quote:
This is mentioned in the book and mentioned by spiky0011. How hard can it be? |
How can I set the point to bash?
|
Quote:
Code:
rm /bin/sh |
Code:
bash, version 4.2.24(1)-release |
Quote:
https://www.linuxquestions.org/quest...1/#post4828210 https://www.linuxquestions.org/quest...1/#post4828232 https://www.linuxquestions.org/quest...1/#post4828238 |
Code:
root@giacomo-notebook:~# rm /bin/sh Code:
root@giacomo-notebook:~# bash version-check.sh |
All looks good now. I would start from the beginning
again and remove all old dir |
Thank you. Ok, it will be done
|
Quote:
On deleting binutils-build, I take: Code:
rm: remove write-protected regular file `binutils-build/bfd/po/SRC-POTFILES'? |
Yes that is correct
|
During creation of LFS system, can I reboot or shutdown pc?
The last time I did it, days ago, I lost all the content in /mnt/lfs directory... Therefore, for now, I'm constantly keeping the pc on. |
Quote:
A few pointers: - After you restart you need to re-mount your LFS related partitions again (2.4. Mounting the New Partition). - If you stop once you have started with chapter 6 you also need to mount dev and virtual file systems before you enter the chrooted environment (6.2. Preparing Virtual Kernel File Systems (steps 6.2.2 and 6.2.3) and the note at the bottom of 6.4. Entering the Chroot Environment). - I never stop in the middle of a chapter, finish the chapter you are working on before stopping. |
Thanks, usefull
|
In chapter 5.34:
Quote:
I tried to do: Quote:
Code:
mkdir: impossibile creare la directory "/dev": File già esistente Code:
mkdir: cannot create directory '/mnt/lfs/dev': Permission denied |
As mentioned in the note, The commands in the remainder of this book must be performed while logged in as user root.
It can't be clearer than that..... Chapter 4.4 up to and including 5.33 are done as user lfs, the rest of the book as root. |
OWhat is the output of echo $LFS as root
|
Well, but the fact remains:
Code:
mkdir: cannot create directory '/dev': file already exists (sorry, previous code was in italian) Seems that $LFS route (/mnt/lfs) is not known by root.. |
Quote:
|
Quote:
Code:
root@giacomo-notebook:~# echo $LFS |
Quote:
What does the note in chapter 5.34 say? Quote:
Code:
export LFS=/mnt/lfs |
I read it... I'm an ass... I know u hate me for this.
Which command to set $LFS in root's environment? |
Tips hat to druuna
|
As pointed out by druuna export LFS=/mnt/lfs
|
Thanks thanks thanks
|
Only Jeck
can we mark this as solved as we seem to be going through the whole book in 1 thread. |
All times are GMT -5. The time now is 01:06 PM. |