Chinaunix首页 | 论坛 | 博客
  • 博客访问: 101454207
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-10 11:08:46

作者: oniprbl  出自:
我在安装scim时出现了这样的问题:

checking for scim >= 1.2.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 >= 1.2.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.

我感觉很奇怪,因为我在安装gstreamer的插件时出现了同样的问题。因此偶然间我明白了,如果再次出现这样的问题我就找到安装包的位置,将它设置为全局变量,方便查找。以我安装scim举例,我将scim安装在/usr/scim下,于是设置变量

LD_LIBRARY_PATH=/usr/scim/lib
PKG_CONFIG_PATH=$LD_LIBRARY_PATH/pkgconfig

这样的话这个问题就应该可以解决了。
阅读(366) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~