Sample Header Ad - 728x90

Linux From Scratch: Error while compiling binutils 2.32

2 votes
1 answer
1085 views
I am working on Linux from Scratch and currently, I am on this page . While compiling binutils-2.32 , I am getting this error: lfs@pop-os:/mnt/lfs/sources/binutils-2.32/build$ ../configure --prefix=/tools \ > --with-sysroot=$LFS \ > --with-lib-path=/tools/lib \ > --target=$LFS_TGT \ > --disable-nls \ > --disable-werror ../configure: line 1345: cd: /mnt/lfs/sources/binutils-2.32/build: Not a directory configure: error: working directory cannot be determined lfs@pop-os:/mnt/lfs/sources/binutils-2.32/build$ As you can see from the prompt, build is a directory. Still, it shows the error that it is not a directory. I tried to understand the code at line 1345 of configure file but unable to understand. What mistake I did in this process?
Asked by narayanpatra (123 rep)
Jun 12, 2019, 05:58 PM
Last activity: Jun 13, 2019, 08:09 PM