+ -
当前位置:首页 → 问答吧 → emerge stardict 出错 (问题已解决)

emerge stardict 出错 (问题已解决)

时间:2009-01-17

来源:互联网

mainwin.cpp:2490: error: ‘get_impl’ was not declared in this scope
In file included from tray.hpp:5,
from docklet.h:5,
from docklet.cpp:9:
sigc++/sigc++.h:23:27: error: sigc++/signal.h: No such file or directory
sigc++/sigc++.h:24:31: error: sigc++/connection.h: No such file or directory
sigc++/sigc++.h:25:30: error: sigc++/trackable.h: No such file or directory
sigc++/sigc++.h:26:38: error: sigc++/adaptors/adaptors.h: No such file or directory
sigc++/sigc++.h:27:38: error: sigc++/functors/functors.h: No such file or directory
mainwin.cpp: In static member function ‘static void TransWin::on_translate_button_clicked(GtkWidget*, TransWin*)’:
mainwin.cpp:2636: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp:2656: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In member function ‘void MidWin::Create(GtkWidget*)’:
mainwin.cpp:2682: error: ‘oTextWin’ was not declared in this scope
mainwin.cpp: In static member function ‘static void BottomWin::on_link_eventbox_clicked(GtkWidget*, GdkEventButton*, BottomWin*)’:
mainwin.cpp:2834: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin::AboutCallback(GtkButton*, void*)’:
mainwin.cpp:2973: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin::QuitCallback(GtkButton*, void*)’:
mainwin.cpp:2979: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin::on_internetsearch_menu_item_activate(GtkMenuItem*, const gchar*)’:
mainwin.cpp:3020: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin::InternetSearchCallback(GtkButton*, BottomWin*)’:
mainwin.cpp:3045: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin:ictManageCallback(GtkButton*, BottomWin*)’:
mainwin.cpp:3062: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
mainwin.cpp: In static member function ‘static void BottomWin::PreferenceCallback(GtkButton*, BottomWin*)’:
mainwin.cpp:3067: error: invalid use of undefined type ‘class AppCore’
stardict.h:16: error: forward declaration of ‘class AppCore’
make[3]: *** [stardict.o] Error 1
make[3]: *** Waiting for unfinished jobs....
tray.hpp:12: error: ‘sigc’ has not been declared
tray.hpp:12: error: expected ‘;’ before ‘<’ token
tray.hpp:13: error: ‘sigc’ has not been declared
tray.hpp:13: error: expected ‘;’ before ‘<’ token
tray.hpp:14: error: ‘sigc’ has not been declared
tray.hpp:14: error: expected ‘;’ before ‘<’ token
tray.hpp:15: error: ‘sigc’ has not been declared
tray.hpp:15: error: expected ‘;’ before ‘<’ token
make[3]: *** [mainwin.o] Error 1
docklet.cpp: In static member function ‘static void DockLet::on_menu_scan(GtkCheckMenuItem*, void*)’:
docklet.cpp:82: error: ‘class DockLet’ has no member named ‘on_change_scan_’
docklet.cpp: In static member function ‘static void DockLet::on_menu_quit(GtkMenuItem*, void*)’:
docklet.cpp:88: error: ‘class DockLet’ has no member named ‘on_quit_’
docklet.cpp: In static member function ‘static gboolean DockLet::on_btn_press(GtkWidget*, GdkEventButton*, DockLet*)’:
docklet.cpp:148: error: ‘class DockLet’ has no member named ‘on_change_scan_’
docklet.cpp:155: error: ‘class DockLet’ has no member named ‘on_maximize_’
docklet.cpp:160: error: ‘class DockLet’ has no member named ‘on_middle_btn_click_’
docklet.cpp: In member function ‘virtual void DockLet::minimize_to_tray()’:
docklet.cpp:177: error: ‘on_quit_’ was not declared in this scope
make[3]: *** [docklet.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1-r2/work/stardict-3.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1-r2/work/stardict-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-dicts/stardict-3.0.1-r2/work/stardict-3.0.1'
make: *** [all] Error 2
*
* ERROR: app-dicts/stardict-3.0.1-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2805: Called gnome2_src_compile
* environment, line 2174: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* 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/app-dicts/stardict-3.0.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-dicts/stardict-3.0.1-r2/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'


emerge --info

--- Invalid atom in /etc/portage/package.use: x11-base/xorg-x11-6.8.2
Portage 2.2_rc12 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sat, 01 Nov 2008 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.4.3-r4, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199 http://mirror.etf.bg.ac.yu/gentoo"
"ANG="en_US.UTF-8
LDFLAGS="-Wl,-O1"
LINGUAS="en_US zh_CN en en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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://61.135.158.199/gentoo-portage"
USE="X acl acpi berkdb cjk cli cracklib crypt cups dri fortran gdbm gpm gtk iconv immqt-bc isdnlog jpeg laptop midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python qt3 readline reflection session spl ssl tcpd truetype unicode x86 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN en en_US.UTF-8" USERLAND="GNU" VIDEO_CARDS="intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

作者: Allen_Lau   发布时间: 2009-01-17

求助应该如何解决,或应该怎样在google上搜索这种错误,最好是如何所搜索:)每次出现错误都不知道如何下手,应该搜索什么内容,或看错误的什么地方,哎!!!

作者: Allen_Lau   发布时间: 2009-01-17

看置顶的提问前必读
看完你就知道,emerge出错应该搜bugs.gentoo.org

作者: zhllg   发布时间: 2009-01-18

引用:
作者: zhllg
看置顶的提问前必读
看完你就知道,emerge出错应该搜bugs.gentoo.org
我也知道应该在这些地方搜索,可是具体应该把什么内容或哪部分内容当作搜索条件就不太清楚了,拜托指点下:)

作者: Allen_Lau   发布时间: 2009-01-18

你就直接搜软件名就好了。

作者: wd_afei   发布时间: 2009-01-18

代码:
sigc++/sigc++.h:23:27: error: sigc++/signal.h: No such file or directory
提示是没有这个文件或目录!

emerge dev-libs/libsigc++ 试试

作者: hooong.jiang   发布时间: 2009-01-18

我这里没有装libsigc++也能正常使用。用的是官方的ebuild。
为什么china-overlay里的需要这个玩意?而且还没有说明和依赖选择

作者: zhou3345   发布时间: 2009-01-18

引用:
作者: hooong.jiang
代码:
sigc++/sigc++.h:23:27: error: sigc++/signal.h: No such file or directory
提示是没有这个文件或目录!

emerge dev-libs/libsigc++ 试试
谢谢你,果然解决了:)

作者: Allen_Lau   发布时间: 2009-01-19