Fehler beim Installieren von Samba CentOs

Fehler beim Installieren von Samba CentOs

Ich versuche, Samba auf einem CentOs 6.8-Server zu installieren, erhalte aber eine Fehlermeldung:

/home/instaladores/samba-4.6.3/source4/lib/tls/wscript:51: Fehler: Zum Erstellen des AD DC ist GnuTLS (z. B. libgnutls-dev, gnutls-devel) für ldaps://-Unterstützung und für das BackupKey-Protokoll erforderlich.

Also habe ich versucht, GnuTLS zu installieren, aber ich habe einen neuen Fehler erhalten:

server:/home/instaladores/gnutls-3.5.9 # ./configure
checking build system type... x86_64-pc-linux-gnu
 checking host system type... x86_64-pc-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether make supports nested variables... (cached) yes
 ***
 *** Checking for compilation programs...

 checking for pkg-config... /usr/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking whether gcc understands -c and -o together... yes
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking minix/config.h usability... no
 checking minix/config.h presence... no
 checking for minix/config.h... no
 checking whether it is safe to define __EXTENSIONS__... yes
 checking whether _XOPEN_SOURCE should be defined... no
 checking for Minix Amsterdam compiler... no
 checking for ar... ar
 checking the archiver (ar) interface... ar
 checking for ar... (cached) ar
 checking for ranlib... ranlib
 checking for _LARGEFILE_SOURCE value needed for large files... no
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking dependency style of gcc... gcc3
 checking the archiver (ar) interface... (cached) ar
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking dependency style of g++... gcc3
 checking for bison... bison -y
 checking for a sed that does not truncate output... /bin/sed
 checking for gcc option to accept ISO C99... -std=gnu99
 checking whether to build with code coverage support... no
 checking whether to enable maintainer-specific portions of Makefiles...yes
 checking for autogen... :
 configure: WARNING:
 ***
 *** autogen not found. Will not link against libopts.
 ***
 checking for inline... inline
 checking for ANSI C header files... (cached) yes
 checking cpuid.h usability... yes
 checking cpuid.h presence... yes
 checking for cpuid.h... yes
 checking for struct iovec.iov_basea... no
 checking netinet/tcp.h usability... yes
 checking netinet/tcp.h presence... yes
 checking for netinet/tcp.h... yes
 checking stdatomic.h usability... no
 checking stdatomic.h presence... no
 checking for stdatomic.h... no
 checking for getrandom... no
 checking for getentropy... no
 checking for NETTLE... no
 configure: error:
   ***
   *** Libnettle 3.1 was not found.

Ich habe in vielen Foren gesucht und all diese Dinge installiert:

curl-7.54.0
nettle-3.1.1
nettle-3.3 gmp-4.3.1-10.el6.x86_64.rpm
gmp-devel-4.3.1-10.el6.x86_64.rpm
rpmdevtools-7.5-2.el6.noarch.rpm gmp-devel-6.0.0-11.el7.x86_64.rpm
gmp-static-4.3.1-10.el6.x86_64.rpm

aber der Fehler tritt immer noch auf....

Hat jemand eine Idee?

Antwort1

Versuchen Sie die Installation der Entwicklungsbibliotheken vonautogen UndAbonnierenoder versuchen Sie alternativ, Gnutls während der Kompilierung zu deaktivieren. Achten Sie dabei sorgfältig darauf, welche Funktionen Sie dadurch einschränken. Abgesehen davon, warum versuchen Sie nicht, das Yum-Paketinstallationsprogramm von CentOS zu verwenden? Dadurch werden Abhängigkeiten und Fehler behoben.

Grüße

verwandte Informationen