LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hooey

scim-panel-kde的bug?

[复制链接]
 楼主| 发表于 2004-5-6 10:31:38 | 显示全部楼层

回复: 回复: 回复: 回复: scim-panel-kde的bug?

另外scim-panel-kde的src/socketserverthread.h和src/modulescollection.h我加了include<map>才能编译过去,不然会报错,不知道是不是代码的问题
发表于 2004-5-6 10:58:58 | 显示全部楼层

回复: 回复: 回复: 回复: scim-panel-kde的bug?

最初由 hooey 发表
这么改了编译是没有问题了,不过scim-lib下面的module/FrontEnd还有scim-panel-gtk和scim-panel-kde都有类似的问题,如果把它们全改掉可以编译过去。不过好像猥琐了一点...


麻烦把完整的错误信息贴出来。
 楼主| 发表于 2004-5-6 11:09:51 | 显示全部楼层

回复: 回复: 回复: 回复: 回复: scim-panel-kde的bug?

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../intl -I../../data -I../../utils -I../../extras/panel -DSCIM_BINDIR=\"/usr/bin\" -DSCIM_LIBDIR=\"/usr/lib\" -DSCIM_DATADIR=\"/usr/share\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/etc\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0/\" -I/usr/X11R6/include -g -O2 -MT x11_la-scim_x11_frontend.lo -MD -MP -MF .deps/x11_la-scim_x11_frontend.Tpo -c scim_x11_frontend.cpp  -fPIC -DPIC -o .libs/x11_la-scim_x11_frontend.lo
../../src/scim_socket.h: In member function `virtual void X11FrontEnd::run()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_x11_frontend.cpp:545: error: within this context
 楼主| 发表于 2004-5-6 11:10:48 | 显示全部楼层

回复: 回复: 回复: 回复: 回复: scim-panel-kde的bug?

if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../intl -I../../data -I../../utils -DSCIM_BINDIR=\"/usr/bin\" -DSCIM_LIBDIR=\"/usr/lib\" -DSCIM_DATADIR=\"/usr/share\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/etc\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\"    -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT scim_panel_gtk-scim_panel_gtk.o -MD -MP -MF ".deps/scim_panel_gtk-scim_panel_gtk.Tpo" -c -o scim_panel_gtk-scim_panel_gtk.o `test -f 'scim_panel_gtk.cpp' || echo './'`scim_panel_gtk.cpp; \
then mv -f ".deps/scim_panel_gtk-scim_panel_gtk.Tpo" ".deps/scim_panel_gtk-scim_panel_gtk.Po"; else rm -f ".deps/scim_panel_gtk-scim_panel_gtk.Tpo"; exit 1; fi
../../src/scim_socket.h: In function `void action_move_preedit_caret(scim::uint32)':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2169: error: within this context
../../src/scim_socket.h: In function `void action_toggle_full_width_punct()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2192: error: within this context
../../src/scim_socket.h: In function `void action_toggle_full_width_letter()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2215: error: within this context
../../src/scim_socket.h: In function `void action_request_help()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2248: error: within this context
../../src/scim_socket.h: In function `void action_request_server_menu()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2271: error: within this context
../../src/scim_socket.h: In function `void action_change_server_factory(const scim::String&)':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2295: error: within this context
../../src/scim_socket.h: In function `void action_select_lookup_table(scim::uint32)':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2319: error: within this context
../../src/scim_socket.h: In function `void action_lookup_table_page_up()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2343: error: within this context
../../src/scim_socket.h: In function `void action_lookup_table_page_down()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2367: error: within this context
../../src/scim_socket.h: In function `void action_toggle_input_status()':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2406: error: within this context
../../src/scim_socket.h: In function `void action_run_gui_client_command(const scim::String&)':
../../src/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_panel_gtk.cpp:2513: error: within this context
 楼主| 发表于 2004-5-6 11:11:55 | 显示全部楼层

回复: 回复: 回复: 回复: 回复: scim-panel-kde的bug?

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/scim-1.0 -DSCIM_KDE_MODULE_ROOT_PATH=\"/usr/local/kdecvs/lib/scim_panel_kde/\" -I/usr/local/kdecvs/include -I/home/hooey/cvs/kdecvs/qt-copy/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT socketserverthread.o -MD -MP -MF ".deps/socketserverthread.Tpo" \
  -c -o socketserverthread.o `test -f 'socketserverthread.cpp' || echo './'`socketserverthread.cpp; \
then mv -f ".deps/socketserverthread.Tpo" ".deps/socketserverthread.Po"; \
else rm -f ".deps/socketserverthread.Tpo"; exit 1; \
fi
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::selectLookupTableItem(int)':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:997: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::lookupTablePageDown()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1020: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::lookupTablePageUp()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1042: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `virtual void scim::SocketServerThread::getServerList()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1063: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::changeLang()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1085: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::changeServerFactory(const scim::String&)':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1107: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::toggleLetterWidth()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1128: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::togglePuncWidth()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1150: error: within this context
/usr/include/scim-1.0/scim_socket.h: In member function `void scim::SocketServerThread::getHelp()':
/usr/include/scim-1.0/scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
socketserverthread.cpp:1171: error: within this context
发表于 2004-5-6 11:14:50 | 显示全部楼层
请再试一下。我已经改了。gcc 3.4 这个问题是够猥琐的。看来需要给 gcc 开发组报告一下。
 楼主| 发表于 2004-5-6 11:50:51 | 显示全部楼层
scim-lib没问题了,scim-panel-kde就等liuspider了,hehe
发表于 2004-5-7 00:07:54 | 显示全部楼层

回复: 回复: 回复: 回复: 回复: scim-panel-kde的bug?

最初由 hooey 发表
另外scim-panel-kde的src/socketserverthread.h和src/modulescollection.h我加了include<map>才能编译过去,不然会报错,不知道是不是代码的问题


是不是 gcc 3.4 中的 C++ 头文件也改动了?

我现在用的 gcc 3.3,而且这个问题也没听其他使用gcc3.3 的用户报告过

modulescollection.h 中是包括 了 socketserverthread.h 的,因
此,因此我想只需要在 socketserverthread.h 中加入这个 include

多谢
 楼主| 发表于 2004-5-7 08:59:08 | 显示全部楼层
我也觉得这种问题如果真的是代码的问题应该早就有人发现了,不过我开始是gcc 3.3.2用编译的时候发现这种问题的,include的问题可能是因为我先该的modulescollection发现不够又改了socketserverthread。我用的是gentoo,不知道是不是gentoo打过补丁之类的毛病。
 楼主| 发表于 2004-5-7 09:03:56 | 显示全部楼层
另外skim的系统托盘的图标启动的时候显示自己的那个scim的时候是
22x22的,但是显示scim的那些png图片的时候就变成了16x16,这方面是不是kde有自己的机制,不应该用qt的那些类?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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