从源安装 Samba 并收到 Gnutls 错误

从源安装 Samba 并收到 Gnutls 错误

好吧,经过一天的苦思冥想,我需要帮助来弄清楚这里发生了什么:

Using in-tree heimdal kerberos defines
Checking for program krb5-config.heimdal                                          : not found
Checking for program krb5-config                                                  : not found
Checking for gnutls >= 3.4.7                                                      : not found
Checking for gnutls >= 3.0.0s                                                     : not found
Checking for gnutls >= 1.4.0 and broken versions                                  : not found
/linux1/tmp/samba-4.6.2/source4/lib/tls/wscript:51: error: Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackupKey protocol
root@blahblahblah:/linux1/tmp/samba-4.6.2# apt-get install libgnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgnutls-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@blahblahblah:/linux1/tmp/samba-4.6.2#

我正在尝试从源代码安装 Samba,当我执行 ./configure 时,它​​告诉我找不到 libgnutls-dev,尽管我已经使用 apt-get 安装了这个包的几个变体。

查看./configure -h 是否不是-h-ful。

相关内容