LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 901|回复: 3

初来咋道,请多关照,问个问题.

[复制链接]
发表于 2004-12-30 12:31:11 | 显示全部楼层 |阅读模式
第一遍安装GCC时出现这样的问题

[lfs@localhost gcc-build]$ make install
/bin/sh /mnt/LFS/sources/gcc-3.3.1/mkinstalldirs /tools /tools
mkdir /tools
mkdir /tools
make: *** [installdirs] Error 1


这是什么错误?
大侠指点啊!!!~~~~
 楼主| 发表于 2004-12-30 14:13:18 | 显示全部楼层
[lfs@localhost binutils-build]$ $LFS/sources/binutils-2.14/configure --prefix=/tools --disable-nls
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
gcc: installation problem, cannot exec `as': Too many levels of symbolic links
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

这是什么问题啊?
发表于 2004-12-30 17:11:49 | 显示全部楼层
你没有按照手册上所说的做。
仔细看清手册,最好是按照手册的命令写法做。
发表于 2004-12-30 17:13:29 | 显示全部楼层
Post by 1073X
第一遍安装GCC时出现这样的问题

[lfs@localhost gcc-build]$ make install
/bin/sh /mnt/LFS/sources/gcc-3.3.1/mkinstalldirs /tools /tools
mkdir /tools
mkdir /tools
make: *** [installdirs] Error 1


这是什么错误?
大侠指点啊!!!~~~~


这个就是手册前面的部分没有去看,也没有去一步步的做。
也就是没有建立$LFS/tools
或者没有ln -sfn $LFS/tools /tools
或者是两个都没有做。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表