Installation of Binutils error
lfs:~$ mkdir -v ../binutils-build
mkdir: cannot create directory `../binutils-build': Permission denied I followed all the directions up to this point and had no problems. |
Hi,
I think that you missed the part where it says that the books assumes that you enter the source directory after decompress something, let me clarify that: Code:
# This is what the book hopes you do everytime Code:
/media/lfs/tools Code:
[root@localhost:/media/lfs/tools]: tar -xvf package-1.2.tar.gz So, this is what you have to do: Code:
[root@localhost:/media/lfs/tools]: tar -xvf binutils-version.tar.gz Regards |
Quote:
I used tar xzvf instead of -xvf since it was bz2 lfs:~$ tar xzvf binutils-2.17.tar.bz2 tar: binutils-2.17.tar.bz2: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors |
You're in the lfs directory (your prompt shows lfs as the current directory), instead of the tools directory. Can you try this:
Code:
cd tools Code:
cd binutils-2.17 |
Quote:
lfs:/mnt/lfs/binutils-build$ CC="gcc -B/usr/bin/" ../binutils-2.17/configure --prefix=/tools --disable-nls --disable-werror bash: ../binutils-2.17/configure: No such file or directory |
The two things are related. You have created /mnt/lfs/binutils-build instead of /mnt/lfs/tools/binutils-build so the command you're running can't find /mnt/lfs/tools/binutils-2.17. If you don't have a /mnt/lfs/tools/binutils-2.17 directory then something has gone wrong and you may have missed a step from the docs.
|
Use this:
Code:
CC="gcc -B/usr/bin/" ../tools/binutils-2.17/configure --prefix=/tools --disable-nls --disable-werror Regards |
All times are GMT -5. The time now is 06:01 AM. |