LinuxSir.cn,穿越时空的Linuxsir!

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

fcitx 3.2.1 and 3.3 compile error in gentoo

[复制链接]
发表于 2006-8-20 22:37:19 | 显示全部楼层 |阅读模式
both 3.2.1 and 3.3 are all can't compile in gentoo.
I have emerged libXpm:
  1. [ebuild   R   ] x11-libs/libXpm-3.5.5  USE="-debug" 0 kB
复制代码
  1. about.o: In function `setIcon':
  2. about.c:(.text+0x78): undefined reference to `XpmCreatePixmapFromData'
  3. about.c:(.text+0x120): undefined reference to `XpmGetErrorString'
  4. collect2: ld returned 1 exit status
  5. make[2]: *** [fcitx] Error 1
  6. make[2]: Leaving directory `/var/tmp/portage/fcitx-3.3/work/fcitx-3.3/src'
  7. make[1]: *** [all-recursive] Error 1
  8. make[1]: Leaving directory `/var/tmp/portage/fcitx-3.3/work/fcitx-3.3'
  9. make: *** [all] Error 2
复制代码

the pre-compile version can't run under gentoo
  1. fcitx
  2. Segmentation fault
复制代码
发表于 2006-8-21 09:26:19 | 显示全部楼层
是没有加上-lxpm的库,请修改一个下src下的makefile,在-lX11后增加-lXpm
回复 支持 反对

使用道具 举报

发表于 2006-9-10 18:04:28 | 显示全部楼层
3.3.1 还是有这个问题,出错的 gcc 命令行里,已经有 -lXpm ,只是在中间, 一堆 *.o 之前,其他的 -lX 等都在最后。

看了 Makefile.am 和 Makefile.in  Makefile 无从下手。
回复 支持 反对

使用道具 举报

发表于 2006-9-29 21:25:58 | 显示全部楼层
  1. sed 's/ -lX11 / -lX11 -lXpm /' -i configure.in
  2. ereconf
复制代码


已经加在 gentoo-china-overlay 里了 ,3.3.1 和 3.4 的。

http://gentoo-china-overlay.goog ... unk/app-i18n/fcitx/
回复 支持 反对

使用道具 举报

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

本版积分规则

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