./configure遇到的pkg-config问题

最大的社区版本,Ubuntu的发源地
回复
fexin
帖子: 10
注册时间: 2010-07-27 15:37

./configure遇到的pkg-config问题

#1

帖子 fexin »

编译pnmixer时,到检查pkg-config版本这一步时出错如下:
checking pkg-config is at least version 0.9.0... ./configure: line 5614: /usr/lib/pkgconfig/: Is a directory
yes
checking for PACKAGE... no
configure: error: in `/home/fexin/pnmixer-0.5':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

环境变量改了也不行,大概是缺了pkg-config script吧,少安装了什么软件吗?求解.
fexin
帖子: 10
注册时间: 2010-07-27 15:37

Re: ./configure遇到的pkg-config问题

#2

帖子 fexin »

求教啊 :em20
头像
c43035
帖子: 724
注册时间: 2008-10-22 14:29
联系:

Re: ./configure遇到的pkg-config问题

#3

帖子 c43035 »

不懂 :em03
帮顶

代码: 全选

www.bashell.org
亲,走过路过,不要错过
回复