LinuxSir.cn,穿越时空的Linuxsir!

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

安装emerge时出错,原因知道,但不知道如何搞,大家帮帮忙

[复制链接]
发表于 2011-11-21 17:38:06 | 显示全部楼层 |阅读模式
安装gnome时,要安下面这个软件,但出错了,提示如下:

 * Package:    dev-python/pyatspi-2.2.1
 * Repository: gentoo
 * Maintainer: gnome-accessibility@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking pyatspi-2.2.1.tar.xz to /var/tmp/portage/dev-python/pyatspi-2.2.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyatspi-2.2.1/work
>>> Preparing source in /var/tmp/portage/dev-python/pyatspi-2.2.1/work/pyatspi-2.2.1 ...
* Applying pyatspi-2.2.0-AM_CHECK_PYMOD-pygtk.patch ...
 [ ok ]
* Running eautoreconf in '/var/tmp/portage/dev-python/pyatspi-2.2.1/work/pyatspi-2.2.1' ...
* Running aclocal ...
 [ ok ]
* Running libtoolize --copy --force --install --automake ...
 [ ok ]
* Running aclocal ...
 [ ok ]
* Running autoconf ...
 [ ok ]
* Running autoheader ...
 [ ok ]
* Running automake --add-missing --copy --foreign ...
 [ ok ]
* Running elibtoolize in: pyatspi-2.2.1/config/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.2.6 patch ...
* Fixing OMF Makefiles ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pyatspi-2.2.1/work/pyatspi-2.2.1 ...
* Configuration of dev-python/pyatspi-2.2.1 with CPython 2.7...
* econf: updating pyatspi-2.2.1/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating pyatspi-2.2.1/config/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating pyatspi-2.2.1-2.7/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating pyatspi-2.2.1-2.7/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-tests

configure: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/pyatspi-2.2.1/work/pyatspi-2.2.1-2.7/config.log
* ERROR: dev-python/pyatspi-2.2.1 failed (configure phase):
*   econf failed
*
* Call stack:
*     ebuild.sh, line   56:  Called src_configure
*   environment, line 5974:  Called python_execute_function '-s' 'gnome2_src_configure'
*   environment, line 4246:  Called gnome2_src_configure
*   environment, line 3303:  Called econf '--disable-tests'
*     ebuild.sh, line  561:  Called die
* The specific snippet of code:
*                           die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-python/pyatspi-2.2.1',
* the complete build log and the output of 'emerge -pqv =dev-python/pyatspi-2.2.1'.
* The complete build log is located at '/var/tmp/portage/dev-python/pyatspi-2.2.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pyatspi-2.2.1/temp/environment'.
* S: '/var/tmp/portage/dev-python/pyatspi-2.2.1/work/pyatspi-2.2.1'


请大家帮忙看看,多谢了
发表于 2011-11-21 20:46:25 | 显示全部楼层
No package 'gtk+-2.0' found
回复 支持 反对

使用道具 举报

发表于 2011-11-21 21:59:05 | 显示全部楼层
emerge x11-libs/gtk+:2
回复 支持 反对

使用道具 举报

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

本版积分规则

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