杨志全 发表于 2004-7-1 13:11:48

安装gtk+-2.4.3的问题?

系统MDK10,下载gtk+-2.4.3.tar.gz,安装提示,需要GLib,atk,pango,三个软件包.下载glib,atk.pango,软件包,并编译安装在/usr下.再进入gtk+-2.4.3目录,运行./configure命令后提示:Package pango was not found in the pkg-config search path . Perhaps you should add the directory containing 'pango.pc' to the PKG_CONFIG_PATH environment variable .No package 'pango' found.
但是pango软件包我下载并已安装在/usr下了.查看/usr/lib/pkgconfig目录,有pango.pc文件.
问:1,pango.pc文件除了/usr/lib/pkgconfig目录外,还有别的安放点吗?
   2,pkg-config除了检索/usr/lib/pkgconfig目录外,还要检索别的目录吗?
   3,请教,我这个软件不能安装的问题,如何才能解决?

Amorous 发表于 2004-9-10 22:27:41

关注ing……

schoolwind 发表于 2004-9-12 20:18:55

test :export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

dannycat 发表于 2004-9-12 23:25:35

MDK的包组织方式实在是很莫名其妙(不过整体来说还是蛮易用的)。
保持MDK系统稳定的方法有两种:
1. 下载针对 MDK 的 RPM 包
2. 按照 MDK 的目录/包组织方式设置 configure 参数


Mixing stable and cooker packages is as you have experienced (almost)
impossible and completely unsupported. You will want to upgrade to full
Cooker, or recompile all Gnome 2.6 packages on Mandrakelinux 10 (this last
solution is also unsupported, but it should work with a bit of work).

Amorous 发表于 2004-9-13 08:01:12

MDK10的GTK+是那个版本?
页: [1]
查看完整版本: 安装gtk+-2.4.3的问题?