如何安装 gio-unix-2.28.0

如何安装 gio-unix-2.28.0

当我安装应用程序(libvirt-sandbox-0.1.2)时,我收到此消息:

configure: error: Package requirements (gio-unix-2.0 >= 2.28.0) were not met:

No package 'gio-unix-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 GIO_UNIX_CFLAGS
and GIO_UNIX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

如何安装这个库?

答案1

如果我没记错的话,GIO 是 glib 的一部分。由于你似乎想根据 in 编译软件,我猜你应该安装 libglib2.0-dev

sudo apt-get install libglib2.0-dev

相关内容