Linuxsir.org

                登录 注册 

 

返回列表
上一主题 下一主题

[请教]ibus突然不干活了

用户头衔:注册会员

状态:我不在线

楼主
发表于 2012-03-10 22:45:48 |只看该作者 |倒序浏览
我的X220还是在折腾中。突然发现ibus有点问题了。还请各位指点

当时手空,emerge -C ibus后,想切换到ibus的stable版。

emerge -av ibus,发现出问题:
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
In file included from /var/tmp/portage/app-i18n/ibus-1.4.1/work/ibus-1.4.1/src/ibus.h:28:0,
                 from <stdin>:4:
./ibusshare.h:39:18: fatal error: glib.h: No such file or directory
compilation terminated.
Error while processing the source.


调试信息:
# emerge --info =app-i18n/ibus-1.4.1
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.17-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.17-gentoo-r2-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 10 Mar 2012 07:30:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.aditsu.net/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5 -l5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran fuse gdbm gdu gif gpm gtk hdaps iconv ipv6 jpeg jpeg2k kde kipi lame laptop lcms ldap libnotify logrotate mad mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline sdl semantic-desktop session smp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype udev unicode usb vim vim-syntax vorbis wifi x264 xcb xcomposite xft xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

用户头衔:注册会员

状态:我不在线

沙发
发表于 2012-03-10 23:34:26 |只看该作者 |倒序浏览
我只知道我這開了 introspection 的 use 就會杯具…而今天貌似這玩意改為默認開啓了…

用户头衔:注册会员

状态:我不在线

板凳
发表于 2012-03-11 13:25:14 |只看该作者 |倒序浏览
嗯,看样子是ibus上游的bug。有两种workaround:

  • 像jtshs256说的那样,先关闭ibus的introspection USE flag。第一次编译成功后可以开启introspection重新编译。
  • 在emerge时加个environment variable:
    PKG_CONFIG_PATH='/var/tmp/portage/app-i18n/ibus-1.4.1/work/ibus-1.4.1' emerge -Ov ibus

    注意这里我假设您没有修改PORTAGE_TMPDIR的位置。

No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee. -- Devotions Upon Emergent Occasions (1624), John Donn

用户头衔:注册会员

状态:我不在线

4 楼
发表于 2012-03-11 21:33:12 |只看该作者 |倒序浏览
受教了,刚遇到同样问题,已解决。
PIII 1.13<br /> 256M share Ram(8M for VGA)<br /> 14.1' LCD<br /> 60 G HardDisk<br /> at76c503 USB Wireless<br /> SiS PCI Audio Accelerator<br /> [SiS] USB 1.0 Controller<br /> [SiS] AC'97 Modem Controller<br /> [SiS] 630/730 PCI/AGP VGA Display Adapter<br /> <br /> [url]http://johnyao.blogchina.com/index.html[/url]

用户头衔:注册会员

状态:我不在线

5 楼
发表于 2012-03-18 21:57:58 |只看该作者 |倒序浏览
same problem. why gentoo make introspection default??
返回列表
Processed in : 0.013000 second(s) ©2014LinuxSir - 服务条款 - 免责声明 - 闽ICP备06025536号
回顶部