LinuxSir.cn,穿越时空的Linuxsir!

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

安装glib的问题

[复制链接]
发表于 2004-8-30 18:25:10 | 显示全部楼层 |阅读模式
安装了glib-2.41,然后装pango-1.4.1,但出现错误,提示如下:
checking for pkg-config... /usr/local/bin/pkg-config
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.1, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
该怎么解决,谢谢!!
发表于 2004-8-30 18:34:08 | 显示全部楼层
问一下,你是用哪种方法安装的?
发表于 2004-8-30 18:35:52 | 显示全部楼层
解决方法
export PATH=$PATH:"你的glib路径"
 楼主| 发表于 2004-8-30 19:22:52 | 显示全部楼层
是用./configure装的,一般会装在哪里阿?
发表于 2004-8-30 19:40:19 | 显示全部楼层
1.删除原来的 GLIB (2.2.3)
2.安装 fontconfig 和 freetype。
 楼主| 发表于 2004-8-30 19:55:52 | 显示全部楼层
请问怎么删?能说详细点吗?谢谢!
发表于 2004-8-30 20:28:15 | 显示全部楼层
我不知道你的系统是什么。
 楼主| 发表于 2004-8-30 20:41:37 | 显示全部楼层
是fc1的,如果删了老的,新的还装不上系统会完蛋吧?顺便问一下,用./configure,一般会装在哪里?谢谢!!
 楼主| 发表于 2004-8-31 17:33:00 | 显示全部楼层
老大,别说一半就闪人啊。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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