我想不通。我似乎已經安裝了所有 deps,但是在嘗試在 Xenial 上編譯 ValaPanel 時出現以下錯誤:
./configure
將輸出:
-- Looking for RPMTools... - rpmbuild NOT FOUND
-- checking for a minimum Vala version of 0.34
-- found Vala, version 0.36.7
-- Checking for module 'gtk+-3.0>=3.22'
--
-- Checking for module 'glib-2.0>=2.50'
--
-- Checking for module 'gio-2.0>=2.50'
--
-- Checking for module 'gio-unix-2.0>=2.50'
--
-- Checking for module 'gthread-2.0>=2.50'
--
-- Checking for module 'gmodule-2.0>=2.50'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:130 (pkg_check_modules)
答案1
該libglib2.0-dev
軟體包可能已過時。它提供/usr/lib/x86_64-linux-gnu/pkgconfig/gmodule-2.0.pc
版本所在的文件2.48.2
,但不符合vala-panel
建置要求。我建議libglib2.0-dev
透過從新版本向後移植包或手動進行更新。