我在Ubuntu16.04上构建了emacs26,执行./config --prefix=/usr/local/emacs
时,它显示如下:
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
我试图解决这个问题很多次,但是失败了。谁能帮助我,非常感谢。
最佳答案
该错误消息告诉您解决问题的两种方法。
gnutls
开发包。您可以通过执行以下操作找到它:apt-cache search 'libgnutls.*-dev'
,然后使用apt-get
安装它。 gnutls
的链接,即./config --prefix=/usr/local/emacs --with-gnutls=no