LinuxSir.cn,穿越时空的Linuxsir!

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

从debian 安装 gentoo , emerge ccache时出现错误

[复制链接]
发表于 2011-2-13 16:25:10 | 显示全部楼层 |阅读模式
localhost lib # emerge ccache

* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/ccache-2.4-r9
openpty failed: 'out of pty devices'
* ccache-2.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* CPV:  dev-util/ccache-2.4-r9
* REPO: gentoo
* USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking ccache-2.4.tar.gz to /var/tmp/portage/dev-util/ccache-2.4-r9/work
* Applying ccache-2.4-profile.patch ...                                                    [ ok ]
* Applying ccache-2.4-respectflags.patch ...                                               [ ok ]
* Applying ccache-2.4-utimes.patch ...                                                     [ ok ]
* Applying ccache-2.4-xrealloc.patch ...                                                   [ ok ]
* Running autoconf ...                                                                     [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/ccache-2.4-r9/work
>>> Compiling source in /var/tmp/portage/dev-util/ccache-2.4-r9/work/ccache-2.4 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
configure: Configuring ccache
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/dev-util/ccache-2.4-r9/work/ccache-2.4':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/ccache-2.4-r9/work/ccache-2.4/config.log
* ERROR: dev-util/ccache-2.4-r9 failed:
*   econf failed
*
* Call stack:
*     ebuild.sh, line   54:  Called src_compile
*   environment, line 2868:  Called _eapi0_src_compile
*     ebuild.sh, line  610:  Called econf
*     ebuild.sh, line  544:  Called die
* The specific snippet of code:
*                      die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-util/ccache-2.4-r9',
* the complete build log and the output of 'emerge -pqv =dev-util/ccache-2.4-r9'.
* The complete build log is located at '/var/tmp/portage/dev-util/ccache-2.4-r9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/ccache-2.4-r9/temp/environment'. * S: '/var/tmp/portage/dev-util/ccache-2.4-r9/work/ccache-2.4'

>>> Failed to emerge dev-util/ccache-2.4-r9, Log file:

>>>  '/var/tmp/portage/dev-util/ccache-2.4-r9/temp/build.log'

* Messages for package dev-util/ccache-2.4-r9:

* ERROR: dev-util/ccache-2.4-r9 failed:
*   econf failed
*
* Call stack:
*     ebuild.sh, line   54:  Called src_compile
*   environment, line 2868:  Called _eapi0_src_compile
*     ebuild.sh, line  610:  Called econf
*     ebuild.sh, line  544:  Called die
* The specific snippet of code:
*                      die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-util/ccache-2.4-r9',
* the complete build log and the output of 'emerge -pqv =dev-util/ccache-2.4-r9'.
* The complete build log is located at '/var/tmp/portage/dev-util/ccache-2.4-r9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/ccache-2.4-r9/temp/environment'.
* S: '/var/tmp/portage/dev-util/ccache-2.4-r9/work/ccache-2.4'

* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
 楼主| 发表于 2011-2-13 16:28:44 | 显示全部楼层
提示的4个更新:
localhost lib #  eselect news --list
News items:
  [1]   unread  2010-03-23  New desktop subprofiles for GNOME and KDE
  [2]   unread  2010-03-25  Python 3.1
  [3]   unread  2010-08-01  --as-needed enabled in default profiles
  [4]   unread  2010-10-22  Perl 5.12 upgrade procedure
回复 支持 反对

使用道具 举报

发表于 2011-2-13 20:21:38 | 显示全部楼层
checking whether the C compiler works... no


gcc-config设置好使用的gcc
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-2-14 12:36:42 | 显示全部楼层
哦,不会设,我重做了一次,没用emerge --sync 这次正常了
可能是同步后gcc版本变了
回复 支持 反对

使用道具 举报

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

本版积分规则

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