I'm getting
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NETTLE... no
configure: error:
***
*** Libnettle 2.7.1 was not found. Note that this version of gnutls doesn't support nettle 3.0.
when trying to build gnutls.
having found How to compile GnuTLS I downloaded both gmp-6.0.0 and nettle-2.7.1 and built them with
./configure --prefix=/opt/nxweblibs LDFLAGS="-L/opt/nxweblibs/lib" CPPFLAGS="-I/opt/nxweblibs/include"
and then tried to build gnutls again with same flags but again got error. Any ideas are highly appreciated!