+ -
当前位置:首页 → 问答吧 → [已解决]libxcb 导致的 cairo 编译问题

[已解决]libxcb 导致的 cairo 编译问题

时间:2009-10-04

来源:互联网

代码:
libtool: link: i686-pc-linux-gnu-ranlib .libs/libcairo.a 
/bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory 
libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive 
make[3]: *** [libcairo.la] 错误 1 
make[3]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8/src' 
make[2]: *** [all] 错误 2 
make[2]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8/src' 
make[1]: *** [all-recursive] 错误 1 
make[1]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8' 
make: *** [all] 错误 2 
 * 
 * ERROR: x11-libs/cairo-1.8.8 failed. 
 * Call stack: 
 * ebuild.sh, line 49: Called src_compile 
 * environment, line 2845: Called _eapi2_src_compile 
 * ebuild.sh, line 634: Called die 
 * The specific snippet of code: 
 * emake || die "emake failed" 
 * The die message: 
 * emake 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/x11-libs/cairo-1.8.8/temp/build.log'. 
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/environment'. 
 * 

>>> Failed to emerge x11-libs/cairo-1.8.8, Log file:

>>> '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/build.log'

 * Messages for package x11-libs/cairo-1.8.8:

 * 
 * ERROR: x11-libs/cairo-1.8.8 failed.
 * Call stack: 
 * ebuild.sh, line 49: Called src_compile
 * environment, line 2845: Called _eapi2_src_compile
 * ebuild.sh, line 634: Called die 
 * The specific snippet of code: 
 * emake || die "emake failed" 
 * The die message: 
 * emake 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/x11-libs/cairo-1.8.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/environment'. 
 * 

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
emerge --info
代码:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r1 i686) 
================================================================= 
System uname: Linux-2.6.31-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T5270_@_1.40GHz-with-gentoo-1.12.11.1 
Timestamp of tree: Thu, 01 Oct 2009 07:45:01 +0000 
app-shells/bash: 4.0_p28 
dev-java/java-config: 2.1.9-r1 
dev-lang/python: 2.6.2-r1 
dev-util/cmake: 2.6.4-r2 
sys-apps/baselayout: 1.12.11.1 
sys-apps/sandbox: 1.6-r2 
sys-devel/autoconf: 2.63-r1 
sys-devel/automake: 1.9.6-r2, 1.10.2 
sys-devel/binutils: 2.18-r3 
sys-devel/gcc-config: 1.4.1 
sys-devel/libtool: 2.2.6a 
virtual/os-headers: 2.6.27-r2 
ACCEPT_KEYWORDS="x86" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" 
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" 
GENTOO_MIRRORS="http://ftp.kaist.ac.kr/pub/gentoo/" 
LANG="zh_CN.UTF-8" 
LDFLAGS="-Wl,-O1" 
LINGUAS="zh_CN en" 
MAKEOPTS="-j3" 
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="/usr/local/portage/layman/gentoo-china"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X a52 aac ac3 acl acpi alsa arts audiofile berkdb branding bzip2 cgi cjk cli cracklib crypt cups dbus dir dri dvd encode esd ffmpeg fftw flac fortran gd gdbm gif gpm hal hddtemp iconv isdnlog jpeg jpeg2k jpg kde kontact lame laptop mad mkv mng modplug modules mpeg mudflap musepack mysql nas ncurses nls nptl nptlonly opengl openmp oss pam pcre pdf perl png pppd python q qt3support qt4 rar readline reflection session shorten smp spl sql sse2 sse3 ssl startup-notification svg sysfs tcpd timidity unicode usb vcd vorbis wavpack webkit wifi win32codecs wma x86 xcb xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

作者: zrael   发布时间: 2009-10-04

此是 libxcb 导致的 cairo 编译问题,和linuxqq有毛关系,请楼主把标题改了。

libxcb的升级请看官方文档 http://www.gentoo.org/proj/en/deskto...rade-guide.xml 。

作者: zhou3345   发布时间: 2009-10-04

感谢zhou3345,按照官方的文档已经解决问题.

作者: zrael   发布时间: 2009-10-04