简体   繁体   English

如何在Centos 7上使用gnutls编译emacs 26.2?

[英]How to compile emacs 26.2 with gnutls on Centos 7?

I try to compile Emacs 26.2 on Centos 7. So I run 我尝试在Centos 7上编译Emacs 26.2。

./configure

But the script complains: 但是脚本抱怨:

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

However yum tells me that gnutls is already installed: 但是yum告诉我已经安装了gnutls

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

What else do I miss to compile Emacs with gnutls support? 我还想念带有gnutls支持的Emacs编译吗?

Try installing the package gnutls-devel . 尝试安装软件包gnutls-devel While the gnutls package contains the files needed to run a program that uses GnuTLS, gnutls-devel is needed to compile a program using GnuTLS. 虽然gnutls软件包包含运行使用GnuTLS的程序所需的文件,但需要gnutls-devel才能使用GnuTLS 编译程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM