saint@fit106-vb:~/desktop/kpfs-read-only$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... no
configure: error: Package requirements (glib-2.0) were not met:
No package 'glib-2.0' found
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.
我apt-cahce search glib看了一下。发现有好多种。。而且有些装过的。:
saint@fit106-vb:~/desktop/kpfs$ apt-cache search glib-2.0
gir1.2-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
libqtglib-2.0-0 - C++ bindings library for GLib and GObject with a Qt-style API
gir1.2-spice-client-glib-2.0 - GObject for communicating with Spice servers (GObject-Introspection)
libfsoresource-dev - Development files for libfsoresource
libfsosystem-dbg - debugging symbols for use with libfsosystem
libfsosystem-dev - Development files for libfsosystem
libspice-client-glib-2.0-1 - GObject for communicating with Spice servers (runtime library)
libspice-client-glib-2.0-dev - GObject for communicating with Spice servers (development files)
saint@fit106-vb:~/desktop/kpfs$ sudo apt-get install gir1.2-glib-2.0
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
gir1.2-glib-2.0 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 376 个软件包未被升级。