【发布时间】:2015-04-28 00:51:24
【问题描述】:
我正在运行 64 位 Debian Wheezy,我一直在尝试使用步骤 here. 编译 gobject-introspection 当我最初尝试使用以下方法编译它时:
./configure --prefix=/usr --disable-static &&
make
它抱怨我的 GLib 版本太低 (2.42.1)。于是我就去编译了 GLib 2.44.0,并顺利安装了它。我试图再次编译它,但它返回了同样的错误。这是日志的相关部分。
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.44.0) were not met:
Requested 'glib-2.0 >= 2.44.0' but version of GLib is 2.42.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
当我运行“gapplication version”和“gtester --version”时,我得到“2.44.0”,但是当我运行“gsettings --version”时,它返回 2.42.1 - 我的初始版本。不过,我不确定这是否相关。
欢迎提出任何建议并非常感谢。
【问题讨论】:
标签: compiler-errors makefile glib gobject-introspection