LinuxSir.cn,穿越时空的Linuxsir!

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

求助!!glib问题

[复制链接]
发表于 2004-10-23 10:33:52 | 显示全部楼层 |阅读模式
在装downloax时提示:


checking for esd-config... no
checking for ESD - version >= 0.2.7... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.4.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.4.0 not installed! ***
linux:/home/hgstudio/d4x-2.5.0final # ./configure






我装了 gilb2.4.7了。怎么还是提示没装阿。看论坛里 文章说是改 环境变量PKG_CONFIG_PATH 。
怎么改阿。我是 菜鸟。
版主帮帮我 阿。先谢了 。。。。
发表于 2004-10-23 12:09:54 | 显示全部楼层
用export命令
export XXX="???"
可以先看看man export。
发表于 2004-10-23 12:11:35 | 显示全部楼层
用export命令
export XXX="???"
可以先看看man export。
发表于 2004-10-23 12:11:58 | 显示全部楼层
用export命令
export XXX="???"
可以先看看man export。
发表于 2004-10-23 12:12:55 | 显示全部楼层
用export命令
export XXX="???"
可以先看看man export。
 楼主| 发表于 2004-10-23 12:22:05 | 显示全部楼层
太菜了我,看不懂呀。有没有别的方法
发表于 2004-10-23 13:44:11 | 显示全部楼层
#export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 楼主| 发表于 2004-10-23 17:38:13 | 显示全部楼层
照版主的 作法。编译时。能 找到glib可是 缺少gtk。在装gtk时又遇到下面问题,我系统里 有atk和pango啊。他说的*.pc文件我是pkconfig自动生成的吗?还是 手工添加吗。man pkgconfig里的 e文我 也看的胡里胡涂。大家帮 帮我吧。
谢谢版主各位了 。。。

checking for pkg-config... /usr/local/bin/pkg-config
checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found

configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.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.


:help
发表于 2004-10-23 18:58:29 | 显示全部楼层
先查查你glib的安装位置。
#locate glib-2.0.pc
再把该路径加入环境变量。
#export PKG_CONFIG_PATH=路径

我的如下:
Feng:~ # locate glib-2.0.pc
/opt/gnome/lib/pkgconfig/glib-2.0.pc

应该这样:
#export PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig
 楼主| 发表于 2004-10-23 21:47:25 | 显示全部楼层
谢谢版主。我是按照你的作法。设置了 变量。可是后来又遇到了 新的问题。看来 这路还 很长啊。。。。。
我下载并安装了 freetype2.1.9 h和pango1.6.0 。可是还是 提示需要pango1.2.0
我是把pango。pc拷到了 /usr/local/lib/pkgconfig/  和/opt/gnome/lib/pkgconfig/
还是不行。实在是麻烦版主了 。。。。唉。我太菜了 。谢谢版主。。


hecking return type of signal handlers... (cached) void
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/local/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
configure: error: Pango 1.2.0 and Xft backend is required for x11 target
:thank :thank :thank
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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