LinuxSir.cn,穿越时空的Linuxsir!

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

help! emerge cairo 出错

[复制链接]
发表于 2010-9-27 14:43:58 | 显示全部楼层 |阅读模式
/bin/sh ../libtool --silent --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -D_REENTRANT   -I/usr/include/pixman-1        -I/usr/include/freetype2    -I/usr/include/drm -I/usr/include/libdrm   -I/usr/include/libpng14       -I/usr/include/valgrind     -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wlogical-op -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2 -I../src/glew                      -march=native -O2 -pipe -finline-limit=1200 -c -o cairo-array.lo cairo-array.c
In file included from cairo-fixed-type-private.h:40,
                 from cairo-types-private.h:43,
                 from cairoint.h:242,
                 from cairo-arc.c:37:
cairo-wideint-type-private.h:65:2: error: #error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)
In file included from cairo-mutex-type-private.h:45,
                 from cairo-scaled-font-private.h:45,
                 from cairoint.h:380,
                 from cairo-arc.c:37:
cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation and compile cairo without thread-safety support."
In file included from cairo-mutex-type-private.h:45,
                 from cairo-scaled-font-private.h:45,
                 from cairoint.h:380,
                 from cairo-arc.c:37:
cairo-mutex-impl-private.h:271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_recursive_mutex_impl_t’
In file included from cairo-scaled-font-private.h:45,
                 from cairoint.h:380,
                 from cairo-arc.c:37:
cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
In file included from cairo-scaled-font-private.h:45,
                 from cairoint.h:380,
                 from cairo-arc.c:37:
cairo-mutex-type-private.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_mutex_t’
cairo-mutex-type-private.h:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_recursive_mutex_t’
In file included from cairoint.h:380,
                 from cairo-arc.c:37:
cairo-scaled-font-private.h:108: error: expected specifier-qualifier-list before ‘cairo_mutex_t’
发表于 2010-9-27 19:13:11 | 显示全部楼层
版本?
emerge --info?
bugzilla搜了没?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 20:24:04 | 显示全部楼层
Post by zhllg;2113598
版本?
emerge --info?
bugzilla搜了没?


bugzilla 貌似没搜到

emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32.21 x86_64)
=================================================================
System uname: Linux-2.6.32.21-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 27 Sep 2010 01:00:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.2-r7, 2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo/ http://linux.ntcu.net/ftp/dists/gentoo "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu"
LINGUAS="zh_CN zh_TW zh"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 apache2 bash-completion berkdb bzip2 cleartype cli consolekit cracklib crypt cscope cups cxx dbus dri emacs fontconfig fortran gcrypt gd gdbm gnutls gpm gtk hal havekernel iconv jpeg jpeg2k kde lcdfilter ldap libssh2 lm_sensors lua mmx modules mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl plotutils pmu png pppd python qt3support readline reflection sensord session snmp spell sql sse sse2 ssl svg sysfs tcpd threads tiff truetype unicode vim-pager vim-syntax webkit xinerama xml xorg 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" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh_TW zh" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
回复 支持 反对

使用道具 举报

发表于 2010-9-27 20:45:27 | 显示全部楼层
cairo版本
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-28 11:20:59 | 显示全部楼层
版本是
x11-libs/cairo
      Latest version available: 1.8.10
      Latest version installed: [ Not Installed ]
      Size of files: 6,943 kB
      Homepage:      http://cairographics.org/
      Description:   A vector graphics library with cross-device output support
      License:       || ( LGPL-2.1 MPL-1.1 )
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-28 14:37:46 | 显示全部楼层
问题已解决
rm -f /usr/local/bin/autoconf
rm -f /usr/local/bin/autoheader
rm -f  /usr/local/bin/autoreconf
rm -f  /usr/local/bin/autoscan
rm -f  /usr/local/bin/autoupdate
rm -f  /usr/local/bin/ifnames
回复 支持 反对

使用道具 举报

发表于 2010-9-29 11:35:08 | 显示全部楼层
-_-
这样的基础工具还是用系统提供的吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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