Linux From Scratch: binutils 2.32 コンパイルエラー

Linux From Scratch: binutils 2.32 コンパイルエラー

研究中です。最初からLinux現在私このページ。コンパイル時間binutils-2.32、次のエラーが発生します。

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$

プロンプトが示すように、buildディレクトリです。それでもディレクトリではないというエラーが表示されます。構成ファイルの1345行目のコードを理解しようとしていますが、理解できません。その過程で、私はどんな間違いを犯しましたか?

ベストアンサー1

権限の問題があるようです。おそらく、パスのどこかに使用しているユーザーの権限がない/mnt/lfs/sources/binutils-2.32/buildディレクトリがあります。x(権限が不足している可能性がありますr。両方が必要です。)これは通常ディレクトリをroot

おすすめ記事