cURL / Mailing Lists / curl-library / Single Mail

curl-library

building with nghttp2 + ssl

From: Guenter <lists_at_gknw.net>
Date: Fri, 24 Oct 2014 19:49:20 +0200

Hi all,
I've now managed to build libcurl/curl with nghttp2 (MinGW):

curl.exe -V
curl 7.38.0 (i386-pc-win32) libcurl/7.38.0 zlib/1.2.8 nghttp2/0.6.4
Protocols: dict file ftp gopher http imap ldap pop3 rtsp smtp telnet tftp
Features: AsynchDNS Largefile SSPI SPNEGO NTLM libz HTTP2

but when I try to build with OpenSSL I only get:
vtls/openssl.c:1426:6: Error: #error http2 builds require OpenSSL with
NPN or ALPN support
mingw32-make[1]: *** [vtls/openssl.o] Error 1

I've tried with OpenSSl 1.0.1j and 1.0.2beta3 ...
is it required to also build nghttp2 with OpenSSL, or do I need to
enable NPN or ALPN support with OpenSSL??

and from where come those macros in vtls/openssl.c which cause the
#error? Does libcurl's configure set them? I've grep'd through openssl
sources but no sign of them, and also I didnt find them in libcurl's
configure ...

can someone please enlighten me?

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-24