LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 975|回复: 5

编译ucimf+fbterm不能通过

[复制链接]
发表于 2009-4-23 17:55:59 | 显示全部楼层 |阅读模式
按照ucimf手册上的说明下载三个
  1. libucimf
  2. ucimf-openvanilla
  3. openvanilla-modules
复制代码

然后编译,没有一个是通过的,先是libucimf有这样的错误提示

  1. dwj@larrivee:~/fbterm/libucimf-2.2.8$ make
  2. make  all-recursive
  3. make[1]: Entering directory `/home/dwj/fbterm/libucimf-2.2.8'
  4. Making all in display
  5. make[2]: Entering directory `/home/dwj/fbterm/libucimf-2.2.8/display'
  6. make[2]: Nothing to be done for `all'.
  7. make[2]: Leaving directory `/home/dwj/fbterm/libucimf-2.2.8/display'
  8. make[2]: Entering directory `/home/dwj/fbterm/libucimf-2.2.8'
  9. /bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I. -I./include -I./include/imf `pkg-config --cflags freetype2`   -g -O2 -MT libucimf_la-graphdev.lo -MD -MP -MF .deps/libucimf_la-graphdev.Tpo -c -o libucimf_la-graphdev.lo `test -f 'graphdev.cpp' || echo './'`graphdev.cpp
  10. /bin/sh: pkg-config: command not found
  11. g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -g -O2 -MT libucimf_la-graphdev.lo -MD -MP -MF .deps/libucimf_la-graphdev.Tpo -c graphdev.cpp  -fPIC -DPIC -o .libs/libucimf_la-graphdev.o
  12. In file included from font.h:21,
  13.                  from graphdev.cpp:39:
  14. /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
  15. In file included from graphdev.cpp:39:
  16. font.h:22:10: error: #include expects "FILENAME" or <FILENAME>
  17. In file included from graphdev.cpp:39:
  18. font.h:45: error: 'FT_Library' does not name a type
  19. font.h:46: error: 'FT_Face' does not name a type
  20. graphdev.cpp: In member function 'void GraphDev::DrawLine(int, int, int, int, int)':
  21. graphdev.cpp:116: error: 'abs' was not declared in this scope
  22. make[2]: *** [libucimf_la-graphdev.lo] Error 1
  23. make[2]: Leaving directory `/home/dwj/fbterm/libucimf-2.2.8'
  24. make[1]: *** [all-recursive] Error 1
  25. make[1]: Leaving directory `/home/dwj/fbterm/libucimf-2.2.8'
  26. make: *** [all] Error 2
复制代码

接着编译后面两个也没有通过。
发表于 2009-4-23 19:27:00 | 显示全部楼层
/etc/apt/sources.list加上源
  1. deb http://people.debian.org.tw/~mat/ lenny main
复制代码
update一下,安装fbterm-ucimf ucimf-openvanilla openvanilla-modules

编译安装fbterm就可以了


如果要自己编译的话,还缺fbterm_ucimf
./configure 没错误?
要装libltdl3-dev,才能正确配置编译libucimf
装上libucimf后(有必要的头文件),才能正确配置编译ucimf-openvanilla和fbterm_ucimf
而且我用默认的方式配置编译安装
  1. $./configure
  2. $make
  3. $sudo make install
复制代码
最后还是无法使用输入法,卸载掉
改用
./configure --prefix='/usr'
重新配置编译安装后才能使用输入法
回复 支持 反对

使用道具 举报

发表于 2009-4-25 08:59:20 | 显示全部楼层
深空兄有个帖子关於这玩意

http://www.linuxsir.cn/bbs/thread347630.html
回复 支持 反对

使用道具 举报

发表于 2009-4-25 12:09:12 | 显示全部楼层
debian 方式安装,请参考
http://www.linuxsir.cn/bbs/thread349378.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-25 23:15:18 | 显示全部楼层
Post by kgnn;1978503
/etc/apt/sources.list加上源
  1. deb http://people.debian.org.tw/~mat/ lenny main
复制代码

update一下,安装fbterm-ucimf ucimf-openvanilla openvanilla-modules

编译安装fbterm就可以了


如果要自己编译的话,还缺fbterm_ucimf
./configure 没错误?
要装libltdl3-dev,才能正确配置编译libucimf
装上libucimf后(有必要的头文件),才能正确配置编译ucimf-openvanilla和fbterm_ucimf
而且我用默认的方式配置编译安装
  1. $./configure
  2. $make
  3. $sudo make install
复制代码

最后还是无法使用输入法,卸载掉
改用
./configure --prefix='/usr'
重新配置编译安装后才能使用输入法


请问一下上面的源用163(http://mirrors.163.com/)的可 ... 3的速度最快。
回复 支持 反对

使用道具 举报

发表于 2009-4-25 23:38:33 | 显示全部楼层
Post by roofers;1979563
请问一下上面的源用163(http://mirrors.163.com/)的可 ... 3的速度最快。


那个应该是ucimf的作者弄的源,就是那么几个包而已
163的源似乎不会加那东西,除非进入debian官方源
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表