[SOLVED] curl + nghtpp3 support
by marav from LinuxQuestions.org on (#6P8Y7)
Quote:
@volkerdi
I'm surprised you were able to rebuild Curl
I have:
Code:...
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp3 options with pkg-config... no
configure: error: --with-nghttp3 was specified but could not find nghttp3 pkg-config fileI added:
Code:CFLAGS="$SLKCFLAGS" \
PKG_CONFIG_PATH=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
./configure \It builds, but I still have:
Code:HTTP1: enabled (internal)
HTTP2: enabled (nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)This slackbuild:
Code:CFLAGS="$SLKCFLAGS" \
PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
./configure \
...
--with-nghttp2=/usr \
--with-nghttp3=/usr \
--with-openssl-quic \is ok
Code:HTTP1: enabled (internal)
HTTP2: enabled (nghttp2)
HTTP3: enabled (openssl + nghttp3)but the only QUIC library considered NOT experimental is : ngtcp2
https://curl.se/docs/http3.html
which leads to :
Code:configure: error: the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no
Originally Posted by pbslxw(Post 6513982)curl and nodejs need to recompile with nghttp3 for HTTP/3 support. |
I'm surprised you were able to rebuild Curl
I have:
Code:...
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp3 options with pkg-config... no
configure: error: --with-nghttp3 was specified but could not find nghttp3 pkg-config fileI added:
Code:CFLAGS="$SLKCFLAGS" \
PKG_CONFIG_PATH=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
./configure \It builds, but I still have:
Code:HTTP1: enabled (internal)
HTTP2: enabled (nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)This slackbuild:
Code:CFLAGS="$SLKCFLAGS" \
PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
./configure \
...
--with-nghttp2=/usr \
--with-nghttp3=/usr \
--with-openssl-quic \is ok
Code:HTTP1: enabled (internal)
HTTP2: enabled (nghttp2)
HTTP3: enabled (openssl + nghttp3)but the only QUIC library considered NOT experimental is : ngtcp2
https://curl.se/docs/http3.html
which leads to :
Code:configure: error: the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no