Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1722398
  • 博文数量: 234
  • 博客积分: 4966
  • 博客等级: 上校
  • 技术积分: 3322
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-13 01:03
文章分类

全部博文(234)

文章存档

2017年(2)

2016年(1)

2015年(8)

2014年(11)

2013年(44)

2012年(27)

2011年(22)

2010年(30)

2009年(37)

2008年(6)

2007年(45)

2006年(1)

分类: 系统运维

2013-03-12 20:45:50

版本:Gentoo Base System release 2.1
时间:2013-3-21
GCC : gcc version 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2)
在用install-x86-minimal-20121213安装完之后,将系统升级至最新后,再安装一些软件,会出现下面大概类似的错误

>>> Failed to emerge net-misc/curl-7.29.0-r1, Log file:

>>>  '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'

 * Messages for package net-misc/curl-7.29.0-r1:

 * ERROR: net-misc/curl-7.29.0-r1 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure

.......

*   phase-helpers.sh, line  518:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=net-misc/curl-7.29.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/curl-7.29.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0'
 * S: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0'


解决方法:
gentoo ~ # gcc-config -l
 * gcc-config: Active gcc profile is invalid!

 [1] i686-pc-linux-gnu-4.6.3
gentoo ~ # gcc-config -c
 * gcc-config: Active gcc profile is invalid!

 [1] i686-pc-linux-gnu-4.6.3
gentoo ~ # gcc-config i686-pc-linux-gnu-4.6.3
 * Switching native-compiler to i686-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                      [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   . /etc/profile

gentoo ~ # . /etc/profile



阅读(2460) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~