枫影谁用了 发表于 2005-2-27 14:56:00

redhat9编译 gtk2.60的问题

checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0... Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.1

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

jiangtao9999 发表于 2005-2-27 15:28:32


Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.1

枫影谁用了 发表于 2005-2-27 16:59:27


Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.1



问题已解决!
原来 是编译时没有加参数--prefix=/usr --exec-prefix=/usr

blackhost 发表于 2005-3-31 16:26:58

不是吧,我加了也不行
页: [1]
查看完整版本: redhat9编译 gtk2.60的问题