在Ubuntu上构建Emacs-找不到库 [英] Build Emacs on Ubuntu - libraries not found
本文介绍了在Ubuntu上构建Emacs-找不到库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装Emacs v.26.1.当我运行 ./configure
时,看到以下错误:
I am trying to install Emacs v. 26.1. When I run ./configure
, I see the following error:
configure: error: The following required libraries were not found:
libXpm libjpeg libgif/libungif libtiff gnutls
Maybe some development libraries/packages are missing?
但是,他们似乎已经在那里.我尝试了多种方法,例如:
However, they seem to be already there. I tried multiple things, such as:
: ~$ 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.
一切似乎都很好.我想念什么?
Things seem fine. What am I missing?
推荐答案
出于完整性考虑,
# Install essential build tools
sudo apt-get install build-essential
第二,下载Emacs依赖项:
Second, download Emacs dependencies:
# Get all dependencies of a previous Emacs version
sudo apt-get build-dep emacs24
./configure
make
这篇关于在Ubuntu上构建Emacs-找不到库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文