|
|
1.我用新用户lfs登录了之后无法编译,说我有错:
-bash-2.05b$ cd /mnt/lfs/sources
-bash-2.05b$ cd binutils-build
-bash-2.05b$ cd binutils-2.14
-bash-2.05b$ ../binutils-2.14/configure \
> --prefix=/tools --disable-nls
../binutils-2.14/configure: line 422: ./config.log: Permission denied
-bash-2.05b$
大家看看这是怎么回事啊?
我的系统是红帽9,编译lfs5.0
当我用root登进取执行刚才的编译明令时:
[root@localhost binutils-build]# cd binutils-2.14
[root@localhost binutils-2.14]# ../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
../binutils-2.14/configure: line 2206: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
这种情况该怎么办啊.我是按步就班照着文档来的.
是不是我的系统内核太新了??
谢谢个位哥哥啊 |
|