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?
cd buildstep and theconfigurestep? What if you docd .and then runconfigureagain?