LinuxSir.cn,穿越时空的Linuxsir!

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

sunpinyin不能被pkg-config识别[请跳过][solved]

[复制链接]
发表于 2011-8-4 23:17:48 | 显示全部楼层 |阅读模式
以前是可以正常使用fcitx-sunpinyin的,不知什么时候开始就不能编译了,然后发现是找不到 sunpinyin-2.0,可sunpinyin已经安装在了/usr/include/sunpinyin-2.0/下。
去sunpinyin的官方看了看,里面说可以用 pkg-config sunpinyin-2.0 --modversion 来检测是否安装成功,试了下,回答是

  1. Package sunpinyin-2.0 was not found in the pkg-config search path.
  2. Perhaps you should add the directory containing `sunpinyin-2.0.pc'
  3. to the PKG_CONFIG_PATH environment variable
  4. No package 'sunpinyin-2.0' found
复制代码

而 /usr/lib/pkgconfig/sunpinyin-2.0.pc 这个文件是有的。

===================
发现gentoo的pkgconfig目录是 /usr/share/pkgconfig ,以前能正常用,现在不行,难道此目录前不久更换了?

===================
前不久动了/usr,把系统弄乱了。不是pkgconfig的问题,是自己系统/usr路径不当的问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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