LinuxSir.cn,穿越时空的Linuxsir!

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

LFS 6.1 安装编译tcl8.4.9 出错..麻烦哪位看看 GCC 找到的.

[复制链接]
发表于 2006-11-28 02:28:41 | 显示全部楼层 |阅读模式
lfs:/mnt/lfs/sources/tcl8.4.9/unix$./configure --prefix=/tools
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
lfs:/mnt/lfs/sources/tcl8.4.9/unix$make
make: *** No targets specified and no makefile found.  Stop.
lfs:/mnt/lfs/sources/tcl8.4.9/unix$
发表于 2006-11-28 08:19:46 | 显示全部楼层
工具链看起来有点问题,虽然可以找到gcc,但是gcc不能正常工作。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-28 17:06:48 | 显示全部楼层
谢谢各位.!!....
  可能是前面用lfs 用户安装gcc的时候把某个环节给忘记了..... 可能由于粗心吧...
   上面可以检测到gcc...但C编译器却无法工作.....
       有2个方法可以解决这个问题.
     第一个是重装..第二个是 su  root ..恢复 root 的工作环境.....使用宿主的gcc 去编译..
  这样就没问题了..安装顺利通过.. next  go
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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