当前位置: 技术问答>linux和unix
问一个安装时的问题
来源: 互联网 发布时间:2016-04-11
本文导语: [shiluqi@localhost stardict-2.4.3]$ make make all-recursive make[1]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3' Making all in src make[2]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src' Making all in pixmaps make[3]: Entering directory...
[shiluqi@localhost stardict-2.4.3]$ make
make all-recursive
make[1]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3'
Making all in src
make[2]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
Making all in pixmaps
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/pixmaps'
Making all in sounds
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/sounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/sounds'
Making all in tools
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
Making all in win32
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
Making all in nsis
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32/nsis'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32/nsis'
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -DDATADIR=""/usr/local/share"" -DGNOME_ICONDIR=""/usr/local/share/pixmaps"" -DSTARDICT_LOCALEDIR=""/usr/local/share/locale"" -DSTARDICT_DATA_DIR=""/usr/local/share/stardict"" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -MT stardict.o -MD -MP -MF ".deps/stardict.Tpo"
-c -o stardict.o `test -f 'stardict.cpp' || echo './'`stardict.cpp;
then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po";
else rm -f ".deps/stardict.Tpo"; exit 1;
fi
skin.h:11: error: extra qualification ‘_Skin_cursor::’ on member ‘_Skin_cursor’
skin.h:12: error: extra qualification ‘_Skin_cursor::’ on member ‘_Skin_cursor’
prefsdlg.h:42: error: ‘GtkOptionMenu’ has not been declared
stardict.cpp:69: error: ‘N_’ was not declared in this scope
stardict.cpp:72: error: ‘N_’ was not declared in this scope
stardict.cpp:75: error: ‘N_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::Create(gchar*)’:
stardict.cpp:153: error: ‘_’ was not declared in this scope
stardict.cpp: In static member function ‘static gboolean AppCore::on_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)’:
stardict.cpp:255: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In static member function ‘static gboolean AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)’:
stardict.cpp:334: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In member function ‘gboolean AppCore::SimpleLookupToFloat(const char*, gboolean)’:
stardict.cpp:484: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘gboolean AppCore::SimpleLookupToTextWin(const char*, glong*, gboolean, gboolean)’:
stardict.cpp:551: error: ‘_’ was not declared in this scope
stardict.cpp:581: error: ‘_’ was not declared in this scope
stardict.cpp:585: error: ‘_’ was not declared in this scope
stardict.cpp:590: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithFuzzyToMainWin(const gchar*)’:
stardict.cpp:730: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithFuzzyToFloatWin(const gchar*)’:
stardict.cpp:888: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithRuleToMainWin(const gchar*)’:
stardict.cpp:951: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::TopWinEnterWord(const gchar*)’:
stardict.cpp:1065: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::TopWinWordChange(const gchar*)’:
stardict.cpp:1075: error: ‘_’ was not declared in this scope
stardict.cpp:1082: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::ListClick(const gchar*)’:
stardict.cpp:1148: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In function ‘void stardict_handle_automation_cmdline(gchar*)’:
stardict.cpp:1416: error: ‘_’ was not declared in this scope
stardict.cpp: In function ‘gint save_yourself_cb(GnomeClient*, gint, GnomeRestartStyle, gint, GnomeInteractStyle, gint, void*)’:
stardict.cpp:1457: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In function ‘int main(int, char**)’:
stardict.cpp:1575: error: ‘GNOME_PARAM_POPT_TABLE’ was not declared in this scope
stardict.cpp:1577: error: ‘_’ was not declared in this scope
stardict.cpp:1587: error: ‘GNOME_PARAM_POPT_CONTEXT’ was not declared in this scope
make[3]: *** [stardict.o] Error 1
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3'
make: *** [all] Error 2
[shiluqi@localhost stardict-2.4.3]$
make all-recursive
make[1]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3'
Making all in src
make[2]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
Making all in pixmaps
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/pixmaps'
Making all in sounds
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/sounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/sounds'
Making all in tools
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/tools'
Making all in win32
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
Making all in nsis
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32/nsis'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32/nsis'
make[4]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src/win32'
make[3]: Entering directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -DDATADIR=""/usr/local/share"" -DGNOME_ICONDIR=""/usr/local/share/pixmaps"" -DSTARDICT_LOCALEDIR=""/usr/local/share/locale"" -DSTARDICT_DATA_DIR=""/usr/local/share/stardict"" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -MT stardict.o -MD -MP -MF ".deps/stardict.Tpo"
-c -o stardict.o `test -f 'stardict.cpp' || echo './'`stardict.cpp;
then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po";
else rm -f ".deps/stardict.Tpo"; exit 1;
fi
skin.h:11: error: extra qualification ‘_Skin_cursor::’ on member ‘_Skin_cursor’
skin.h:12: error: extra qualification ‘_Skin_cursor::’ on member ‘_Skin_cursor’
prefsdlg.h:42: error: ‘GtkOptionMenu’ has not been declared
stardict.cpp:69: error: ‘N_’ was not declared in this scope
stardict.cpp:72: error: ‘N_’ was not declared in this scope
stardict.cpp:75: error: ‘N_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::Create(gchar*)’:
stardict.cpp:153: error: ‘_’ was not declared in this scope
stardict.cpp: In static member function ‘static gboolean AppCore::on_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)’:
stardict.cpp:255: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In static member function ‘static gboolean AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)’:
stardict.cpp:334: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In member function ‘gboolean AppCore::SimpleLookupToFloat(const char*, gboolean)’:
stardict.cpp:484: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘gboolean AppCore::SimpleLookupToTextWin(const char*, glong*, gboolean, gboolean)’:
stardict.cpp:551: error: ‘_’ was not declared in this scope
stardict.cpp:581: error: ‘_’ was not declared in this scope
stardict.cpp:585: error: ‘_’ was not declared in this scope
stardict.cpp:590: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithFuzzyToMainWin(const gchar*)’:
stardict.cpp:730: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithFuzzyToFloatWin(const gchar*)’:
stardict.cpp:888: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::LookupWithRuleToMainWin(const gchar*)’:
stardict.cpp:951: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::TopWinEnterWord(const gchar*)’:
stardict.cpp:1065: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::TopWinWordChange(const gchar*)’:
stardict.cpp:1075: error: ‘_’ was not declared in this scope
stardict.cpp:1082: error: ‘_’ was not declared in this scope
stardict.cpp: In member function ‘void AppCore::ListClick(const gchar*)’:
stardict.cpp:1148: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In function ‘void stardict_handle_automation_cmdline(gchar*)’:
stardict.cpp:1416: error: ‘_’ was not declared in this scope
stardict.cpp: In function ‘gint save_yourself_cb(GnomeClient*, gint, GnomeRestartStyle, gint, GnomeInteractStyle, gint, void*)’:
stardict.cpp:1457: error: ‘GTK_COMBO’ was not declared in this scope
stardict.cpp: In function ‘int main(int, char**)’:
stardict.cpp:1575: error: ‘GNOME_PARAM_POPT_TABLE’ was not declared in this scope
stardict.cpp:1577: error: ‘_’ was not declared in this scope
stardict.cpp:1587: error: ‘GNOME_PARAM_POPT_CONTEXT’ was not declared in this scope
make[3]: *** [stardict.o] Error 1
make[3]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shiluqi/Desktop/stardict-2.4.3'
make: *** [all] Error 2
[shiluqi@localhost stardict-2.4.3]$
|
这个问题以前有人遇过,是 stardict-2.4.3 太旧了
用 2.4.7 以上的版本试试
用 2.4.7 以上的版本试试
|
你用的什么系统啊,试着先更新一下系统在试试
|
如楼上所说,stardict-2.4.3 不能在gtk+ 2.3+以上的系统编译,这里有一个patch:
http://61.153.200.30/lucida/linux-patch/#sdic
不过还是用最新的stardict省事些
http://61.153.200.30/lucida/linux-patch/#sdic
不过还是用最新的stardict省事些