DEV Community

pipishuo
pipishuo

Posted on

some problem about buildding LFS on Debian with WSL

I encountered some problems when I build LFS on Debian with WSL.
The official document is here

LFS chroot cannot find /usr/bin/env

run the command ln -sv usr/lib $LFS/lib in $LFS.
I crushed same problem when i am building Linux from Scratch. on the "4.2. Creating a Limited Directory Layout in the LFS Filesystem",I run the part of shell ln -sv usr/$i $LFS/$i go wrong ,so i not have the symbol link $LFS/lib->usr/liband the problem arose.

Analogically. I need to run ln -sv usr/bin $LFS/bin and ln -sv usr/sbin $LFS/sbin

Top comments (1)

Collapse
 
pipishuo profile image
pipishuo

In 8.13. M4-1.4.20,need to run commandmake distclean.otherwise make error