LinuxSir.cn,穿越时空的Linuxsir!

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

net-im/openfetion-1.7::gentoo-china: emake failed

[复制链接]
发表于 2010-7-29 22:51:10 | 显示全部楼层 |阅读模式
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/libxml2   -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -g -Wall -I../include -I../include/openfetion -I ../. -DSKIN_DIR=\"/usr/share/openfetion/skin/\" -DRESOURCE_DIR=\"/usr/share/openfetion/resource/\"   -mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer -MT openfetion-fx_lookupres.o -MD -MP -MF .deps/openfetion-fx_lookupres.Tpo -c -o openfetion-fx_lookupres.o `test -f 'fx_lookupres.c' || echo './'`fx_lookupres.c
fx_login.c: In function 'fx_login_thread_func':
fx_login.c:477:2: warning: implicit declaration of function 'notify_notification_update'
fx_login.c:477:35: error: 'FxMain' has no member named 'notify'
fx_login.c:479:2: warning: implicit declaration of function 'notify_notification_set_icon_from_pixbuf'
fx_login.c:479:49: error: 'FxMain' has no member named 'notify'
fx_login.c:480:2: warning: implicit declaration of function 'notify_notification_show'
fx_login.c:480:33: error: 'FxMain' has no member named 'notify'
make[2]: *** [openfetion-fx_login.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/openfetion-fx_lookup.Tpo .deps/openfetion-fx_lookup.Po
mv -f .deps/openfetion-fx_lookupres.Tpo .deps/openfetion-fx_lookupres.Po
make[2]: Leaving directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7/src'
make[1]: Leaving directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in net-im/openfetion-1.7::gentoo-china:
!!! In default_src_compile at line 27
!!! emake failed
发表于 2010-7-31 07:27:38 | 显示全部楼层
emerge --info =net-im/openfetion-1.7看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-31 09:38:42 | 显示全部楼层
# emerge --info =net-im/openfetion-1.7
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.11.2-r0, 2.6.34-ccs-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-ccs-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Jul 2010 22:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh 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 /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/init6"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli consolekit cracklib crypt cups cxx dbus dga djvu doc dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu introspection ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection samba scsi sdl session smp snmp spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 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 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
回复 支持 反对

使用道具 举报

发表于 2010-7-31 10:21:52 | 显示全部楼层
自己make install 吧。没问题的。而且fcitx-3.6.3与openfeiton-1.7冲突,降级到fcitx3.6.2,ok!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-31 15:40:03 | 显示全部楼层
# make
make  all-recursive
make[1]: Entering directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7'
Making all in lib
make[2]: Entering directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7/lib'
Making all in src
make[2]: Entering directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/libxml2   -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -g -Wall -I../include -I../include/openfetion -I ../. -DSKIN_DIR=\"/usr/share/openfetion/skin/\" -DRESOURCE_DIR=\"/usr/share/openfetion/resource/\"   -mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer -MT openfetion-fx_login.o -MD -MP -MF .deps/openfetion-fx_login.Tpo -c -o openfetion-fx_login.o `test -f 'fx_login.c' || echo './'`fx_login.c
fx_login.c: 在函数‘fx_login_thread_func’中:
fx_login.c:477:2: 警告:隐式声明函数‘notify_notification_update’
fx_login.c:477:35: 错误:‘FxMain’没有名为‘notify’的成员
fx_login.c:479:2: 警告:隐式声明函数‘notify_notification_set_icon_from_pixbuf’
fx_login.c:479:49: 错误:‘FxMain’没有名为‘notify’的成员
fx_login.c:480:2: 警告:隐式声明函数‘notify_notification_show’
fx_login.c:480:33: 错误:‘FxMain’没有名为‘notify’的成员
make[2]: *** [openfetion-fx_login.o] 错误 1
make[2]: Leaving directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/paludis/net-im-openfetion-1.7/work/openfetion-1.7'
make: *** [all] 错误 2
回复 支持 反对

使用道具 举报

发表于 2010-7-31 21:54:01 | 显示全部楼层
你用gcc 4.4编译看看,我觉得可能是4.5的不兼容
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-1 08:11:05 | 显示全部楼层
Post by viogus;2106263
你用gcc 4.4编译看看,我觉得可能是4.5的不兼容


gcc-4.4.4-r1的结果也一样。
回复 支持 反对

使用道具 举报

发表于 2010-8-1 22:10:23 | 显示全部楼层
gcc 4.4的错误信息是啥?
我过几天装个~amd64测试看看吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-2 07:22:13 | 显示全部楼层
Post by viogus;2106383
gcc 4.4的错误信息是啥?
我过几天装个~amd64测试看看吧


fx_login.c:479:49: 错误:‘FxMain’没有名为‘notify’的成员
回复 支持 反对

使用道具 举报

发表于 2010-8-3 10:29:05 | 显示全部楼层
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for notify_init in -lnotify... no
checking for SSL_library_init in -lssl... yes
checking for RSA_new in -lcrypto... yes

原因就在于autoconf,无法检测到libnotify
回复 支持 反对

使用道具 举报

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

本版积分规则

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