redhat9编译 gtk2.60的问题
checking whether build environment is sane... yeschecking 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
Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.1
Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.2.1
问题已解决!
原来 是编译时没有加参数--prefix=/usr --exec-prefix=/usr 不是吧,我加了也不行
页:
[1]