prompt:> cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- The CMake build type is: RelWithDebInfo
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Checking for module 'gtk+-quartz-3.0'
-- No package 'gtk+-quartz-3.0' found
-- Found the following ICU libraries:
-- data (required)
-- i18n (required)
-- uc (required)
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
Source/cmake/FindLibSoup.cmake:35 (pkg_check_modules)
Source/cmake/OptionsGTK.cmake:30 (find_package)
Source/cmake/WebKitCommon.cmake:56 (include)
CMakeLists.txt:169 (include)
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/Downloads/webkitgtk-2.26.2/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/Downloads/webkitgtk-2.26.2/CMakeFiles/CMakeError.log".
我已经libgtk-3-dev
使用 apt 包管理器安装了。
我正在尝试使用 deb 包安装 citrix 接收器。但是它需要额外的软件包:
dpkg: dependency problems prevent configuration of icaclient:
icaclient depends on libwebkit-1.0-2 | libwebkitgtk-1.0-0;
however:
Package libwebkit-1.0-2 is not installed.
Package libwebkitgtk-1.0-0 is not installed.
这就是我从网站安装 webkit gtk 源代码的原因,(https://webkitgtk.org/)
特别是这个链接:
https://webkitgtk.org/releases/webkitgtk-2.26.2.tar.xz
tl;博士:您缺少 libsoup。跑
sudo apt install libsoup2.4-dev
这是一条红鲱鱼。该脚本查找quartz(仅限mac)并仅在可用时使用它。
看着
看起来它实际上未能找到libsoup的脚本。你可以安装 libsoup
sudo apt install libsoup2.4-dev
另外,欢迎来到 AskUbuntu!