xingzhixi / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

CENTOS #285

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Original issue reported on code.google.com by bailian...@gmail.com on 18 Jan 2012 at 8:18

GoogleCodeExporter commented 8 years ago
CENTOS 6.2 64位系统

用下边的命令正常编译通过后,在IBUS的选项里边能出现SUNPINY
IN的选项

但是无法正常输入,IBUS自动关闭。

git clone git://github.com/sunpinyin/sunpinyin.git
cd sunpinyin/
scons --prefix=/usr
scons install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
cd wrapper/
cd ibus
scons --prefix=/usr

scons install

Original comment by bailian...@gmail.com on 18 Jan 2012 at 8:21

GoogleCodeExporter commented 8 years ago
[gavin@localhost lib]$ ibus-daemon --xim -v
** Message: Use database /usr/share/ibus-pinyin/db/android.db
/usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: 
object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
/usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: 
object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
(ibus-daemon:4033): IBUS-DEBUG: From ::1.1 to :1.8, Error: 
org.freedesktop.DBus.Error.Failed : Can not get value [panel->position]
/usr/lib//ibus-sunpinyin/ibus-engine-sunpinyin: error while loading shared 
libraries: libsunpinyin.so.3: cannot open shared object file: No such file or 
directory

Original comment by bailian...@gmail.com on 18 Jan 2012 at 8:27

GoogleCodeExporter commented 8 years ago
手动解决办法

在/etc/ld.so.conf.d/
创建sunpinyin
内容 /usr/lib

命令ldconfig刷新库文件缓冲

上边的文字就是用sunpinyin打出来的,挺好用的。

Original comment by bailian...@gmail.com on 18 Jan 2012 at 8:46

GoogleCodeExporter commented 8 years ago
受教了,谢谢!

Original comment by linuxc...@gmail.com on 22 Sep 2012 at 2:12