ibus搜狗云输入法

系统字体配置、中文显示和输入法问题
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

Re: ibus搜狗云输入法

#16

帖子 bones7456 » 2009-11-09 11:49

速度真快啊~
关注我的blog: ε==3
头像
lnghng
帖子: 93
注册时间: 2009-10-03 22:59

Re: ibus搜狗云输入法

#17

帖子 lnghng » 2009-11-09 13:04

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:100: error: ‘IBusSgpyccEngine’ has no member named ‘preedit’
engine.c:100: 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
Nothing!
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: ibus搜狗云输入法

#18

帖子 daf3707 » 2009-11-09 13:08

谁编译成功了能用啊,我的出现输入法了,可输入完了啥也出不来 :em03
沿阶草
帖子: 18
注册时间: 2008-08-07 3:49
联系:

Re: ibus搜狗云输入法

#19

帖子 沿阶草 » 2009-11-09 13:26

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搜狗云输入法

#20

帖子 yaffle » 2009-11-09 14:02

mark
我越孤独,我便越爱这个世界,以及这个世界上一切比我幸福的人~!~
待我成尘时,你将见我的微笑!
他人笑我看不穿,我笑他人太疯癫。
偶的博客:百草围(坚持长期不更新,需耐心看)
头像
lnghng
帖子: 93
注册时间: 2009-10-03 22:59

Re: ibus搜狗云输入法

#21

帖子 lnghng » 2009-11-09 14:03

沿阶草 写了:
楼主说的:Package ibus-1.0 was not found in the pkg-config search path.

需要安装libibus
源里面没有libibus,到哪儿弄?
Nothing!
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: ibus搜狗云输入法

#22

帖子 daf3707 » 2009-11-09 14:14

lnghng 写了:
沿阶草 写了:
楼主说的:Package ibus-1.0 was not found in the pkg-config search path.

需要安装libibus
源里面没有libibus,到哪儿弄?

代码: 全选

sudo apt-get install libibus-dev
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: ibus搜狗云输入法

#23

帖子 onelynx » 2009-11-09 14:26

支持小白们的努力
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

Re: ibus搜狗云输入法

#24

帖子 xiooli » 2009-11-09 14:27

其实可以不用 js 的,用 ascii2uni 转 urlencode。

ps:哪位童鞋会写vim插件的,写个vim插件吧 :em11
头像
lnghng
帖子: 93
注册时间: 2009-10-03 22:59

Re: ibus搜狗云输入法

#25

帖子 lnghng » 2009-11-09 18:04

daf3707 写了:

代码: 全选

sudo apt-get install libibus-dev
谢谢了,撞上去了,跟你一样,输入后没有任何反应,杯具了
Nothing!
lsl330
帖子: 294
注册时间: 2008-09-25 19:58

Re: ibus搜狗云输入法

#26

帖子 lsl330 » 2009-11-09 19:15

竟然支持双拼,不错不错
please make sure js and wget are available first
出现这个怎么解决
头像
prisoner
帖子: 171
注册时间: 2008-07-28 14:50

Re: ibus搜狗云输入法

#27

帖子 prisoner » 2009-11-09 19:27

好像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搜狗云输入法

#28

帖子 skyx » 2009-11-09 19:56

看来ibus是未来的方向。


2007年后,scim的动作越来越少了。
为scim感到可惜:

http://sourceforge.net/projects/scim/files/scim/
prisoner 写了:好像libibus-dev的依赖有问题. 装不了.
libibus-dev在官方源和ppa源中,有两个不同的 libibus-dev,可以同时装上:

代码: 全选

sudo apt-get install spidermonkey-bin    libibus-dev
daf3707 写了:谁编译成功了能用啊,我的出现输入法了,可输入完了啥也出不来 :em03
我也是这个情况, 打字时能出下划线。
附件
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搜狗云输入法

#29

帖子 skyx » 2009-11-09 20:45

daf3707 写了: 我运行了一下js,提示我要安装了个软件,可有两个软件包含它,我就随便安装了一个spidermonkey-bin
我装的也是这个,编译后运行sougou,打字只能出下划线,什么都出不了。
no security measure is worth anything if an attacker has physical access to the machine
lsl330
帖子: 294
注册时间: 2008-09-25 19:58

Re: ibus搜狗云输入法

#30

帖子 lsl330 » 2009-11-09 20:59

skyx 写了:
daf3707 写了: 我运行了一下js,提示我要安装了个软件,可有两个软件包含它,我就随便安装了一个spidermonkey-bin
我装的也是这个,编译后运行sougou,打字只能出下划线,什么都出不了。
同样,只有下划线,出不了字,amd64

不知道和编译时出现这个有没有关系?
sogoupycc.c:145: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
回复