gnutls-3.6.8 build fail on RHEL 7.6 due to nettle_rsa_sec_decrypt

Oliver <[email protected]>
Newsgroups gmane.network.gnutls.general
Organization duckAsylum
Message-ID <[email protected]>
Hello 

My build (actually can't get past configure) of gnutls-3.6.8 on RHEL
Server 7.6 (Maipo) fails with the following error:

> checking for nettle_rsa_sec_decrypt... no
> configure: error: Nettle lacks the required rsa_sec_decrypt function

My configure parameters are the following:

> ./configure --prefix /opt/gnutls-3.6.8 \
> CFLAGS="-I/opt/libunistring/include/ -I/opt/libidn2/include/ -I/opt/libnettle/include/" \
> LDFLAGS="-L/opt/libunistring/lib/ -L/opt/libidn2/lib/ -L/opt/libnettle/lib64/" \
> NETTLE_CFLAGS=-I/opt/libnettle/include/ \
> NETTLE_LIBS=-L/opt/libnettle/lib64/ \
> HOGWEED_CFLAGS=-I/opt/libnettle/include/ \
> HOGWEED_LIBS=-L/opt/libnettle/lib64/ \
> GMP_CFLAGS=-I/opt/gmp/include/ \
> GMP_LIBS=-L/opt/gmp/lib/ \
> LIBTASN1_CFLAGS=-I/opt/libtasn1/include/ \
> LIBTASN1_LIBS=-L/opt/libtasn1/lib/ \
> --with-libiconv-prefix=/opt/libiconv/ \
> --with-libintl-prefix=/opt/libintl/ \
> --enable-fips140-mode \
> --disable-non-suiteb-curves

The thing is that when I run 'make check' in nettle source directory the
rsa_sec_decrypt test passes. 

What am I doing wrong? I tested with both nettle 3.4.1 and 3.5 

Links to config.log files: 
config log with nettle-3.4.1 [1] 
config log with nettle-3.5 [2] 

Thank You in advance, 

Oliver 
  

Links:
------
[1] https://1drv.ms/u/s!AsqaPT0ZS1sHgrVxwnwKBKa7BxvogA
[2] https://1drv.ms/u/s!AsqaPT0ZS1sHgrVyFwC_g_ASItJ_MA

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.