gpt4 book ai didi

ubuntu - 在 Ubuntu 上构建 Emacs - 找不到库

转载 作者:行者123 更新时间:2023-12-04 18:25:24 29 4
gpt4 key购买 nike

我正在尝试安装 Emacs v. 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 19.10 (Eoan Ermine) 上使用 Emacs v. 27 进行了测试):

sudo apt install libxpm-dev libjpeg-dev libgif-dev libtiff-dev libgnutls28-dev

关于ubuntu - 在 Ubuntu 上构建 Emacs - 找不到库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55297581/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com