LinuxSir.cn,穿越时空的Linuxsir!

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

求救:第5章,安装patch-2.5.4出错

[复制链接]
发表于 2004-4-11 13:08:34 | 显示全部楼层 |阅读模式
[lfs@localhost patch-2.5.4]$ CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools
creating cache ./config.cache
checking host system type... configure: error: can not guess host type; you must specify one

出现了上面的错误,怎么回事?在线等待。。。
发表于 2004-4-11 13:35:11 | 显示全部楼层

  1. 7.2.1.4.        

  2. configure can't guess my host type.(configure脚本查不出我的主机类型)
  3.        

  4. 通常症状看上去是这样:

  5. sk ~/tmp-0.0 $ ./configure
  6. creating cache ./config.cache
  7. checking host system type... configure: error: can not guess host type; you must
  8. specify one
  9. sk ~/tmp-0.0 $

  10. 这个错误通常是因为脚本不能运行编译器。很可能只是缺少 /usr/bin/cc 符号链接。你可以用这个命令来修正:

  11. cd /usr/bin
  12. ln -s gcc cc

  13. 如果这样做没有效果,查看一下 configure 脚本创建的config.log 文件。Error 是在这里发生的,可能会指出问题所在。
复制代码


要习惯于去看FAQ:p :p :p
 楼主| 发表于 2004-4-11 13:46:59 | 显示全部楼层
已经做过了cc连接,config.log文件内容是:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:573: checking host system type
还是这个错误啊???
发表于 2004-4-11 14:03:09 | 显示全部楼层
这个我真的不太懂了,我用RH9,几乎没有出现过ERROR

不过估计是你的主系统的问题
 楼主| 发表于 2004-4-11 14:18:35 | 显示全部楼层
不会要重装系统吧,我已经装了2遍了,LFS也装了3遍了,还没成功
我用的是fedora啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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