最近fcitx小企鹅输入法更新很快, 而ubuntu源里面的版本还是07年的, 故计划升级之。 而fcitx一般只有源码, 需要编译安装。
1, 下载最新稳定版
http://www.fcitx.org/main/?q=node/9
或者 http://code.google.com/p/fcitx/downloads/list
解压到任意目录
2, ./configure –prefix=<安装目录>
其间可缺少包: libxpm-dev, 需要 sudo apt-get install libxpm-dev
3, make && make install
其间可能会有一下错误:
/usr/bin/ld: cannot find -lXtst
缺少库 libXtst.so, 默认情况下libxtst6包应该已经装了, 建立个软链接即可sudo ln -s /usr/lib/libXtst.so.6.1.0 /usr/lib/libXtst.so
4, sudo gedit /etc/X11/xinit/xinput.d/fcitx
XIM=fcitx XIM_PROGRAM=<安装目录>/fcitx XIM_ARGS="" GTK_IM_MODULE=XIM QT_IM_MODULE=XIM DEPENDS="fcitx"
5
update-alternatives --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/fcitx 30
6.
sudo im-switch -s fcitx im-switch -s fcitx
作者:yaozer 原文链接:ubuntu 源码安装 fcitx
欢迎转载, 非常感谢你能注明作者和原始出处。
I noticed this webpage as someone used the saying lipo bind in a very recent article. My specialty is weight loss. For this reason I’m always curious as to reading exactly what inspires successful individuals. blog.
How are you ? I unquestionably enjoy your document. In the event that you may desire to speak with regards to it,I’d cherish to have a discussion together with you, my name is Ike. My own mail is preceding. Thank you!
I must have functionality of predominantly to thank a person will for a particular pro reviews We have now normally played out researching net. We’re longing for the start because of the actual grounds investigate and also the enormous ground moves would not continues to be absolute without having to arrival up to your blog site. Merely can be from any be an aid to other types, We are fortunate which can in what I’ve practiced came from here.
Howdy, thank you very a lot for this post. I am interested in the design you are using. Could you send me an email?
I thought I had a grasp on this topic until I read your article. I was very mistaken. You have taught me something today. Your article really opened my eyes.
I keep listening to the information talk about getting free online provide purposes so I have been trying around for the best site to get one. http://www.pentlands.getlisted.co.nz/auckland-accommodation
Excellent website. Plenty of useful info here. I’m sending it to some pals ans additionally sharing in delicious. And of course, thank you to your sweat!
F*ckin’ remarkable things here. I am very glad to see your article. Thank you so much and i am taking a look forward to contact you. Will you please drop me a e-mail?
vk.o: In function `DrawVKWindow’:
/home/bells/tools/fcitx-3.6.3/src/vk.c:150: undefined reference to `XpmCreateImageFromData’
about.o: In function `setIcon’:
/home/bells/tools/fcitx-3.6.3/src/about.c:193: undefined reference to `XpmCreatePixmapFromData’
/home/bells/tools/fcitx-3.6.3/src/about.c:195: undefined reference to `XpmGetErrorString’
collect2: ld returned 1 exit status
make[2]: *** [fcitx] Error 1
make[2]: Leaving directory `/home/bells/tools/fcitx-3.6.3/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bells/tools/fcitx-3.6.3′
make: *** [all] Error 2
vk.o: In function `DrawVKWindow’:
/home/bells/tools/fcitx-3.6.3/src/vk.c:150: undefined reference to `XpmCreateImageFromData’
about.o: In function `setIcon’:
/home/bells/tools/fcitx-3.6.3/src/about.c:193: undefined reference to `XpmCreatePixmapFromData’
/home/bells/tools/fcitx-3.6.3/src/about.c:195: undefined reference to `XpmGetErrorString’
collect2: ld returned 1 exit status
make[2]: *** [fcitx] Error 1
make[2]: Leaving directory `/home/bells/tools/fcitx-3.6.3/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bells/tools/fcitx-3.6.3′
make: *** [all] Error 2
why???