LFS make install error!~~

我是用LiveCD-6.2.5光盘启动的
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 make install error!~~)