root@ubuntu:~# cd /root/fcitx-3.1.1
root@ubuntu:~/fcitx-3.1.1# make
make all-recursive
make[1]: Entering directory `/root/fcitx-3.1.1'
Making all in doc
make[2]: Entering directory `/root/fcitx-3.1.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/fcitx-3.1.1/doc'
Making all in tools
make[2]: Entering directory `/root/fcitx-3.1.1/tools'
gcc -g -O2 -INONE -Wall -o mb2txt mb2txt.o -LNONE -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld 返回 1
make[2]: *** [mb2txt] 错误 1
make[2]: Leaving directory `/root/fcitx-3.1.1/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/fcitx-3.1.1'
make: *** [all] 错误 2
安装fcitx出错。以下为错误信息。
-
- 帖子: 18
- 注册时间: 2006-05-20 23:08
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
- Strange
- 帖子: 1824
- 注册时间: 2006-05-19 9:54
- 来自: Shanghai
这个就是没有X11的库造成的情况啊,ubuntu默认什么关于开发的工具都没装,真是麻烦呢
把这些加到/etc/apt/sources.list里面然后apt-update一下,就可以取X11的开发库了deb-src http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系: