[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] MHD requires GnuTLS and other libraries

From: DJM-Avalesta
Subject: Re: [libmicrohttpd] MHD requires GnuTLS and other libraries
Date: Thu, 10 Dec 2020 12:30:33 +0000
User-agent: Roundcube Webmail/1.4-rc2


I've now cross-comiled GnuTLS and all of it's dependant libraries eg libnettle, libhogweed, libgmp.

I now need to build libmicrohttpd and link it to my GnuTLS.

I run the following configure command

./configure --host=arm-none-linux-gnueabi --enable-https=yes --with-gnutls=/mnt/hgfs/Projects/GnuTLS/gnutls-3.6.15

but I get the attached config log and this failure message

checking how to find GnuTLS library... -I/mnt/hgfs/Projects/GnuTLS/gnutls-3.6.15/include -L/mnt/hgfs/Projects/GnuTLS/gnutls-3.6.15/lib -lgnutls
checking for gnutls/gnutls.h... yes
checking for gnutls_priority_set in -lgnutls... no
configure: error: can't find usable libgnutls at specified prefix /mnt/hgfs/Projects/GnuTLS/gnutls-3.6.15

Any suggestions at this point would be very helpful.



On 2020-12-05 8:29 pm, Christian Grothoff wrote:

Hi David,

How to cross-compile GnuTLS is a question better suited for the GnuTLS
mailinglist ;-).

Good luck!

Happy hacking!


On 12/5/20 9:24 PM, DJM-Avalesta wrote:

To get MHD working with HTTPS on my embedded system, I need to link
libmicrohttpd with GnuTLS, so I need to cross compile GnuTLS.

When I run configure for GnuTLS, I get "libNettle 3.4.1 was not found".

I downloaded the source for libNettle 3.4.1 and built this, but when I
re-configure GnuTLS with libNettle, I stilll get "libNettle 3.4.1 was
not found"

Reading up on this it seems I might also need to build libHogweed and
libGMP libraries.

Has anyone out there cross compiled all of these libraries and can help
me to get all of these downloads and steps correct, so I can build an
HTTPS-enabled MHD?

Many thanks


Attachment: config.log
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]