天天看點

LFS make install error!~~

我是用LiveCD-6.2.5CD光牒啟動的

1、在X下,浏覽器經常莫名其妙的退出,比如輕按兩下一下裡面的文字,使用中文輸入法時也會使浏覽器退出

2、終端有時也莫名其妙的退出

3、我的環境變量什麼的沒問題,但在make install Binutils-2.16.1時出現錯誤,同上~說不能建目錄之類~~,然後我把tools修一下:drwxrwxrwt

lfs:/mnt/lfs/sources/gcc-build$ ls $LFS -l

total 24

drwx------ 2 root root 16384 Jun 22 11:48 lost+found

drwxrwxrwt 6 lfs root 4096 Jun 22 13:09 sources

drwxrwxrwt 2 lfs root 4096 Jun 22 11:59 tools

還是不行

exit到#,make install成功

再回到lfs下,繼續GCC,又是到make install時出問題:

lfs:/mnt/lfs/sources/gcc-build$ make install

/bin/sh ../gcc-4.0.3/mkinstalldirs /tools /tools

make[1]: Entering directory `/mnt/lfs/sources/gcc-build/fixincludes'

rm -rf /tools/libexec/gcc/i686-pc-linux-gnu/4.0.3/install-tools

/bin/sh ../../gcc-4.0.3/fixincludes/../mkinstalldirs /tools/libexec/gcc/i686-pc-linux-gnu/4.0.3/install-tools

mkdir -p -- /tools/libexec/gcc/i686-pc-linux-gnu/4.0.3/install-tools

mkdir: cannot create directory `/tools/libexec': Permission denied

make[1]: *** [install] Error 1

make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/fixincludes'

make: *** [install-fixincludes] Error 2

這是什麼回事呢?

再仔細研究了一下LFS說明檔和錯誤日志,

估計是我在建立工具鍊目錄時 “ln -sv $LFS/tools /”被我打成了

“ln -sv $LFS/tools/”

轉自:http://www.phpfans.net/ask/fansa1/7704899388.html

lfs