Hi again,
Each chapter assumes you unpacked the package and are standing in the newly created directory. As explained here: 5.3 - Last Important box. |
So, in chapter 5 it presumes you are in $LFS/mnt/lfs/sources?
If I understand you correctly. |
Hi,
No, you need to be in $LFS/sources (which expands to /mnt/lfs/sources) to unpack the appropriate package. |
Moved: This thread is more suitable in Linux From Scratch forum and has been moved accordingly to help your question get the exposure it deserves.
|
Alright, I'm in mnt/lfs/sources
but, when I use this code: ../binutils-2.22/configure \ --target=$LFS_TGT --prefix=/tools \ --disable-nls --disable-werror It says, there's no directory. and when I cd to ../binutils-2.22/configure it says the same. |
Ok, found an tutorial for tarballs, so i've used this code: tar -vfx binutils ....
but now in my sources folder are all the files of binutils, like 50 files. How can I undo/delete them all and what's the right way to do it. Is there someone who can give support via MSN or something? It would be very nice. |
Quote:
Quote:
|
Now I've started again. In chapter 5 where do I have to be? with LFS user there's permission denied, en which directory do I have to stand? $LFS/sources?
|
Hi
You should be in /mnt/lfs/sources Where you have the tarball then untar the tarball into sources dir then cd into the directory created from the untar. Which package are you on |
Hi,
Quote:
In general: Did you re-check all the commands? Especially those in 4.3, the chown commands for example. Are the packages in $LFS/sources (at least) readable for user lfs? About the directory you need to be standing in: Really? When you finished chapter 4 you are user lfs and standing in your home directory (/home/lfs). In chapter 5.3 this pops up: Quote:
In 5.4 you have to build Binutils. Untar, from where you are standing ($LFS/sources), the binutils package and cd into it (steps one and two from the For each package: part. Hope this helps. @spiky0011: That should be /mnt/lfs/sources! |
alright, 5.4 succeeded. Now I'm in chapter 5.5 but it says:
tar -jxf ../mpfr-3.1.0.tar.bz2 mv -v mpfr-3.1.0 mpfr tar -Jxf ../gmp-5.0.4.tar.xz mv -v gmp-5.0.4 gmp tar -zxf ../mpc-0.9.tar.gz mv -v mpc-0.9 mpc and: tar -jxf ../mpfr-3.1.0.tar.bz2 refers to one directory "up" but I'm in /sources and the file itself is in sources too. Do I have to just remove the ".." or do I have to be in an other directory? |
Hi,
I told you this three times already (Posts #16, #22 and #25). Again: Quote:
|
Started again, me getting better with linux, I'm now stuck at 5.7 for glibc compilation. I get the warning: warning you should not compile gnu libc without versioning
And underneath that error: You need a recent version of Binutils, 2.8 or higher, but for LFS we use 2.22. So how to solve this problem? Thanks again for helping, |
Hi
Can you post the error you are getting plz |
I've managed to continue, but now I don't know what to do. First off all from the beginning after install each pakage there are numerous errors, the whole time with [1] Error , that structure. I don't did anything with it and keep getting further, now a few pakages wont install, getting errors with config files etc.. What am I doing wrong? any ideas?
|
All times are GMT -5. The time now is 01:05 PM. |