LinuxSir.cn,穿越时空的Linuxsir!

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

编译scim-chinese0.3.0出错。

[复制链接]
发表于 2004-5-1 12:11:17 | 显示全部楼层 |阅读模式
系统:kernel2.6.5,qt3.3.1,kde3.2.2,gtk2-2.4.0.编译csim0.9.6顺利通过。编译csim-chinese时在configue时出错。信息如下:
checking for scim >= 0.9.0... Package scim was not found in the pkg-config search path.
Perhaps you should add the directory containing `scim.pc'
to the PKG_CONFIG_PATH environment variable
No package 'scim' found

configure: error: Library requirements (scim >= 0.9.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
请问我该修改哪个文件的配置?先谢过了。
发表于 2004-5-1 12:31:46 | 显示全部楼层
你安装了 scim 了吗?安装到什么地方了?
 楼主| 发表于 2004-5-1 13:03:49 | 显示全部楼层
按默认编译安装的scim0.9.6,在/usr/loacl
发表于 2004-5-1 13:15:51 | 显示全部楼层
最初由 benjaming 发表
按默认编译安装的scim0.9.6,在/usr/loacl

有趣,看来 pkg-config 默认不读 /usr/local/lib/pkgconfig?用这个试试:
  $ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure

不过如果你对系统不熟悉的话,我还是建议你把 scim 装在 /usr 比较好。suzhe 在前面提到过的,应该是
  $ ./configure --prefix=/usr --sysconfdir=/etc

Edit:  Fix a typo -- /usr/local/pkgconfig should be /usr/local/lib/pkgconfig
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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