libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Building libmicrohttpd-0.9.55 on RHEL5


From: Evgeny Grin
Subject: Re: [libmicrohttpd] Building libmicrohttpd-0.9.55 on RHEL5
Date: Wed, 27 Sep 2017 15:12:03 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 27.09.2017 10:37, Svein Olav Bjerkeset wrote:
>> Latest git contains some fixes for epoll modes.
>> Could you fetch source from official git on other platform (autoconf on
>> RHEL5 is too old), run "autoreconf -i && ./configure && make dist-gzip".
>> Then build from resulted tarball on your RHEL5 machine?
>>
>> Most probably GnuTLS is not yet well polished on your machine.
>>
>> For testing connectivity I'd recommend to use RHEL/CentOS 7 or latest
>> Debian. Also same platforms are recommended to fetch sources from git.
> 
> I presume it was libmicrohhtpd you wanted me to check out from git and
> not one of the support libraries? I have now tried that, without any
> luck. It still behaves as before. I have also tried to use curl and wget
> from a RHEL7 server as suggested. Results are still the same.
> 
> Here is the configure command I used:
> # export CPPFLAGS="-I/opt/microhttpd/include"
> # export LDFLAGS="-L/opt/microhttpd/lib64 -Wl,-rpath,/opt/microhttpd/lib64"
> # ./configure --prefix=/opt/microhttpd --libdir=/opt/microhttpd/lib64
> --with-gnutls --enable-https=yes --with-libcurl=/opt/svv-dev
> 
> (in /opt/svv-dev is a modern curl, version 7.55.1)
> 
> I also tried --disable-epoll without any noticable change.

GNU libmicrohttpd use libcurl only for testing.
So, if you already have latest libcurl, you can run "make check" with MHD.

But I suspect that problem comes from outdated RHEL5 GnuTLS lib.
MHD on git master is able to use modern GnuTLS without gcrypt. As next
step I suggest to build latest GnuTLS on RHEL5 and build MHD with modern
GnuTLS.


-- 
Best Wishes,
Evgeny Grin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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