首页 > 解决方案 > 如何在 Centos 7 上使用 gnutls 编译 emacs 26.2?

问题描述

我尝试在 Centos 7 上编译 Emacs 26.2。所以我运行

./configure

但是脚本抱怨:

configure: error: The following required libraries were not found:
     gnutls
Maybe some development libraries/packages are missing?

但是 yum 告诉我gnutls已经安装了:

Package gnutls-3.3.29-9.el7_6.x86_64 already installed and latest version

我还想用 gnutls 支持编译 Emacs 吗?

标签: emacscompilationgnutls

解决方案


尝试安装软件包gnutls-devel。虽然gnutls包包含运行使用 GnuTLS 的程序gnutls-devel所需的文件,但需要使用 GnuTLS编译程序。


推荐阅读