无法构建和安装Geary for Linux

 澳洲开奥拓 发布于 2023-02-12 10:24

我正在运行Elementary OS(Ubuntu),需要构建和安装邮件客户端Geary.

我已下载并解压缩并安装了大多数"缺失"的依赖项.但仍然很少.

我到了终点,我进入:

./configure,然后导致缺少依赖性错误:

cmake version 2.8.7
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Icon cache will be updated
-- Desktop database will be updated
-- Generated desktop file will be checked for errors
-- xgettext found
-- Found Vala: /usr/local/bin/valac 
-- checking for a minimum Vala version of 0.20.1
--   found Vala, version 0.22.1
-- Unity messaging menu support: OFF
-- Unity launcher support: ON
-- Targeting WebKitGTK 1.10.0 to 2.0.4
-- Vala fatal warnings: ON
-- checking for modules 'gthread-2.0;glib-2.0>=2.32.0;gio-2.0>=2.28.0;gtk+-3.0>=3.6.0;gee-0.8>=0.8.5;libnotify>=0.7.5;libcanberra>=0.28;sqlite3>=3.7.4;gmime-2.6>=2.6.0;libsecret-1>=0.11;libxml-2.0>=2.7.8;unity;webkitgtk-3.0>=1.10.0;webkitgtk-3.0<=2.0.4'
--   package 'gtk+-3.0>=3.6.0' not found
--   package 'gee-0.8>=0.8.5' not found
--   package 'libsecret-1>=0.11' not found
--   package 'webkitgtk-3.0>=1.10.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  src/CMakeLists.txt:475 (pkg_check_modules)


-- Reference tracking: OFF
-- GSettings schemas will be compiled.
-- GSettings schemas will be compiled in-place.
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
Creating POT file
-- Found Valadoc: /usr/bin/valadoc 
-- Configuring incomplete, errors occurred!
Unable to prepare build directory.

所以我试图逐个安装每个依赖项,但在fisrt失败.第一个是Gtk.我已下载并解压缩它,然后我按照教程尝试:

~/gtk+-3.8.8$ makesudo make install

要么 make install

但是,它告诉我:

make: *** No targets specified and no makefile found. Stop.

所以我不能makeGtk /可以'安装所需的依赖.到目前为止,我已经阅读了8个不同的网站谷歌,他们都说同样的事情,但没有真正的解决方案,没有任何工作.

所以我被卡住了.

是否有不同的,或更自动的方式来安装这些依赖项?或者我是否总是必须在终端中手动下载和配置/制作/安装它们?似乎这对我安装的所有东西变得越来越普遍,总是缺少依赖性,解决方案通常要求我安装其他需要依赖的东西.谈论递归!

如何安装Terminal要求的这些依赖项?

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有