Package-Management
Mint 19 - Pidgin IM Purple 外掛 - 配置時出錯:找不到包 ‘json-glib-1.0’
系統:Linux Mint 19 Cinnamon 64 位,基於 Ubuntu 18.04。
Pidgin:從原始碼建構,版本 2.13.0。
Purple Facebook:我想從原始碼建構它,版本 0.9.5。
但是我收到了我無法找到的失去包錯誤。
$ ./configure ... checking for json-glib-1.0 >= 0.14.0... no configure: error: Package requirements (json-glib-1.0 >= 0.14.0) were not met: No package 'json-glib-1.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 JSON_CFLAGS and JSON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
在搜尋包時,我得到類似命名的結果:
$ apt-cache policy json-glib-1.0 libjson-glib-1.0-0: Installed: 1.4.2-3 Candidate: 1.4.2-3 Version table: *** 1.4.2-3 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status libjson-glib-1.0-common: Installed: 1.4.2-3 Candidate: 1.4.2-3 Version table: *** 1.4.2-3 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages 100 /var/lib/dpkg/status
我缺少一個開發包:
sudo apt-get install libjson-glib-dev