LinuxSir.cn,穿越时空的Linuxsir!

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

stardict为什么不能编译?

[复制链接]
发表于 2004-8-26 16:29:16 | 显示全部楼层 |阅读模式
./configure成功后,make时提示说:
In file included from stardict.h:27,
                 from stardict.cpp:35:
prefsdlg.h:42: error: `GtkOptionMenu' was not declared in this scope
prefsdlg.h:42: error: `option_menu' was not declared in this scope
prefsdlg.h:42: error: syntax error before `*' token
stardict.cpp: In static member function `static gboolean
   AppCore:n_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)':
stardict.cpp:255: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp:255: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
stardict.cpp: In static member function `static gboolean
   AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)':
stardict.cpp:334: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::TopWinEnterWord(const gchar*)':
stardict.cpp:1065: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore:istClick(const gchar*)':
stardict.cpp:1148: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In function `gint save_yourself_cb(GnomeClient*, int,
   GnomeRestartStyle, int, GnomeInteractStyle, int, void*)':
stardict.cpp:1457: error: `GTK_COMBO' undeclared (first use this function)
make[3]: *** [stardict.o] 错误 1
make[3]: Leaving directory `/root/tools/stardict/stardict-2.4.3/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/tools/stardict/stardict-2.4.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/tools/stardict/stardict-2.4.3'
make: *** [all] 错误 2


于是我下了个gtk+-2.4.9来编译,编译之后还是同样的错误提示,该怎么办?
发表于 2004-8-26 18:14:38 | 显示全部楼层
 楼主| 发表于 2004-8-27 11:17:40 | 显示全部楼层
我已经下了此文件,请问该如何安装这个补丁呢?谢谢
发表于 2004-8-27 14:22:41 | 显示全部楼层
不如直接装 二进制 的包吧


RPM 或 TGZ 的
 楼主| 发表于 2004-8-31 00:41:18 | 显示全部楼层
这个补丁有rpm 或者tar的吗?谁能给个下载地址,我没找到
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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