LinuxSir.cn,穿越时空的Linuxsir!

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

大家帮我看看!

[复制链接]
发表于 2009-7-10 10:17:30 | 显示全部楼层 |阅读模式
gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
make[4]: *** [gconvert.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4'
make: *** [all] Error 2
*
* ERROR: dev-libs/glib-2.18.4-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2772:  Called die
* The specific snippet of code:
*       emake || die "make failed"
*  The die message:
*   make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/environment'.
更新系统遇到这个问题,该怎么解决呢?
 楼主| 发表于 2009-7-10 11:01:08 | 显示全部楼层
自己顶下!大家看看.
回复 支持 反对

使用道具 举报

发表于 2009-7-10 11:44:47 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2009-7-10 11:47:35 | 显示全部楼层
你的USE中没有iconv?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-10 12:08:30 | 显示全部楼层
Post by 亞利艾爾;2005009
你的USE中没有iconv?


你的意思是需要加上这个use标记吗?我执行更新系统命令的时候看到有安装libiconv的包啊.
回复 支持 反对

使用道具 举报

发表于 2009-7-10 12:43:11 | 显示全部楼层
我的错,这个包没有iconv的USE。

帖子最后写了:
After much huffing & puffing I finally managed to install Glib on vector. The trick is to uninstall Glib first. Then configure glib with the "--with -libiconv" option. Remember after installing libiconv you need to install gettext and reinstall libiconv again. Read the libiconv site for more installation tips. Hope this helps. BTW I'm a newbie.

那么你试试:
emerge -C glib && emerge -1 gettext && emerge -1 libiconv && emerge -1 glib
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-10 12:49:02 | 显示全部楼层
Post by 亞利艾爾;2005027
我的错,这个包没有iconv的USE。

帖子最后写了:
After much huffing & puffing I finally managed to install Glib on vector. The trick is to uninstall Glib first. Then configure glib with the "--with -libiconv" option. Remember after installing libiconv you need to install gettext and reinstall libiconv again. Read the libiconv site for more installation tips. Hope this helps. BTW I'm a newbie.

那么你试试:
emerge -C glib && emerge -1 gettext && emerge -1 libiconv && emerge -1 glib


在尝试.但不理解这样做的用意?原因?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-10 13:39:25 | 显示全部楼层
Post by 亞利艾爾;2005027
我的错,这个包没有iconv的USE。

帖子最后写了:
After much huffing & puffing I finally managed to install Glib on vector. The trick is to uninstall Glib first. Then configure glib with the "--with -libiconv" option. Remember after installing libiconv you need to install gettext and reinstall libiconv again. Read the libiconv site for more installation tips. Hope this helps. BTW I'm a newbie.

那么你试试:
emerge -C glib && emerge -1 gettext && emerge -1 libiconv && emerge -1 glib


问题依然存在,还是同样的问题.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-13 09:46:22 | 显示全部楼层
斑竹在的话帮我看看问题怎么解决?新手啊!
回复 支持 反对

使用道具 举报

发表于 2009-7-13 10:15:34 | 显示全部楼层
下次请在Google搜索Gentoo Bug + 典型错误信息,会得到一些不错的内容的。

http://bugs.gentoo.org/93013
http://bugs.gentoo.org/256990

从内容来看,官方的意思应该是先卸载了libiconv再安装glib。因为glibc已经提供了libiconv的内容,再安装它是不合理的。

http://bugs.gentoo.org/173324

也可能会有用。
回复 支持 反对

使用道具 举报

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

本版积分规则

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