Martin Lambev fsh3mve@gmail.com writes:
I'm trying to build GnuTLS 3.2.6 on CentOS 6.4 x64, but having some issues with nettle during compilation.
[...]
$ ./configre --disable-openssl #Do not include openssl glue in the benchmark program
after doing this "make" successfully finished and I can install "nettle"
Is this proper workaround or not? If not how should be handed properly?
I guess the benchmark code expects a more recent version of openssl than you have (but then there should have been additional errors, about missing openssl include files). --disable-openssl is the right option to use.
You could also try the below (untested) patch to configure.ac, and then run
$ autoconf $ make distclean $ ./configure $ make $ make check
The idea is that openssl code in the benchmark program should be disabled automatically.
Regards, /Niels
diff --git a/configure.ac b/configure.ac index 037fbe9..7ce4d5a 100644 --- a/configure.ac +++ b/configure.ac @@ -622,7 +622,7 @@ AC_CHECK_ALIGNOF(uint64_t) ALIGNOF_UINT64_T="$ac_cv_alignof_uint64_t" AC_SUBST(ALIGNOF_UINT64_T)
-AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h],, +AC_CHECK_HEADERS([openssl/blowfish.h openssl/des.h openssl/cast.h openssl/aes.h openssl/ecdsa.h],, [enable_openssl=no break])