构建emacs ubuntu,找不到库

问题描述 投票:0回答:2

我正在尝试安装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.

事情似乎很好。我错过了什么?

ubuntu emacs package-managers
2个回答
2
投票

为了完整,

# 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
投票

结束了

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt-get update
sudo apt install emacs26
© www.soinside.com 2019 - 2024. All rights reserved.