LinuxSir.cn,穿越时空的Linuxsir!

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

安装 Binutils-2.14 - 第一遍时出现问题

[复制链接]
发表于 2004-1-18 23:46:58 | 显示全部楼层 |阅读模式
我安装 Binutils-2.14 - 第一遍 时告诉我
[root@xie binutils-build]# ../binutils-2.14/configure     --prefix=/tools --disable-nls
bash: ../binutils-2.14/configure: 没有那个文件或目录
 楼主| 发表于 2004-1-18 23:49:14 | 显示全部楼层

请诸位前辈多多指点

我安装 Binutils-2.14 - 第一遍 时告诉我
[root@xie binutils-build]# ../binutils-2.14/configure --prefix=/tools --disable-nls
bash: ../binutils-2.14/configure: 没有那个文件或目录

请诸位前辈多多指点
 楼主| 发表于 2004-1-19 00:32:50 | 显示全部楼层

上一个问题已经解决 请教这一个

-bash-2.05b$ ../binutils-2.14/configure \
>     --prefix=/tools --disable-nls
creating 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.
-bash-2.05b$
发表于 2004-1-19 00:36:41 | 显示全部楼层
binutils-2.14与binutils-build在同一级目录下。
 楼主| 发表于 2004-1-19 01:15:02 | 显示全部楼层

谢谢版主 又遇到新问题了

当执行:-bash-2.05b$ make configure-host 时 显示
make: *** No rule to make target `configure-host'.  Stop.
改成configure -host  或configure --host
还是不行,望指教.
发表于 2004-1-19 05:23:49 | 显示全部楼层
make: *** No rule to make target `configure-host'. Stop.
这说明./configure的时候出了错
 楼主| 发表于 2004-1-19 10:10:11 | 显示全部楼层

连接错误!!翻遍了好多书和文档,不能解决,望指教.

我mkdir $LFS/tools   然后
   cd $LFS
   link -s tools /
   cd /
[root@xie /]# ls
bin  boot  dev  etc  home  initrd  lib  lost+found  misc  mnt  opt  proc  public  root  sbin  tmp  tools  usr  var
[root@xie /]# cd tools
bash: cd: tools: 符号连接的层数过多
[root@xie /]# ls -l
总用量 200
drwxr-xr-x    2 root     root         4096  1月 19 02:46 bin
drwxr-xr-x    3 root     root         4096  1月 19 02:44 boot
drwxr-xr-x   20 root     root       118784  1月 19 09:28 dev
drwxr-xr-x   52 root     root         4096  1月 19 09:43 etc
drwxr-xr-x    4 root     root         4096  1月 18 23:02 home
drwxr-xr-x    2 root     root         4096 2003-01-25  initrd
drwxr-xr-x    9 root     root         4096  1月 19 02:51 lib
drwx------    2 root     root        16384  1月 19 02:38 lost+found
drwxr-xr-x    2 root     root         4096 2003-01-28  misc
drwxr-xr-x    5 root     root         4096  1月 18 22:32 mnt
drwxr-xr-x    2 root     root         4096 2003-01-25  opt
dr-xr-xr-x   76 root     root            0 2004-01-19  proc
drwxr-xr-x    2 root     root         4096  1月 18 21:31 public
drwxr-x---   13 root     root         4096  1月 19 09:29 root
drwxr-xr-x    2 root     root         8192  1月 19 02:47 sbin
drwxrwxrwt    9 root     root         4096  1月 19 09:29 tmp
lrwxrwxrwx    1 root     root            5  1月 19 09:58 tools -> tools
drwxr-xr-x   15 root     root         4096  1月 19 02:43 usr
drwxr-xr-x   17 root     root         4096  1月 19 04:45 var

  [root@xie /]# ls -i tools /mnt/lfs/
ls: tools: 符号连接的层数过多
/mnt/lfs/:
   2049 sources   503888 tools

翻遍了好多书和文档,不能解决,望指教.
发表于 2004-1-19 10:17:42 | 显示全部楼层
lrwxrwxrwx 1 root root 5 1月 19 09:58 tools -> tools
这个链接不对吧?应该是指向/mnt/lfs/tools的
 楼主| 发表于 2004-1-19 18:55:26 | 显示全部楼层

谢谢版主

问题已解决,十分感谢.
 楼主| 发表于 2004-1-21 15:28:18 | 显示全部楼层

又遇难题

当执行到
[lfs@xie binutils-build]$ ../binutils-2.14/configure \
>     --prefix=/tools --disable-nls
../binutils-2.14/configure: line 422: ./config.log: 没有那个文件或目录
[lfs@xie binutils-build]$ make configure-host
make: *** No rule to make target `configure-host'.  Stop.
又试
[lfs@xie binutils-2.14]$ ./configure
./configure: line 422: ./config.log: 没有那个文件或目录
这是怎么回事呀??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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