Сборка Emacs Ubuntu, библиотеки не найдены - PullRequest
0 голосов
/ 22 марта 2019

Я пытаюсь установить emacs 26-1. Когда я запускаю ./configure, я вижу следующую ошибку:

configure: error: The following required libraries were not found:
    libXpm libjpeg libgif/libungif libtiff gnutls
Maybe some development libraries/packages are missing?

Однако они, кажется, уже там. Я пробовал несколько вещей, как

: ~$ apt-cache search gnutls
gnutls-doc - GNU TLS library - documentation and examples
libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavour)
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libgnutls-openssl27 - GNU TLS library - OpenSSL wrapper

или

:~$ sudo apt install libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcurl4-gnutls-dev is already the newest version (7.58.0-2ubuntu3.6).
0 to upgrade, 0 to newly install, 0 to remove and 11 not to upgrade.

Все выглядит хорошо. Чего мне не хватает?

Ответы [ 2 ]

2 голосов
/ 22 марта 2019

Для полноты

# install essential build tools
sudo apt-get install build-essential

② Загрузить зависимости emacs:

# get all dependencies of a previous emacs version
sudo apt-get build-dep emacs24


./configure
make
0 голосов
/ 22 марта 2019

Закончилось

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt-get update
sudo apt install emacs26
...