LinuxSir.cn,穿越时空的Linuxsir!

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

我的gentoo怎么了?

[复制链接]
发表于 2006-1-17 02:56:28 | 显示全部楼层 |阅读模式
由于考研的原因,把电脑封了两个多月.拿出来后,然后更新portage和升级系统,但没有完全更新完.然后,我重新安装一些软件,就会出现C/C++不存在的问题.真怪.
发表于 2006-1-17 03:13:48 | 显示全部楼层
Post by LittlesnowLinux
。。。但没有完全更新完.然后,我重新安装一些软件。。。

问题出在这儿,尤其是某些系统包升了级,如果相应的包没升,很容易出问题的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-17 22:26:36 | 显示全部楼层
错误信息如下:[PHP]./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --inf odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var /lib --without-afs --disable-profiling --without-gnu-malloc --without-installed- readline --with-ncurses --build=i386-pc-linux-gnu
checking build system type... i386-pc-linux-gnu
checking host system type... i386-pc-linux-gnu
checking for emacs... emacs
checking where .elc files should go... ${datadir}/emacs/site-lisp

Beginning configuration for bash-3.1-release for i386-pc-linux-gnu

checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled  programs.
If you meant to cross compile, use `--host'.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/bash-3.1_p5-r2/work/bash-3.1/config.log

!!! ERROR: app-shells/bash-3.1_p5-r2 failed.
!!! Function econf, Line 489, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

[/PHP]
不知怎样解决
回复 支持 反对

使用道具 举报

发表于 2006-1-18 06:01:10 | 显示全部楼层
gcc-config
或者
eselect compiler
回复 支持 反对

使用道具 举报

发表于 2006-1-18 06:37:19 | 显示全部楼层
Post by LittlesnowLinux
由于考研的原因,把电脑封了两个多月.拿出来后,然后更新portage和升级系统,但没有完全更新完.然后,我重新安装一些软件,就会出现C/C++不存在的问题.真怪.

恐怕最近把gcc也升级了,如果很长时间没有升级,升级的时候一定要小心。
回复 支持 反对

使用道具 举报

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

本版积分规则

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