LinuxSir.cn,穿越时空的Linuxsir!

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

有人安装成功过星际译王吗?

[复制链接]
发表于 2006-6-18 10:49:19 | 显示全部楼层 |阅读模式
我在安装星际译王中遇到编译错误,请高手指点迷津
make  all-recursive
make[1]: Entering directory `/home/dickchan/stardict-2.4.7'
Making all in src
make[2]: Entering directory `/home/dickchan/stardict-2.4.7/src'
Making all in pixmaps
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/pixmaps'
Making all in sounds
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/sounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/sounds'
Making all in tools
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/tools'
make[4]: Entering directory `/home/dickchan/stardict-2.4.7/src/tools'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0    -I/usr/X11R6/include  -g -O2 -MT pydict2dic.o -MD -MP -MF ".deps/pydict2dic.Tpo" -c -o pydict2dic.o pydict2dic.c; \
then mv -f ".deps/pydict2dic.Tpo" ".deps/pydict2dic.Po"; else rm -f ".deps/pydict2dic.Tpo"; exit 1; fi
In file included from /opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:33,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkpixbuf.h:33,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkcairo.h:24,
                 from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gdk/gdk.h:69: error: syntax error before ‘*’ token
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:26,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcombobox.h:25,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:65,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:82,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:114,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:99: error: syntax error before ‘GOptionEntry’
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: error: syntax error before ‘*’ token
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: warning: type defaults to ‘int’ in declaration of ‘gtk_get_option_group’
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:158,
                 from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: warning: data definition has no type or storage class
make[4]: *** [pydict2dic.o] Error 1
make[4]: Leaving directory `/home/dickchan/stardict-2.4.7/src/tools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dickchan/stardict-2.4.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dickchan/stardict-2.4.7'
make: *** [all] Error 2
谢谢
发表于 2006-6-18 12:07:17 | 显示全部楼层
点解吾装RPM包的呢??
回复 支持 反对

使用道具 举报

发表于 2006-6-18 12:12:44 | 显示全部楼层
下RPM包装.在星际译王主页.
回复 支持 反对

使用道具 举报

发表于 2006-6-18 12:31:11 | 显示全部楼层
编辑星际情搜索 论坛啊!!!

有成功案例的。

或者搜索我的帖子。
要加 一些参数。
回复 支持 反对

使用道具 举报

发表于 2006-6-18 12:31:22 | 显示全部楼层
直接RPM安装就可以的,自己编译总是有难度的说
回复 支持 反对

使用道具 举报

发表于 2006-6-18 12:59:13 | 显示全部楼层
gconftool-2的路徑在/opt/gnome/binroot的路徑不含此所以執行前先
        #PATH=$PATH:/opt/gnome/bin   这样是指明路径??:)

http://www.pcshow.net/bbs/viewth ... ight=%2Bunix%5C_pro

成功编译星际的帖子。GL

其中一些思路是LINUXSIR朋友给的。
回复 支持 反对

使用道具 举报

发表于 2006-6-18 13:01:59 | 显示全部楼层
SUSE中的很多东西放在/opt里面,很讨厌
回复 支持 反对

使用道具 举报

发表于 2006-6-18 13:03:13 | 显示全部楼层
在主页有rpm包还有好多字典可以下载
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-18 14:14:11 | 显示全部楼层
谢谢,编译是有点麻烦。我还是下个rpm包去了
回复 支持 反对

使用道具 举报

发表于 2006-6-18 15:50:22 | 显示全部楼层
SUSE 10.1 自带了stardict
不用编译
安装字典的时候,注意目录
回复 支持 反对

使用道具 举报

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

本版积分规则

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