|
以前是可以正常使用fcitx-sunpinyin的,不知什么时候开始就不能编译了,然后发现是找不到 sunpinyin-2.0,可sunpinyin已经安装在了/usr/include/sunpinyin-2.0/下。
去sunpinyin的官方看了看,里面说可以用 pkg-config sunpinyin-2.0 --modversion 来检测是否安装成功,试了下,回答是
- Package sunpinyin-2.0 was not found in the pkg-config search path.
- Perhaps you should add the directory containing `sunpinyin-2.0.pc'
- to the PKG_CONFIG_PATH environment variable
- No package 'sunpinyin-2.0' found
复制代码
而 /usr/lib/pkgconfig/sunpinyin-2.0.pc 这个文件是有的。
===================
发现gentoo的pkgconfig目录是 /usr/share/pkgconfig ,以前能正常用,现在不行,难道此目录前不久更换了?
===================
前不久动了/usr,把系统弄乱了。不是pkgconfig的问题,是自己系统/usr路径不当的问题。 |
|