ibus搜狗云输入法
- bones7456
- 帖子: 8495
- 注册时间: 2006-04-12 20:05
- 来自: 杭州
- 联系:
- lnghng
- 帖子: 93
- 注册时间: 2009-10-03 22:59
Re: ibus搜狗云输入法
make出现错误,这个是怎么回事?我是菜鸟
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
gcc -Wall -c -O3 `pkg-config --cflags ibus-1.0` -DPKGDATADIR='"/usr/share/ibus-sogoupycc"' -c engine.c -o engine.o
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
In file included from engine.c:15:
engine.h:17:18: error: ibus.h: 没有该文件或目录
In file included from engine.c:15:
engine.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_get_type’
engine.c:26: error: expected specifier-qualifier-list before ‘IBusEngine’
engine.c:47: error: expected specifier-qualifier-list before ‘IBusEngineClass’
engine.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_process_key_event’
engine.c:57: warning: type defaults to ‘int’ in declaration of ‘gchar’
engine.c:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
engine.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
engine.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_get_type’
engine.c: In function ‘ibus_sgpycc_engine_class_init’:
engine.c:90: error: ‘IBusObjectClass’ undeclared (first use in this function)
engine.c:90: error: (Each undeclared identifier is reported only once
engine.c:90: error: for each function it appears in.)
engine.c:90: error: ‘ibus_object_class’ undeclared (first use in this function)
engine.c:90: warning: implicit declaration of function ‘IBUS_OBJECT_CLASS’
engine.c:91: error: ‘IBusEngineClass’ undeclared (first use in this function)
engine.c:91: error: ‘engine_class’ undeclared (first use in this function)
engine.c:91: warning: implicit declaration of function ‘IBUS_ENGINE_CLASS’
engine.c:93: error: ‘parent_class’ undeclared (first use in this function)
engine.c:93: error: expected expression before ‘)’ token
engine.c:95: error: ‘IBusObjectDestroyFunc’ undeclared (first use in this function)
engine.c:95: error: expected ‘;’ before ‘ibus_sgpycc_engine_destroy’
engine.c:96: error: ‘ibus_sgpycc_engine_process_key_event’ undeclared (first use in this function)
engine.c: In function ‘ibus_sgpycc_engine_init’:
engine.c
error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c
warning: implicit declaration of function ‘g_string_new’
engine.c:101: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:102: error: ‘IBusSgpyccEngine’ has no member named ‘temporary_disabled’
engine.c:106: error: ‘IBusSgpyccEngine’ has no member named ‘use_double_pinyin’
engine.c:108: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:108: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c: In function ‘ibus_sgpycc_engine_destroy’:
engine.c:114: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:115: warning: implicit declaration of function ‘g_string_free’
engine.c:115: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:115: error: ‘TRUE’ undeclared (first use in this function)
engine.c:116: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:119: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:120: warning: implicit declaration of function ‘g_object_unref’
engine.c:120: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:121: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:127: error: ‘parent_class’ undeclared (first use in this function)
engine.c:127: error: invalid type argument of ‘->’ (have ‘int’)
engine.c:127: error: ‘IBusObject’ undeclared (first use in this function)
engine.c:127: error: expected expression before ‘)’ token
engine.c: In function ‘ibus_sgpycc_engine_update_preedit’:
engine.c:132: error: ‘IBusText’ undeclared (first use in this function)
engine.c:132: error: ‘text’ undeclared (first use in this function)
engine.c:135: error: ‘IBusSgpyccEngine’ has no member named ‘use_double_pinyin’
engine.c:138: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:138: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:140: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:144: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:144: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:145: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:150: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:155: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:158: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:159: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:159: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:161: warning: implicit declaration of function ‘ibus_text_new_from_static_string’
engine.c:161: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:162: warning: implicit declaration of function ‘ibus_attr_list_new’
engine.c:164: warning: implicit declaration of function ‘ibus_attr_list_append’
engine.c:165: warning: implicit declaration of function ‘ibus_attr_underline_new’
engine.c:165: error: ‘IBUS_ATTR_UNDERLINE_SINGLE’ undeclared (first use in this function)
engine.c:165: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:170: warning: implicit declaration of function ‘ibus_attr_background_new’
engine.c:171: warning: implicit declaration of function ‘ibus_attr_foreground_new’
engine.c:178: warning: implicit declaration of function ‘ibus_engine_update_preedit_text’
engine.c:178: error: ‘IBusEngine’ undeclared (first use in this function)
engine.c:178: error: expected expression before ‘)’ token
engine.c: At top level:
engine.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_commit_preedit’
engine.c:211: warning: type defaults to ‘int’ in declaration of ‘gchar’
engine.c:211: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
engine.c:224: error: expected ‘)’ before ‘*’ token
engine.c:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_process_key_event’
engine.c: In function ‘ibus_sgpycc_callback_commit_string_func’:
engine.c:469: warning: implicit declaration of function ‘ibus_sgpycc_engine_commit_string’
make: *** [engine.o] 错误 1
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
gcc -Wall -c -O3 `pkg-config --cflags ibus-1.0` -DPKGDATADIR='"/usr/share/ibus-sogoupycc"' -c engine.c -o engine.o
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
In file included from engine.c:15:
engine.h:17:18: error: ibus.h: 没有该文件或目录
In file included from engine.c:15:
engine.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_get_type’
engine.c:26: error: expected specifier-qualifier-list before ‘IBusEngine’
engine.c:47: error: expected specifier-qualifier-list before ‘IBusEngineClass’
engine.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_process_key_event’
engine.c:57: warning: type defaults to ‘int’ in declaration of ‘gchar’
engine.c:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
engine.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
engine.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_get_type’
engine.c: In function ‘ibus_sgpycc_engine_class_init’:
engine.c:90: error: ‘IBusObjectClass’ undeclared (first use in this function)
engine.c:90: error: (Each undeclared identifier is reported only once
engine.c:90: error: for each function it appears in.)
engine.c:90: error: ‘ibus_object_class’ undeclared (first use in this function)
engine.c:90: warning: implicit declaration of function ‘IBUS_OBJECT_CLASS’
engine.c:91: error: ‘IBusEngineClass’ undeclared (first use in this function)
engine.c:91: error: ‘engine_class’ undeclared (first use in this function)
engine.c:91: warning: implicit declaration of function ‘IBUS_ENGINE_CLASS’
engine.c:93: error: ‘parent_class’ undeclared (first use in this function)
engine.c:93: error: expected expression before ‘)’ token
engine.c:95: error: ‘IBusObjectDestroyFunc’ undeclared (first use in this function)
engine.c:95: error: expected ‘;’ before ‘ibus_sgpycc_engine_destroy’
engine.c:96: error: ‘ibus_sgpycc_engine_process_key_event’ undeclared (first use in this function)
engine.c: In function ‘ibus_sgpycc_engine_init’:
engine.c
engine.c
engine.c:101: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:102: error: ‘IBusSgpyccEngine’ has no member named ‘temporary_disabled’
engine.c:106: error: ‘IBusSgpyccEngine’ has no member named ‘use_double_pinyin’
engine.c:108: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:108: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c: In function ‘ibus_sgpycc_engine_destroy’:
engine.c:114: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:115: warning: implicit declaration of function ‘g_string_free’
engine.c:115: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:115: error: ‘TRUE’ undeclared (first use in this function)
engine.c:116: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:119: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:120: warning: implicit declaration of function ‘g_object_unref’
engine.c:120: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:121: error: ‘IBusSgpyccEngine’ has no member named ‘table’
engine.c:127: error: ‘parent_class’ undeclared (first use in this function)
engine.c:127: error: invalid type argument of ‘->’ (have ‘int’)
engine.c:127: error: ‘IBusObject’ undeclared (first use in this function)
engine.c:127: error: expected expression before ‘)’ token
engine.c: In function ‘ibus_sgpycc_engine_update_preedit’:
engine.c:132: error: ‘IBusText’ undeclared (first use in this function)
engine.c:132: error: ‘text’ undeclared (first use in this function)
engine.c:135: error: ‘IBusSgpyccEngine’ has no member named ‘use_double_pinyin’
engine.c:138: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:138: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:140: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:144: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:144: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:145: error: ‘IBusSgpyccEngine’ has no member named ‘cursor_pos’
engine.c:150: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:155: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:158: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:159: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:159: error: ‘IBusSgpyccEngine’ has no member named ‘fullpinyin’
engine.c:161: warning: implicit declaration of function ‘ibus_text_new_from_static_string’
engine.c:161: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:162: warning: implicit declaration of function ‘ibus_attr_list_new’
engine.c:164: warning: implicit declaration of function ‘ibus_attr_list_append’
engine.c:165: warning: implicit declaration of function ‘ibus_attr_underline_new’
engine.c:165: error: ‘IBUS_ATTR_UNDERLINE_SINGLE’ undeclared (first use in this function)
engine.c:165: error: ‘IBusSgpyccEngine’ has no member named ‘onscreen_preedit’
engine.c:170: warning: implicit declaration of function ‘ibus_attr_background_new’
engine.c:171: warning: implicit declaration of function ‘ibus_attr_foreground_new’
engine.c:178: warning: implicit declaration of function ‘ibus_engine_update_preedit_text’
engine.c:178: error: ‘IBusEngine’ undeclared (first use in this function)
engine.c:178: error: expected expression before ‘)’ token
engine.c: At top level:
engine.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_commit_preedit’
engine.c:211: warning: type defaults to ‘int’ in declaration of ‘gchar’
engine.c:211: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
engine.c:224: error: expected ‘)’ before ‘*’ token
engine.c:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_process_key_event’
engine.c: In function ‘ibus_sgpycc_callback_commit_string_func’:
engine.c:469: warning: implicit declaration of function ‘ibus_sgpycc_engine_commit_string’
make: *** [engine.o] 错误 1
Nothing!
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
Re: ibus搜狗云输入法
谁编译成功了能用啊,我的出现输入法了,可输入完了啥也出不来 

-
- 帖子: 18
- 注册时间: 2008-08-07 3:49
- 联系:
Re: ibus搜狗云输入法
跟我一样lnghng 写了:make出现错误,这个是怎么回事?我是菜鸟
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
gcc -Wall -c -O3 `pkg-config --cflags ibus-1.0` -DPKGDATADIR='"/usr/share/ibus-sogoupycc"' -c engine.c -o engine.o
Package ibus-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ibus-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ibus-1.0' found
In file included from engine.c:15:
engine.h:17:18: error: ibus.h: 没有该文件或目录
In file included from engine.c:15:
***
engine.c: At top level:
engine.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_commit_preedit’
engine.c:211: warning: type defaults to ‘int’ in declaration of ‘gchar’
engine.c:211: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
engine.c:224: error: expected ‘)’ before ‘*’ token
engine.c:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ibus_sgpycc_engine_process_key_event’
engine.c: In function ‘ibus_sgpycc_callback_commit_string_func’:
engine.c:469: warning: implicit declaration of function ‘ibus_sgpycc_engine_commit_string’
make: *** [engine.o] 错误 1
楼主说的:Package ibus-1.0 was not found in the pkg-config search path.
需要安装libibus
- yaffle
- 帖子: 2699
- 注册时间: 2009-10-04 0:32
Re: ibus搜狗云输入法
mark
- lnghng
- 帖子: 93
- 注册时间: 2009-10-03 22:59
Re: ibus搜狗云输入法
源里面没有libibus,到哪儿弄?沿阶草 写了:
楼主说的:Package ibus-1.0 was not found in the pkg-config search path.
需要安装libibus
Nothing!
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
Re: ibus搜狗云输入法
lnghng 写了:源里面没有libibus,到哪儿弄?沿阶草 写了:
楼主说的:Package ibus-1.0 was not found in the pkg-config search path.
需要安装libibus
代码: 全选
sudo apt-get install libibus-dev
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: ibus搜狗云输入法
支持小白们的努力
- xiooli
- 帖子: 6956
- 注册时间: 2007-11-19 21:51
- 来自: 成都
- 联系:
Re: ibus搜狗云输入法
其实可以不用 js 的,用 ascii2uni 转 urlencode。
ps:哪位童鞋会写vim插件的,写个vim插件吧
ps:哪位童鞋会写vim插件的,写个vim插件吧

- lnghng
- 帖子: 93
- 注册时间: 2009-10-03 22:59
Re: ibus搜狗云输入法
谢谢了,撞上去了,跟你一样,输入后没有任何反应,杯具了daf3707 写了:代码: 全选
sudo apt-get install libibus-dev
Nothing!
-
- 帖子: 294
- 注册时间: 2008-09-25 19:58
Re: ibus搜狗云输入法
竟然支持双拼,不错不错
please make sure js and wget are available first
出现这个怎么解决
please make sure js and wget are available first
出现这个怎么解决
- prisoner
- 帖子: 171
- 注册时间: 2008-07-28 14:50
Re: ibus搜狗云输入法
好像libibus-dev的依赖有问题. 装不了.
T60-2007-DN6,T7200,2GB,120GB,14.1SXGA(1400x1050),128MB ATI Radeon X1400,DVD+RW,Intel 802.11abg wireless,DVD+RW/蓝牙/指纹/6芯
好笑的话
好笑的话
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
Re: ibus搜狗云输入法
看来ibus是未来的方向。
2007年后,scim的动作越来越少了。
为scim感到可惜:
http://sourceforge.net/projects/scim/files/scim/
2007年后,scim的动作越来越少了。
为scim感到可惜:
http://sourceforge.net/projects/scim/files/scim/
libibus-dev在官方源和ppa源中,有两个不同的 libibus-dev,可以同时装上:prisoner 写了:好像libibus-dev的依赖有问题. 装不了.
代码: 全选
sudo apt-get install spidermonkey-bin libibus-dev
我也是这个情况, 打字时能出下划线。daf3707 写了:谁编译成功了能用啊,我的出现输入法了,可输入完了啥也出不来
- 附件
-
- linux_20091109-1_i386.deb
- checkinstall 出的,没有冲突和依赖描述。
sudo apt-get install spidermonkey-bin libibus-dev - (16.11 KiB) 已下载 113 次
no security measure is worth anything if an attacker has physical access to the machine
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
Re: ibus搜狗云输入法
我装的也是这个,编译后运行sougou,打字只能出下划线,什么都出不了。daf3707 写了: 我运行了一下js,提示我要安装了个软件,可有两个软件包含它,我就随便安装了一个spidermonkey-bin
no security measure is worth anything if an attacker has physical access to the machine
-
- 帖子: 294
- 注册时间: 2008-09-25 19:58
Re: ibus搜狗云输入法
同样,只有下划线,出不了字,amd64skyx 写了:我装的也是这个,编译后运行sougou,打字只能出下划线,什么都出不了。daf3707 写了: 我运行了一下js,提示我要安装了个软件,可有两个软件包含它,我就随便安装了一个spidermonkey-bin
不知道和编译时出现这个有没有关系?
sogoupycc.c:145: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result