求助:在编译安装DFB过程中./configure atk时遇到的问题,找不到glib,小弟很急,希望大虾能给点建议!

编译打包和其他
回复
daixianbiao
帖子: 23
注册时间: 2007-10-26 12:52

求助:在编译安装DFB过程中./configure atk时遇到的问题,找不到glib,小弟很急,希望大虾能给点建议!

#1

帖子 daixianbiao » 2008-11-17 19:38

checking for GLIB - version >= 2.5.7... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

这是./configure atk时遇到的问题,我是把dfb安装在一个/usr/local/dfb下,环境变量设置如下(完全按照官方网站上的步骤):
* export LD_LIBRARY_PATH=/usr/local/dfb/lib
* export PATH=/usr/local/dfb/bin/:$PATH
* export PKG_CONFIG=/usr/local/dfb/bin/pkg-config
* export PKG_CONFIG_PATH=/usr/local/dfb/lib/pkgconfig
* export CPPFLAGS=-I/usr/local/dfb/include
* export LDFLAGS=-L/usr/local/dfb/lib
glib已经安装成功了,现在编译atk时就过不去了,希望大虾们给小弟点建议什么的,谢谢阿!
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: 求助:在编译安装DFB过程中./configure atk时遇到的问题,找不到glib,小弟很急,希望大虾能给点建议!

#2

帖子 HuntXu » 2008-11-17 22:00

glib-dev
HUNT Unfortunately No Talent...
回复