Hello nettle gurus, I'm trying to build GnuTLS 3.2.6 on CentOS 6.4 x64, but having some issues with nettle during compilation.
nettle 2.7.1 make errors:
configure: summary of build options:
Version: nettle 2.7.1
Host type: x86_64-unknown-linux-gnu
ABI: 64
Assembly files: x86_64
Install prefix: /usr/local
Library directory: ${exec_prefix}/lib64
Compiler: gcc
Static libraries: yes
Shared libraries: yes
Public key crypto: yes
Documentation: no
During "$ make" exits with error:
hogweed-benchmark.c:575: error: ‘struct openssl_ctx’ has no member named ‘key’
hogweed-benchmark.c:576: error: ‘struct openssl_ctx’ has no member named
‘digest’
make[1]: *** [hogweed-benchmark.o] Error 1
make[1]: Leaving directory
`/home/mve/Downloads/ocserv/nettle/nettle-2.7.1/examples'
make: *** [all] Error 1
It fails "error: ‘struct openssl_ctx’" so I looked configure help options…
$ make clean
$ ./configure --help #give a few options so I disabled this one as I'm
assuming it's not used in my case isn't it?
$ ./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?
Thank you! Regards,
Martin
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
