LinuxSir.cn,穿越时空的Linuxsir!

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

4.10-Release上安装stardict的问题

[复制链接]
发表于 2004-7-19 17:38:23 | 显示全部楼层 |阅读模式
  1. ===>  stardict-2.4.2_1 is marked as broken: Does not compile.
  2. *** Error code 1
复制代码

不管是stardict-zh_CN还是zh_TW,都出现同样的错误。
这是怎么回事?
以前从没碰过
谢谢各位:thank
发表于 2004-7-19 18:09:15 | 显示全部楼层

so!

vi Makefile
删除BROCKEN那一行或者在最前面加#注释掉。
 楼主| 发表于 2004-7-19 18:16:54 | 显示全部楼层
谢谢mmm

另外想请教一下,加上BROKEN做何用?
 楼主| 发表于 2004-7-19 18:29:28 | 显示全部楼层
注释掉BROKEN以后又出现了新的问题:

  1. prefsdlg.h:42: `GtkOptionMenu' was not declared in this scope
  2. prefsdlg.h:42: `option_menu' was not declared in this scope
  3. prefsdlg.h:42: syntax error before `*'
  4. prefsdlg.h:42: variable or field `on_setup_dictionary_scan_optionmenu_changed' declared void
  5. prefsdlg.h:42: ANSI C++ forbids in-class initialization of non-const static member `on_setup_dictionary_scan_optionmenu_changed'
  6. stardict.cpp: In function `static gboolean AppCore::on_window_state_event(GtkWidget *, GdkEventWindowState *, AppCore *)':
  7. stardict.cpp:255: implicit declaration of function `int GTK_COMBO(...)'
  8. stardict.cpp:255: base operand of `->' is not a pointer
  9. stardict.cpp:261: base operand of `->' is not a pointer
  10. stardict.cpp: In function `static gboolean AppCore::vKeyPressReleaseCallback(GtkWidget *, GdkEventKey *, AppCore *)':
  11. stardict.cpp:334: base operand of `->' is not a pointer
  12. stardict.cpp:340: base operand of `->' is not a pointer
  13. stardict.cpp:342: base operand of `->' is not a pointer
  14. stardict.cpp:344: base operand of `->' is not a pointer
  15. stardict.cpp:359: base operand of `->' is not a pointer
  16. stardict.cpp:360: base operand of `->' is not a pointer
  17. stardict.cpp:363: base operand of `->' is not a pointer
  18. stardict.cpp:364: base operand of `->' is not a pointer
  19. stardict.cpp:371: base operand of `->' is not a pointer
  20. stardict.cpp:375: base operand of `->' is not a pointer
  21. stardict.cpp:378: base operand of `->' is not a pointer
  22. stardict.cpp:382: base operand of `->' is not a pointer
  23. stardict.cpp: In method `void AppCore::TopWinEnterWord(const gchar *)':
  24. stardict.cpp:1065: base operand of `->' is not a pointer
  25. stardict.cpp: In method `void AppCore::ListClick(const gchar *)':
  26. stardict.cpp:1148: base operand of `->' is not a pointer
  27. stardict.cpp: In function `gint client_die_cb(GnomeClient *, void *)':
  28. stardict.cpp:1434: warning: control reaches end of non-void function `client_die_cb(GnomeClient *, void *)'
  29. stardict.cpp: In function `gint save_yourself_cb(GnomeClient *, int, GnomeRestartStyle, int, GnomeInteractStyle, int, void *)':
  30. stardict.cpp:1457: base operand of `->' is not a pointer
  31. stardict.cpp:1456: warning: `const gchar * text' might be used uninitialized in this function
  32. gmake[3]: *** [stardict.o] 错误 1
  33. gmake[3]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2/src'
  34. gmake[2]: *** [all-recursive] 错误 1
  35. gmake[2]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2/src'
  36. gmake[1]: *** [all-recursive] 错误 1
  37. gmake[1]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2'
  38. gmake: *** [all] 错误 2
  39. *** Error code 2

复制代码
发表于 2004-7-19 18:44:42 | 显示全部楼层

so!

brocken是不建议安装的。
另外据据我所知,好像是你没有同步source的缘故,因为我正在用星际译王。
cvsup后,看看,应该是可以顺利编译的。
$FreeBSD: ports/chinese/stardict2-dict-zh_CN/Makefile,v 1.3 2004/04/05 03:30:3
1 marcus Exp $
 楼主| 发表于 2004-7-19 18:59:19 | 显示全部楼层
谢谢回复
现在用cvsup同步了source,stardict版本变成2.4.3,但是它要用到gcc-3.3,而我原来的gcc版本比这低,这样会不会有什么问题?

谢谢
发表于 2004-7-19 19:03:34 | 显示全部楼层

so!

我不知道,试!
如果出问题
-----------------
升级基本系统
 楼主| 发表于 2004-7-19 19:16:42 | 显示全部楼层
嗯,正在编译GCC

刚才不知道怎么回事,编译evolution的时候,键盘突然不响应,鼠标也不能移动,接着马上重启,真是怪哦,以前都没碰过这种事
发表于 2004-7-19 19:17:29 | 显示全部楼层

so!

电源不稳。
 楼主| 发表于 2004-7-19 20:14:22 | 显示全部楼层

回复: so!

最初由 mmm 发表
电源不稳。

Maybe !

出去吃了顿饭,终于gcc编译完了:p

不过还没有字典:confused:

谢谢mmm那么耐心的为我解答,:thank
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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