LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2009-10-4 11:04:08 | 显示全部楼层 |阅读模式

  1. libtool: link: i686-pc-linux-gnu-ranlib .libs/libcairo.a                                          
  2. /bin/sed: can't read /usr/lib/libxcb-xlib.la: No such file or directory                           
  3. libtool: link: `/usr/lib/libxcb-xlib.la' is not a valid libtool archive                           
  4. make[3]: *** [libcairo.la] 错误 1                                                                 
  5. make[3]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8/src'           
  6. make[2]: *** [all] 错误 2                                                                        
  7. make[2]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8/src'           
  8. make[1]: *** [all-recursive] 错误 1                                                               
  9. make[1]: Leaving directory `/var/tmp/portage/x11-libs/cairo-1.8.8/work/cairo-1.8.8'               
  10. make: *** [all] 错误 2                                                                           
  11. *                                                                                                
  12. * ERROR: x11-libs/cairo-1.8.8 failed.                                                            
  13. * Call stack:                                                                                    
  14. *               ebuild.sh, line   49:  Called src_compile                                       
  15. *             environment, line 2845:  Called _eapi2_src_compile                                 
  16. *               ebuild.sh, line  634:  Called die                                                
  17. * The specific snippet of code:                                                                  
  18. *              emake || die "emake failed"                                                      
  19. *  The die message:                                                                              
  20. *   emake failed                                                                                 
  21. *                                                                                                
  22. * If you need support, post the topmost build error, and the call stack if relevant.            
  23. * A complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/build.log'.     
  24. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/environment'.                                                                                             
  25. *                                                                                                

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

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

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

  29. *
  30. * ERROR: x11-libs/cairo-1.8.8 failed.
  31. * Call stack:                        
  32. *               ebuild.sh, line   49:  Called src_compile
  33. *             environment, line 2845:  Called _eapi2_src_compile
  34. *               ebuild.sh, line  634:  Called die               
  35. * The specific snippet of code:                                 
  36. *              emake || die "emake failed"                     
  37. *  The die message:                                             
  38. *   emake failed                                                
  39. *                                                               
  40. * If you need support, post the topmost build error, and the call stack if relevant.
  41. * A complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/build.log'.
  42. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.8.8/temp/environment'.                                                                                             
  43. *                                                                                                

  44. * IMPORTANT: 3 news items need reading for repository 'gentoo'.
  45. * Use eselect news to read news items.                        
复制代码


emerge --info

  1. 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)                                                                                               
  2. =================================================================                                 
  3. 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                                                                                          
  4. Timestamp of tree: Thu, 01 Oct 2009 07:45:01 +0000                                                
  5. app-shells/bash:     4.0_p28                                                                     
  6. dev-java/java-config: 2.1.9-r1                                                                    
  7. dev-lang/python:     2.6.2-r1                                                                     
  8. dev-util/cmake:      2.6.4-r2                                                                     
  9. sys-apps/baselayout: 1.12.11.1                                                                    
  10. sys-apps/sandbox:    1.6-r2                                                                       
  11. sys-devel/autoconf:  2.63-r1                                                                     
  12. sys-devel/automake:  1.9.6-r2, 1.10.2                                                            
  13. sys-devel/binutils:  2.18-r3                                                                     
  14. sys-devel/gcc-config: 1.4.1                                                                       
  15. sys-devel/libtool:   2.2.6a                                                                       
  16. virtual/os-headers:  2.6.27-r2                                                                    
  17. ACCEPT_KEYWORDS="x86"                                                                             
  18. CBUILD="i686-pc-linux-gnu"                                                                        
  19. CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"                                             
  20. CHOST="i686-pc-linux-gnu"                                                                        
  21. CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"                                                                                            
  22. 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"                     
  23. CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"                                            
  24. DISTDIR="/usr/portage/distfiles"                                                                  
  25. FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                      
  26. GENTOO_MIRRORS="http://ftp.kaist.ac.kr/pub/gentoo/"                                               
  27. LANG="zh_CN.UTF-8"                                                                                
  28. LDFLAGS="-Wl,-O1"                                                                                 
  29. LINGUAS="zh_CN en"                                                                                
  30. MAKEOPTS="-j3"                                                                                    
  31. PKGDIR="/usr/portage/packages"                                                                    
  32. PORTAGE_CONFIGROOT="/"
  33. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  34. PORTAGE_TMPDIR="/var/tmp"
  35. PORTDIR="/usr/portage"
  36. PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china"
  37. SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
  38. 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"
  39. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

复制代码
发表于 2009-10-4 11:14:00 | 显示全部楼层
此是 libxcb 导致的 cairo 编译问题,和linuxqq有毛关系,请楼主把标题改了。

libxcb的升级请看官方文档 http://www.gentoo.org/proj/en/de ... 4-upgrade-guide.xml
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 13:11:58 | 显示全部楼层
感谢zhou3345,按照官方的文档已经解决问题.
回复 支持 反对

使用道具 举报

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

本版积分规则

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