缺少gnutls


#1

在Ubuntu下源码编译安装emacs26时,报出这个错,缺少这个应该安装什么依赖呢?

configure: error: The following required libraries were not found:
     gnutls
Maybe some development libraries/packages are missing?
If you don't want to link with them give
     --with-gnutls=no
as options to configure

#2

apt-file search xxx


#3

没这个就是没ssl,问题不大。


#4

sudo apt install gnutls-dev

一般缺什么包,可以安装包名字后面跟-dev`


#5

谢谢大神 :grimacing:


#6

这个会影响到GUI吗?


#7

谢谢,感觉有点简单粗暴 :joy:


#8

理论上不会,注意不要让 emacs lisp 请求 SSL 链接就行了,比如软件包镜像不要用 https。