LinuxSir.cn,穿越时空的Linuxsir!

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

emerge -uDN world时wxGTK2.6.3出错

[复制链接]
发表于 2006-10-15 14:12:02 | 显示全部楼层 |阅读模式
以下是出错信息:
[PHP]
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK+ or finding the wrong
*** version of GTK+. If it is not finding GTK+, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /home/gentoo_related/tmp/portage/x11-libs/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/gtk2_build/config.log

!!! ERROR: x11-libs/wxGTK-2.6.3.3 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  wxGTK-2.6.3.3.ebuild, line 146:   Called configure_build 'gtk2' 'unicode' '
                --with-sdl
                --disable-joystick
                        --enable-opengl
                        --with-opengl
                        --with-gnomeprint --with-gtk=2'
  wxGTK-2.6.3.3.ebuild, line 61:   Called subconfigure '--with-sdl' '--disable-joystick' '--enable-opengl' '--with-opengl' '--with-gnomeprint' '--with-gtk=2' '--without-odbc'
  wxGTK-2.6.3.3.ebuild, line 86:   Called econf '--with-zlib' '--disable-debug' '--disable-debug_gdb' '--with-sdl' '--disable-joystick' '--enable-opengl' '--with-opengl' '--with-gnomeprint' '--with-gtk=2' '--without-odbc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
[/PHP]

看了半天不大明白到底是怎么回事,大家给看一下吧。
我的emerge --info
[PHP]
devr ~ # emerge --info
Portage 2.1.2_pre3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.15-26-386 i686)
=================================================================
System uname: 2.6.15-26-386 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 14 Oct 2006 09:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/wget"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/home/gentoo_related/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://61.135.158.199"
LANG="en_US.utf8"
LINGUAS="en zh_CN"
MAKEOPTS="-j3"
PKGDIR="/home/gentoo_related/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/gentoo_related/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/gentoo_related/overlay /home/gentoo_related/layman/gentoo-china"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="x86 X aac alsa bash-completion berkdb bitmap-fonts cairo cdr cjk cli crypt dbus directfb dlloader doc dri dvd dvdr elibc_glibc emboss encode esd fam fbcon firefox flash gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kernel_linux ldap libg++ linguas_en linguas_zh_CN mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
[/PHP]

我现在安装的gtk+,看到没有gtk+-2.10
[PHP]
devr ~ # epm -q gtk+
gtk+-2.8.19
gtk+-1.2.10-r12
[/PHP]

但是很奇怪,emerge -pv gtk+的输出是这样的(列出的只有gtk+2.10):
[PHP]
devr ~ # emerge -pv gtk+

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-libs/gtk+-2.10.6 [2.8.19] USE="X doc jpeg tiff -debug -xinerama" 0 kB
[/PHP]
希望大家指点下迷津。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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