参考链接
(1)原始链接:https://curl.se/docs/http3.html
(2)主要参考链接:http://blog.chinaunix.net/uid-405749-id-5844453.html
操作代码
#第一步:openssl:
larry@larry-VirtualBox:~$ mkdir myngtcp2
larry@larry-VirtualBox:~$ cd myngtcp2/
larry@larry-VirtualBox:~/myngtcp2$ git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
arry@larry-VirtualBox:~/myngtcp2$ cd openssl/
larry@larry-VirtualBox:~/myngtcp2/openssl$ ./config enable-tls1_3 --prefix=/usr/local/openssl111g
larry@larry-VirtualBox:~/myngtcp2/openssl$ make
larry@larry-VirtualBox:~/myngtcp2/openssl$ make install_sw
#注:中间git clone若出现问题,则执行下面操作
larry@larry-VirtualBox:~/myngtcp2$ sudo apt-get purge git
larry@larry-VirtualBox:~/myngtcp2$ sudo apt-get install git
#第二步:nghttp3:
git clone https://github.com/ngtcp2/nghttp3
cd nghttp3
autoreconf -i
./configure --prefix=/usr/local/nghttp3 --enable-lib-only
make
make install
cd ..
#第三步:ngtcp2
git clone https://github.com/ngtcp2/ngtcp2
cd ngtcp2
autoreconf -i
./configure PKG_CONFIG_PATH=/usr/local/openssl111g/lib/pkgconfig:/usr/local/nghttp3/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" --prefix=/usr/local/ngtcp2 --enable-lib-only
make
make install
cd ..
#第四步:curl
#注:遇到的问题,git clone下载不下来,于是下载最新的源码7.79.1,网址如下:
https://github.com/curl/curl/releases
重新换取最新的curl的源码,7.79.1,在进行就没有问题了
larry@larry-VirtualBox:~/myngtcp2$ cd curl/
larry@larry-VirtualBox:~/myngtcp2/curl$ ./buildconf
larry@larry-VirtualBox:~/myngtcp2/curl$ LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" ./configure --with-ssl=/usr/local/openssl111g --with-nghttp3=/usr/local/nghttp3 --with-ngtcp2=/usr/local/ngtcp2
#运行的部分结果:
Alt-svc: enabled (--disable-alt-svc)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2, --with-hyper)
HTTP3: enabled (ngtcp2 + nghttp3)
ECH: no (--enable-ech)
Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: AsynchDNS HSTS HTTP3 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets alt-svc libz
WARNING: HTTP3 enabled but marked EXPERIMENTAL. Use with caution!
larry@larry-VirtualBox:~/myngtcp2/curl$
#第5步测试,需要在curl的文件夹路径下进行,使用src/curl这个进行运行,不然会运行旧版本的curl出错,两次结果均返回了相应的结果,测试了http3的正确性。
arry@larry-VirtualBox:~/myngtcp2/curl$ curl --http3 https://nghttp2.org:4433/
curl: option --http3: the installed libcurl version doesn't support this
curl: try 'curl --help' or 'curl --manual' for more information
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
larry@larry-VirtualBox:~/myngtcp2/curl$ src/curl --http3 https://nghttp2.org:4433/
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
larry@larry-VirtualBox:~/myngtcp2/curl$ src/curl --alt-svc altsvc.cache https://quic.aiortc.org/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>aioquic</title>
<link rel="stylesheet" href="/style.css"/>
</head>
<body>
运行过程的记录文档
larry@larry-VirtualBox:~$ mkdir myngtcp2
larry@larry-VirtualBox:~$ cd myngtcp2/
larry@larry-VirtualBox:~/myngtcp2$ git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
正克隆到 'openssl'...
fatal: unable to access 'https://github.com/quictls/openssl/': gnutls_handshake() failed: Error in the pull function.
larry@larry-VirtualBox:~/myngtcp2$ git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
正克隆到 'openssl'...
remote: Enumerating objects: 18343, done.
remote: Counting objects: 100% (18343/18343), done.
remote: Compressing objects: 100% (15159/15159), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack failed
larry@larry-VirtualBox:~/myngtcp2$ git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
正克隆到 'openssl'...
fatal: unable to access 'https://github.com/quictls/openssl/': gnutls_handshake() failed: Error in the pull function.
larry@larry-VirtualBox:~/myngtcp2$ sudo apt-get purge git
[sudo] larry 的密码:
正在读取软件包列表... 完成
正在分析软件在这里æ’å
¥ä»£ç 片包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
git-man liberror-perl linux-headers-4.15.0-133
linux-headers-4.15.0-133-generic linux-image-4.15.0-133-generic
linux-modules-4.15.0-133-generic linux-modules-extra-4.15.0-133-generic
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
git*
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 42 个软件包未被升级。
解压缩后将会空出 24.1 MB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 342656 个文件和目录。)
正在卸载 git (1:2.7.4-0ubuntu1.10) ...
正在清除 git (1:2.7.4-0ubuntu1.10) 的配置文件 ...
larry@larry-VirtualBox:~/myngtcp2$
larry@larry-VirtualBox:~/myngtcp2$ sudo apt-get install git
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
linux-headers-4.15.0-133 linux-headers-4.15.0-133-generic
linux-image-4.15.0-133-generic linux-modules-4.15.0-133-generic
linux-modules-extra-4.15.0-133-generic
使用'sudo apt autoremove'来卸载它(它们)。
建议安装:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn
下列【新】软件包将被安装:
git
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 42 个软件包未被升级。
需要下载 3,183 kB 的归档。
解压缩后会消耗 24.1 MB 的额外空间。
获取:1 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main amd64 git amd64 1:2.7.4-0ubuntu1.10 [3,183 kB]
已下载 3,183 kB,耗时 0秒 (6,420 kB/s)
正在选中未选择的软件包 git。
(正在读取数据库 ... 系统当前共安装有 342017 个文件和目录。)
正准备解包 .../git_1%3a2.7.4-0ubuntu1.10_amd64.deb ...
正在解包 git (1:2.7.4-0ubuntu1.10) ...
正在设置 git (1:2.7.4-0ubuntu1.10) ...
larry@larry-VirtualBox:~/myngtcp2$
larry@larry-VirtualBox:~/myngtcp2$ git clone --depth 1 -b OpenSSL_1_1_1k+quic https://github.com/quictls/openssl
正克隆到 'openssl'...
remote: Enumerating objects: 18343, done.
remote: Counting objects: 100% (18343/18343), done.
remote: Compressing objects: 100% (15161/15161), done.
remote: Total 18343 (delta 923), reused 15652 (delta 649), pack-reused 0
接收对象中: 100% (18343/18343), 14.44 MiB | 67.00 KiB/s, 完成.
处理 delta 中: 100% (923/923), 完成.
检查连接... 完成。
larry@larry-VirtualBox:~/myngtcp2$ cd openssl/
larry@larry-VirtualBox:~/myngtcp2/openssl$ ./config enable-tls1_3 --prefix=/usr/local/openssl111g
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1k+quic (0x101010bfL) for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
larry@larry-VirtualBox:~/myngtcp2/openssl$ make
${LDCMD:-gcc} -pthread -m64 -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_time_test test/x509_time_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
gcc -Iinclude -pthread -m64 -Wa,--noexecstack -Wall -O3 -DNDEBUG -MMD -MF test/x509aux.d.tmp -MT test/x509aux.o -c -o test/x509aux.o test/x509aux.c
rm -f test/x509aux
${LDCMD:-gcc} -pthread -m64 -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509aux test/x509aux.o \
test/libtestutil.a -lcrypto -ldl -pthread
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" apps/CA.pl.in > "apps/CA.pl"
chmod a+x apps/CA.pl
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" apps/tsget.in > "apps/tsget.pl"
chmod a+x apps/tsget.pl
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" tools/c_rehash.in > "tools/c_rehash"
chmod a+x tools/c_rehash
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" util/shlib_wrap.sh.in > "util/shlib_wrap.sh"
chmod a+x util/shlib_wrap.sh
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
larry@larry-VirtualBox:~/myngtcp2/openssl$ make install_sw
make depend && make _build_libs
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Nothing to be done for '_build_libs'.
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
Cannot create directory /usr/local/openssl111g: No such file or directory
Makefile:435: recipe for target 'install_runtime_libs' failed
make: *** [install_runtime_libs] Error 2
larry@larry-VirtualBox:~/myngtcp2/openssl$ pwd
/home/larry/myngtcp2/openssl
larry@larry-VirtualBox:~/myngtcp2/openssl$ sudo make install_sw
[sudo] larry 的密码:
make depend && make _build_libs
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Nothing to be done for '_build_libs'.
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
created directory `/usr/local/openssl111g'
created directory `/usr/local/openssl111g/lib'
*** Installing runtime libraries
install libcrypto.so.81.1.1 -> /usr/local/openssl111g/lib/libcrypto.so.81.1.1
install libssl.so.81.1.1 -> /usr/local/openssl111g/lib/libssl.so.81.1.1
*** Installing development files
created directory `/usr/local/openssl111g/include'
created directory `/usr/local/openssl111g/include/openssl'
install ./include/openssl/aes.h -> /usr/local/openssl111g/include/openssl/aes.h
install ./include/openssl/asn1.h -> /usr/local/openssl111g/include/openssl/asn1.h
install ./include/openssl/asn1_mac.h -> /usr/local/openssl111g/include/openssl/asn1_mac.h
install ./include/openssl/asn1err.h -> /usr/local/openssl111g/include/openssl/asn1err.h
install ./include/openssl/asn1t.h -> /usr/local/openssl111g/include/openssl/asn1t.h
install ./include/openssl/async.h -> /usr/local/openssl111g/include/openssl/async.h
install ./include/openssl/asyncerr.h -> /usr/local/openssl111g/include/openssl/asyncerr.h
install ./include/openssl/bio.h -> /usr/local/openssl111g/include/openssl/bio.h
install ./include/openssl/bioerr.h -> /usr/local/openssl111g/include/openssl/bioerr.h
install ./include/openssl/blowfish.h -> /usr/local/openssl111g/include/openssl/blowfish.h
install ./include/openssl/bn.h -> /usr/local/openssl111g/include/openssl/bn.h
install ./include/openssl/bnerr.h -> /usr/local/openssl111g/include/openssl/bnerr.h
install ./include/openssl/buffer.h -> /usr/local/openssl111g/include/openssl/buffer.h
install ./include/openssl/buffererr.h -> /usr/local/openssl111g/include/openssl/buffererr.h
install ./include/openssl/camellia.h -> /usr/local/openssl111g/include/openssl/camellia.h
install ./include/openssl/cast.h -> /usr/local/openssl111g/include/openssl/cast.h
install ./include/openssl/cmac.h -> /usr/local/openssl111g/include/openssl/cmac.h
install ./include/openssl/cms.h -> /usr/local/openssl111g/include/openssl/cms.h
install ./include/openssl/cmserr.h -> /usr/local/openssl111g/include/openssl/cmserr.h
install ./include/openssl/comp.h -> /usr/local/openssl111g/include/openssl/comp.h
install ./include/openssl/comperr.h -> /usr/local/openssl111g/include/openssl/comperr.h
install ./include/openssl/conf.h -> /usr/local/openssl111g/include/openssl/conf.h
install ./include/openssl/conf_api.h -> /usr/local/openssl111g/include/openssl/conf_api.h
install ./include/openssl/conferr.h -> /usr/local/openssl111g/include/openssl/conferr.h
install ./include/openssl/crypto.h -> /usr/local/openssl111g/include/openssl/crypto.h
install ./include/openssl/cryptoerr.h -> /usr/local/openssl111g/include/openssl/cryptoerr.h
install ./include/openssl/ct.h -> /usr/local/openssl111g/include/openssl/ct.h
install ./include/openssl/cterr.h -> /usr/local/openssl111g/include/openssl/cterr.h
install ./include/openssl/des.h -> /usr/local/openssl111g/include/openssl/des.h
install ./include/openssl/dh.h -> /usr/local/openssl111g/include/openssl/dh.h
install ./include/openssl/dherr.h -> /usr/local/openssl111g/include/openssl/dherr.h
install ./include/openssl/dsa.h -> /usr/local/openssl111g/include/openssl/dsa.h
install ./include/openssl/dsaerr.h -> /usr/local/openssl111g/include/openssl/dsaerr.h
install ./include/openssl/dtls1.h -> /usr/local/openssl111g/include/openssl/dtls1.h
install ./include/openssl/e_os2.h -> /usr/local/openssl111g/include/openssl/e_os2.h
install ./include/openssl/ebcdic.h -> /usr/local/openssl111g/include/openssl/ebcdic.h
install ./include/openssl/ec.h -> /usr/local/openssl111g/include/openssl/ec.h
install ./include/openssl/ecdh.h -> /usr/local/openssl111g/include/openssl/ecdh.h
install ./include/openssl/ecdsa.h -> /usr/local/openssl111g/include/openssl/ecdsa.h
install ./include/openssl/ecerr.h -> /usr/local/openssl111g/include/openssl/ecerr.h
install ./include/openssl/engine.h -> /usr/local/openssl111g/include/openssl/engine.h
install ./include/openssl/engineerr.h -> /usr/local/openssl111g/include/openssl/engineerr.h
install ./include/openssl/err.h -> /usr/local/openssl111g/include/openssl/err.h
install ./include/openssl/evp.h -> /usr/local/openssl111g/include/openssl/evp.h
install ./include/openssl/evperr.h -> /usr/local/openssl111g/include/openssl/evperr.h
install ./include/openssl/hmac.h -> /usr/local/openssl111g/include/openssl/hmac.h
install ./include/openssl/idea.h -> /usr/local/openssl111g/include/openssl/idea.h
install ./include/openssl/kdf.h -> /usr/local/openssl111g/include/openssl/kdf.h
install ./include/openssl/kdferr.h -> /usr/local/openssl111g/include/openssl/kdferr.h
install ./include/openssl/lhash.h -> /usr/local/openssl111g/include/openssl/lhash.h
install ./include/openssl/md2.h -> /usr/local/openssl111g/include/openssl/md2.h
install ./include/openssl/md4.h -> /usr/local/openssl111g/include/openssl/md4.h
install ./include/openssl/md5.h -> /usr/local/openssl111g/include/openssl/md5.h
install ./include/openssl/mdc2.h -> /usr/local/openssl111g/include/openssl/mdc2.h
install ./include/openssl/modes.h -> /usr/local/openssl111g/include/openssl/modes.h
install ./include/openssl/obj_mac.h -> /usr/local/openssl111g/include/openssl/obj_mac.h
install ./include/openssl/objects.h -> /usr/local/openssl111g/include/openssl/objects.h
install ./include/openssl/objectserr.h -> /usr/local/openssl111g/include/openssl/objectserr.h
install ./include/openssl/ocsp.h -> /usr/local/openssl111g/include/openssl/ocsp.h
install ./include/openssl/ocsperr.h -> /usr/local/openssl111g/include/openssl/ocsperr.h
install ./include/openssl/opensslconf.h -> /usr/local/openssl111g/include/openssl/opensslconf.h
install ./include/openssl/opensslv.h -> /usr/local/openssl111g/include/openssl/opensslv.h
install ./include/openssl/ossl_typ.h -> /usr/local/openssl111g/include/openssl/ossl_typ.h
install ./include/openssl/pem.h -> /usr/local/openssl111g/include/openssl/pem.h
install ./include/openssl/pem2.h -> /usr/local/openssl111g/include/openssl/pem2.h
install ./include/openssl/pemerr.h -> /usr/local/openssl111g/include/openssl/pemerr.h
install ./include/openssl/pkcs12.h -> /usr/local/openssl111g/include/openssl/pkcs12.h
install ./include/openssl/pkcs12err.h -> /usr/local/openssl111g/include/openssl/pkcs12err.h
install ./include/openssl/pkcs7.h -> /usr/local/openssl111g/include/openssl/pkcs7.h
install ./include/openssl/pkcs7err.h -> /usr/local/openssl111g/include/openssl/pkcs7err.h
install ./include/openssl/rand.h -> /usr/local/openssl111g/include/openssl/rand.h
install ./include/openssl/rand_drbg.h -> /usr/local/openssl111g/include/openssl/rand_drbg.h
install ./include/openssl/randerr.h -> /usr/local/openssl111g/include/openssl/randerr.h
install ./include/openssl/rc2.h -> /usr/local/openssl111g/include/openssl/rc2.h
install ./include/openssl/rc4.h -> /usr/local/openssl111g/include/openssl/rc4.h
install ./include/openssl/rc5.h -> /usr/local/openssl111g/include/openssl/rc5.h
install ./include/openssl/ripemd.h -> /usr/local/openssl111g/include/openssl/ripemd.h
install ./include/openssl/rsa.h -> /usr/local/openssl111g/include/openssl/rsa.h
install ./include/openssl/rsaerr.h -> /usr/local/openssl111g/include/openssl/rsaerr.h
install ./include/openssl/safestack.h -> /usr/local/openssl111g/include/openssl/safestack.h
install ./include/openssl/seed.h -> /usr/local/openssl111g/include/openssl/seed.h
install ./include/openssl/sha.h -> /usr/local/openssl111g/include/openssl/sha.h
install ./include/openssl/srp.h -> /usr/local/openssl111g/include/openssl/srp.h
install ./include/openssl/srtp.h -> /usr/local/openssl111g/include/openssl/srtp.h
install ./include/openssl/ssl.h -> /usr/local/openssl111g/include/openssl/ssl.h
install ./include/openssl/ssl2.h -> /usr/local/openssl111g/include/openssl/ssl2.h
install ./include/openssl/ssl3.h -> /usr/local/openssl111g/include/openssl/ssl3.h
install ./include/openssl/sslerr.h -> /usr/local/openssl111g/include/openssl/sslerr.h
install ./include/openssl/stack.h -> /usr/local/openssl111g/include/openssl/stack.h
install ./include/openssl/store.h -> /usr/local/openssl111g/include/openssl/store.h
install ./include/openssl/storeerr.h -> /usr/local/openssl111g/include/openssl/storeerr.h
install ./include/openssl/symhacks.h -> /usr/local/openssl111g/include/openssl/symhacks.h
install ./include/openssl/tls1.h -> /usr/local/openssl111g/include/openssl/tls1.h
install ./include/openssl/ts.h -> /usr/local/openssl111g/include/openssl/ts.h
install ./include/openssl/tserr.h -> /usr/local/openssl111g/include/openssl/tserr.h
install ./include/openssl/txt_db.h -> /usr/local/openssl111g/include/openssl/txt_db.h
install ./include/openssl/ui.h -> /usr/local/openssl111g/include/openssl/ui.h
install ./include/openssl/uierr.h -> /usr/local/openssl111g/include/openssl/uierr.h
install ./include/openssl/whrlpool.h -> /usr/local/openssl111g/include/openssl/whrlpool.h
install ./include/openssl/x509.h -> /usr/local/openssl111g/include/openssl/x509.h
install ./include/openssl/x509_vfy.h -> /usr/local/openssl111g/include/openssl/x509_vfy.h
install ./include/openssl/x509err.h -> /usr/local/openssl111g/include/openssl/x509err.h
install ./include/openssl/x509v3.h -> /usr/local/openssl111g/include/openssl/x509v3.h
install ./include/openssl/x509v3err.h -> /usr/local/openssl111g/include/openssl/x509v3err.h
install ./include/openssl/aes.h -> /usr/local/openssl111g/include/openssl/aes.h
install ./include/openssl/asn1.h -> /usr/local/openssl111g/include/openssl/asn1.h
install ./include/openssl/asn1_mac.h -> /usr/local/openssl111g/include/openssl/asn1_mac.h
install ./include/openssl/asn1err.h -> /usr/local/openssl111g/include/openssl/asn1err.h
install ./include/openssl/asn1t.h -> /usr/local/openssl111g/include/openssl/asn1t.h
install ./include/openssl/async.h -> /usr/local/openssl111g/include/openssl/async.h
install ./include/openssl/asyncerr.h -> /usr/local/openssl111g/include/openssl/asyncerr.h
install ./include/openssl/bio.h -> /usr/local/openssl111g/include/openssl/bio.h
install ./include/openssl/bioerr.h -> /usr/local/openssl111g/include/openssl/bioerr.h
install ./include/openssl/blowfish.h -> /usr/local/openssl111g/include/openssl/blowfish.h
install ./include/openssl/bn.h -> /usr/local/openssl111g/include/openssl/bn.h
install ./include/openssl/bnerr.h -> /usr/local/openssl111g/include/openssl/bnerr.h
install ./include/openssl/buffer.h -> /usr/local/openssl111g/include/openssl/buffer.h
install ./include/openssl/buffererr.h -> /usr/local/openssl111g/include/openssl/buffererr.h
install ./include/openssl/camellia.h -> /usr/local/openssl111g/include/openssl/camellia.h
install ./include/openssl/cast.h -> /usr/local/openssl111g/include/openssl/cast.h
install ./include/openssl/cmac.h -> /usr/local/openssl111g/include/openssl/cmac.h
install ./include/openssl/cms.h -> /usr/local/openssl111g/include/openssl/cms.h
install ./include/openssl/cmserr.h -> /usr/local/openssl111g/include/openssl/cmserr.h
install ./include/openssl/comp.h -> /usr/local/openssl111g/include/openssl/comp.h
install ./include/openssl/comperr.h -> /usr/local/openssl111g/include/openssl/comperr.h
install ./include/openssl/conf.h -> /usr/local/openssl111g/include/openssl/conf.h
install ./include/openssl/conf_api.h -> /usr/local/openssl111g/include/openssl/conf_api.h
install ./include/openssl/conferr.h -> /usr/local/openssl111g/include/openssl/conferr.h
install ./include/openssl/crypto.h -> /usr/local/openssl111g/include/openssl/crypto.h
install ./include/openssl/cryptoerr.h -> /usr/local/openssl111g/include/openssl/cryptoerr.h
install ./include/openssl/ct.h -> /usr/local/openssl111g/include/openssl/ct.h
install ./include/openssl/cterr.h -> /usr/local/openssl111g/include/openssl/cterr.h
install ./include/openssl/des.h -> /usr/local/openssl111g/include/openssl/des.h
install ./include/openssl/dh.h -> /usr/local/openssl111g/include/openssl/dh.h
install ./include/openssl/dherr.h -> /usr/local/openssl111g/include/openssl/dherr.h
install ./include/openssl/dsa.h -> /usr/local/openssl111g/include/openssl/dsa.h
install ./include/openssl/dsaerr.h -> /usr/local/openssl111g/include/openssl/dsaerr.h
install ./include/openssl/dtls1.h -> /usr/local/openssl111g/include/openssl/dtls1.h
install ./include/openssl/e_os2.h -> /usr/local/openssl111g/include/openssl/e_os2.h
install ./include/openssl/ebcdic.h -> /usr/local/openssl111g/include/openssl/ebcdic.h
install ./include/openssl/ec.h -> /usr/local/openssl111g/include/openssl/ec.h
install ./include/openssl/ecdh.h -> /usr/local/openssl111g/include/openssl/ecdh.h
install ./include/openssl/ecdsa.h -> /usr/local/openssl111g/include/openssl/ecdsa.h
install ./include/openssl/ecerr.h -> /usr/local/openssl111g/include/openssl/ecerr.h
install ./include/openssl/engine.h -> /usr/local/openssl111g/include/openssl/engine.h
install ./include/openssl/engineerr.h -> /usr/local/openssl111g/include/openssl/engineerr.h
install ./include/openssl/err.h -> /usr/local/openssl111g/include/openssl/err.h
install ./include/openssl/evp.h -> /usr/local/openssl111g/include/openssl/evp.h
install ./include/openssl/evperr.h -> /usr/local/openssl111g/include/openssl/evperr.h
install ./include/openssl/hmac.h -> /usr/local/openssl111g/include/openssl/hmac.h
install ./include/openssl/idea.h -> /usr/local/openssl111g/include/openssl/idea.h
install ./include/openssl/kdf.h -> /usr/local/openssl111g/include/openssl/kdf.h
install ./include/openssl/kdferr.h -> /usr/local/openssl111g/include/openssl/kdferr.h
install ./include/openssl/lhash.h -> /usr/local/openssl111g/include/openssl/lhash.h
install ./include/openssl/md2.h -> /usr/local/openssl111g/include/openssl/md2.h
install ./include/openssl/md4.h -> /usr/local/openssl111g/include/openssl/md4.h
install ./include/openssl/md5.h -> /usr/local/openssl111g/include/openssl/md5.h
install ./include/openssl/mdc2.h -> /usr/local/openssl111g/include/openssl/mdc2.h
install ./include/openssl/modes.h -> /usr/local/openssl111g/include/openssl/modes.h
install ./include/openssl/obj_mac.h -> /usr/local/openssl111g/include/openssl/obj_mac.h
install ./include/openssl/objects.h -> /usr/local/openssl111g/include/openssl/objects.h
install ./include/openssl/objectserr.h -> /usr/local/openssl111g/include/openssl/objectserr.h
install ./include/openssl/ocsp.h -> /usr/local/openssl111g/include/openssl/ocsp.h
install ./include/openssl/ocsperr.h -> /usr/local/openssl111g/include/openssl/ocsperr.h
install ./include/openssl/opensslconf.h -> /usr/local/openssl111g/include/openssl/opensslconf.h
install ./include/openssl/opensslv.h -> /usr/local/openssl111g/include/openssl/opensslv.h
install ./include/openssl/ossl_typ.h -> /usr/local/openssl111g/include/openssl/ossl_typ.h
install ./include/openssl/pem.h -> /usr/local/openssl111g/include/openssl/pem.h
install ./include/openssl/pem2.h -> /usr/local/openssl111g/include/openssl/pem2.h
install ./include/openssl/pemerr.h -> /usr/local/openssl111g/include/openssl/pemerr.h
install ./include/openssl/pkcs12.h -> /usr/local/openssl111g/include/openssl/pkcs12.h
install ./include/openssl/pkcs12err.h -> /usr/local/openssl111g/include/openssl/pkcs12err.h
install ./include/openssl/pkcs7.h -> /usr/local/openssl111g/include/openssl/pkcs7.h
install ./include/openssl/pkcs7err.h -> /usr/local/openssl111g/include/openssl/pkcs7err.h
install ./include/openssl/rand.h -> /usr/local/openssl111g/include/openssl/rand.h
install ./include/openssl/rand_drbg.h -> /usr/local/openssl111g/include/openssl/rand_drbg.h
install ./include/openssl/randerr.h -> /usr/local/openssl111g/include/openssl/randerr.h
install ./include/openssl/rc2.h -> /usr/local/openssl111g/include/openssl/rc2.h
install ./include/openssl/rc4.h -> /usr/local/openssl111g/include/openssl/rc4.h
install ./include/openssl/rc5.h -> /usr/local/openssl111g/include/openssl/rc5.h
install ./include/openssl/ripemd.h -> /usr/local/openssl111g/include/openssl/ripemd.h
install ./include/openssl/rsa.h -> /usr/local/openssl111g/include/openssl/rsa.h
install ./include/openssl/rsaerr.h -> /usr/local/openssl111g/include/openssl/rsaerr.h
install ./include/openssl/safestack.h -> /usr/local/openssl111g/include/openssl/safestack.h
install ./include/openssl/seed.h -> /usr/local/openssl111g/include/openssl/seed.h
install ./include/openssl/sha.h -> /usr/local/openssl111g/include/openssl/sha.h
install ./include/openssl/srp.h -> /usr/local/openssl111g/include/openssl/srp.h
install ./include/openssl/srtp.h -> /usr/local/openssl111g/include/openssl/srtp.h
install ./include/openssl/ssl.h -> /usr/local/openssl111g/include/openssl/ssl.h
install ./include/openssl/ssl2.h -> /usr/local/openssl111g/include/openssl/ssl2.h
install ./include/openssl/ssl3.h -> /usr/local/openssl111g/include/openssl/ssl3.h
install ./include/openssl/sslerr.h -> /usr/local/openssl111g/include/openssl/sslerr.h
install ./include/openssl/stack.h -> /usr/local/openssl111g/include/openssl/stack.h
install ./include/openssl/store.h -> /usr/local/openssl111g/include/openssl/store.h
install ./include/openssl/storeerr.h -> /usr/local/openssl111g/include/openssl/storeerr.h
install ./include/openssl/symhacks.h -> /usr/local/openssl111g/include/openssl/symhacks.h
install ./include/openssl/tls1.h -> /usr/local/openssl111g/include/openssl/tls1.h
install ./include/openssl/ts.h -> /usr/local/openssl111g/include/openssl/ts.h
install ./include/openssl/tserr.h -> /usr/local/openssl111g/include/openssl/tserr.h
install ./include/openssl/txt_db.h -> /usr/local/openssl111g/include/openssl/txt_db.h
install ./include/openssl/ui.h -> /usr/local/openssl111g/include/openssl/ui.h
install ./include/openssl/uierr.h -> /usr/local/openssl111g/include/openssl/uierr.h
install ./include/openssl/whrlpool.h -> /usr/local/openssl111g/include/openssl/whrlpool.h
install ./include/openssl/x509.h -> /usr/local/openssl111g/include/openssl/x509.h
install ./include/openssl/x509_vfy.h -> /usr/local/openssl111g/include/openssl/x509_vfy.h
install ./include/openssl/x509err.h -> /usr/local/openssl111g/include/openssl/x509err.h
install ./include/openssl/x509v3.h -> /usr/local/openssl111g/include/openssl/x509v3.h
install ./include/openssl/x509v3err.h -> /usr/local/openssl111g/include/openssl/x509v3err.h
install libcrypto.a -> /usr/local/openssl111g/lib/libcrypto.a
install libssl.a -> /usr/local/openssl111g/lib/libssl.a
link /usr/local/openssl111g/lib/libcrypto.so -> /usr/local/openssl111g/lib/libcrypto.so.81.1.1
link /usr/local/openssl111g/lib/libssl.so -> /usr/local/openssl111g/lib/libssl.so.81.1.1
created directory `/usr/local/openssl111g/lib/pkgconfig'
install libcrypto.pc -> /usr/local/openssl111g/lib/pkgconfig/libcrypto.pc
install libssl.pc -> /usr/local/openssl111g/lib/pkgconfig/libssl.pc
install openssl.pc -> /usr/local/openssl111g/lib/pkgconfig/openssl.pc
make depend && make _build_engines
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Nothing to be done for '_build_engines'.
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
created directory `/usr/local/openssl111g/lib/engines-81.1.1'
*** Installing engines
install engines/afalg.so -> /usr/local/openssl111g/lib/engines-81.1.1/afalg.so
install engines/capi.so -> /usr/local/openssl111g/lib/engines-81.1.1/capi.so
install engines/padlock.so -> /usr/local/openssl111g/lib/engines-81.1.1/padlock.so
make depend && make _build_programs
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
make[1]: Entering directory '/home/larry/myngtcp2/openssl'
make[1]: Nothing to be done for '_build_programs'.
make[1]: Leaving directory '/home/larry/myngtcp2/openssl'
created directory `/usr/local/openssl111g/bin'
*** Installing runtime programs
install apps/openssl -> /usr/local/openssl111g/bin/openssl
install ./tools/c_rehash -> /usr/local/openssl111g/bin/c_rehash
larry@larry-VirtualBox:~/myngtcp2/openssl$
larry@larry-VirtualBox:~/myngtcp2/openssl$ cd ..
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/ngtcp2/nghttp3
正克隆到 'nghttp3'...
remote: Enumerating objects: 2774, done.
remote: Counting objects: 100% (400/400), done.
remote: Compressing objects: 100% (272/272), done.
remote: Total 2774 (delta 268), reused 238 (delta 126), pack-reused 2374
接收对象中: 100% (2774/2774), 937.55 KiB | 194.00 KiB/s, 完成.
处理 delta 中: 100% (2043/2043), 完成.
检查连接... 完成。
larry@larry-VirtualBox:~/myngtcp2$ cd nghttp3
larry@larry-VirtualBox:~/myngtcp2/nghttp3$ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:30: installing './compile'
configure.ac:33: installing './config.guess'
configure.ac:33: installing './config.sub'
configure.ac:39: installing './install-sh'
configure.ac:39: installing './missing'
Makefile.am: installing './INSTALL'
examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
larry@larry-VirtualBox:~/myngtcp2/nghttp3$
larry@larry-VirtualBox:~/myngtcp2/nghttp3$ ./configure --prefix=/usr/local/nghttp3 --enable-lib-only
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking whether g++ supports C++17 features with -std=c++17... no
checking whether g++ supports C++17 features with +std=c++17... no
checking whether g++ supports C++17 features with -h std=c++17... no
checking whether g++ supports C++17 features with -std=c++1z... no
checking whether g++ supports C++17 features with +std=c++1z... no
checking whether g++ supports C++17 features with -h std=c++1z... no
configure: No compiler with C++17 support was found
checking for CUNIT... no
configure: WARNING: No package 'cunit' found
checking for CU_initialize_registry in -lcunit... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for ptrdiff_t... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for memmove... yes
checking for memset... yes
checking whether be64toh is declared... yes
checking whether bswap_64 is declared... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/libnghttp3.pc
config.status: creating lib/includes/Makefile
config.status: creating lib/includes/nghttp3/version.h
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating doc/source/conf.py
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
configure: summary of build options:
Package version: 0.1.0-DEV
Library version: 0:0:0
Install prefix: /usr/local/nghttp3
System types:
Build: x86_64-pc-linux-gnu
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Compiler:
C preprocessor: gcc -E
CPPFLAGS:
C compiler: gcc
CFLAGS: -g -O2
C++ compiler: g++
CXXFLAGS: -g -O2
LDFLAGS:
WARNCFLAGS:
WARNCXXFLAGS:
EXTRACFLAG: -fvisibility=hidden
LIBS:
Library:
Shared: yes
Static: yes
Test:
CUnit: no (CFLAGS='' LIBS='')
Debug:
Debug: no (CFLAGS='')
Library only: yes
Examples: no
larry@larry-VirtualBox:~/myngtcp2/nghttp3$
larry@larry-VirtualBox:~/myngtcp2/nghttp3$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/larry/myngtcp2/nghttp3/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3'
Making all in lib
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/lib'
Making all in includes
make[3]: Entering directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[3]: Entering directory '/home/larry/myngtcp2/nghttp3/lib'
CC nghttp3_rcbuf.lo
CC nghttp3_mem.lo
CC nghttp3_str.lo
CC nghttp3_conv.lo
CC nghttp3_buf.lo
CC nghttp3_ringbuf.lo
CC nghttp3_pq.lo
CC nghttp3_map.lo
CC nghttp3_ksl.lo
CC nghttp3_qpack.lo
CC nghttp3_qpack_huffman.lo
CC nghttp3_qpack_huffman_data.lo
CC nghttp3_err.lo
CC nghttp3_debug.lo
CC nghttp3_conn.lo
CC nghttp3_stream.lo
CC nghttp3_frame.lo
CC nghttp3_tnode.lo
CC nghttp3_vec.lo
CC nghttp3_gaptr.lo
CC nghttp3_idtr.lo
CC nghttp3_range.lo
CC nghttp3_http.lo
CC nghttp3_version.lo
CCLD libnghttp3.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib'
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib'
Making all in tests
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/tests'
Making all in doc
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/doc'
Making all in examples
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/examples'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3'
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3'
larry@larry-VirtualBox:~/myngtcp2/nghttp3$
larry@larry-VirtualBox:~/myngtcp2/nghttp3$ sudo make install
Making install in lib
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3/lib'
Making install in includes
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[3]: Entering directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[3]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/nghttp3/include'
/bin/mkdir -p '/usr/local/nghttp3/include/nghttp3'
/usr/bin/install -c -m 644 nghttp3/nghttp3.h nghttp3/version.h '/usr/local/nghttp3/include/nghttp3'
make[3]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib/includes'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/lib'
make[3]: Entering directory '/home/larry/myngtcp2/nghttp3/lib'
/bin/mkdir -p '/usr/local/nghttp3/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libnghttp3.la '/usr/local/nghttp3/lib'
libtool: install: /usr/bin/install -c .libs/libnghttp3.so.0.0.0 /usr/local/nghttp3/lib/libnghttp3.so.0.0.0
libtool: install: (cd /usr/local/nghttp3/lib && { ln -s -f libnghttp3.so.0.0.0 libnghttp3.so.0 || { rm -f libnghttp3.so.0 && ln -s libnghttp3.so.0.0.0 libnghttp3.so.0; }; })
libtool: install: (cd /usr/local/nghttp3/lib && { ln -s -f libnghttp3.so.0.0.0 libnghttp3.so || { rm -f libnghttp3.so && ln -s libnghttp3.so.0.0.0 libnghttp3.so; }; })
libtool: install: /usr/bin/install -c .libs/libnghttp3.lai /usr/local/nghttp3/lib/libnghttp3.la
libtool: install: /usr/bin/install -c .libs/libnghttp3.a /usr/local/nghttp3/lib/libnghttp3.a
libtool: install: chmod 644 /usr/local/nghttp3/lib/libnghttp3.a
libtool: install: ranlib /usr/local/nghttp3/lib/libnghttp3.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/etc/nginx-1.18.0/sbin:/sbin" ldconfig -n /usr/local/nghttp3/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/nghttp3/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/nghttp3/lib/pkgconfig'
/usr/bin/install -c -m 644 libnghttp3.pc '/usr/local/nghttp3/lib/pkgconfig'
make[3]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib'
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3/lib'
Making install in tests
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3/tests'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/tests'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3/tests'
Making install in doc
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3/doc'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/doc'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/doc'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3/doc'
Making install in examples
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3/examples'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3/examples'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3/examples'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3/examples'
make[1]: Entering directory '/home/larry/myngtcp2/nghttp3'
make[2]: Entering directory '/home/larry/myngtcp2/nghttp3'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/larry/myngtcp2/nghttp3'
make[1]: Leaving directory '/home/larry/myngtcp2/nghttp3'
larry@larry-VirtualBox:~/myngtcp2/nghttp3$
larry@larry-VirtualBox:~/myngtcp2/nghttp3$ cd ..
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/ngtcp2/ngtcp2
正克隆到 'ngtcp2'...
fatal: unable to access 'https://github.com/ngtcp2/ngtcp2/': gnutls_handshake() failed: Error in the pull function.
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/ngtcp2/ngtcp2
正克隆到 'ngtcp2'...
fatal: unable to access 'https://github.com/ngtcp2/ngtcp2/': gnutls_handshake() failed: Error in the pull function.
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/ngtcp2/ngtcp2
正克隆到 'ngtcp2'...
remote: Enumerating objects: 18436, done.
remote: Counting objects: 100% (1868/1868), done.
remote: Compressing objects: 100% (903/903), done.
remote: Total 18436 (delta 1297), reused 1456 (delta 937), pack-reused 16568
接收对象中: 100% (18436/18436), 9.57 MiB | 580.00 KiB/s, 完成.
处理 delta 中: 100% (14186/14186), 完成.
检查连接... 完成。
larry@larry-VirtualBox:~/myngtcp2$ cd ngtcp2
larry@larry-VirtualBox:~/myngtcp2/ngtcp2$ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:29: installing './compile'
configure.ac:32: installing './config.guess'
configure.ac:32: installing './config.sub'
configure.ac:38: installing './install-sh'
configure.ac:38: installing './missing'
Makefile.am: installing './INSTALL'
crypto/boringssl/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
larry@larry-VirtualBox:~/myngtcp2/ngtcp2$
larry@larry-VirtualBox:~/myngtcp2/ngtcp2$ ./configure PKG_CONFIG_PATH=/usr/local/openssl111g/lib/pkgconfig:/usr/local/nghttp3/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" --prefix=/usr/local/ngtcp2 --enable-lib-only
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking whether g++ supports C++17 features with -std=c++17... no
checking whether g++ supports C++17 features with +std=c++17... no
checking whether g++ supports C++17 features with -h std=c++17... no
checking whether g++ supports C++17 features with -std=c++1z... no
checking whether g++ supports C++17 features with +std=c++1z... no
checking whether g++ supports C++17 features with -h std=c++1z... no
configure: No compiler with C++17 support was found
checking for CUNIT... no
configure: WARNING: No package 'cunit' found
checking for CU_initialize_registry in -lcunit... no
checking for OPENSSL... yes
checking for SSL_is_quic... yes
checking for LIBNGHTTP3... yes
checking for ev_time in -lev... no
checking for library containing malloc_stats_print... no
checking for library containing je_malloc_stats_print... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/netlink.h usability... yes
checking linux/netlink.h presence... yes
checking for linux/netlink.h... yes
checking linux/rtnetlink.h usability... yes
checking linux/rtnetlink.h presence... yes
checking for linux/rtnetlink.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for ptrdiff_t... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for memmove... yes
checking for memset... yes
checking whether be64toh is declared... yes
checking whether bswap_64 is declared... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/libngtcp2.pc
config.status: creating lib/includes/Makefile
config.status: creating lib/includes/ngtcp2/version.h
config.status: creating tests/Makefile
config.status: creating crypto/Makefile
config.status: creating crypto/openssl/Makefile
config.status: creating crypto/openssl/libngtcp2_crypto_openssl.pc
config.status: creating crypto/includes/Makefile
config.status: creating crypto/gnutls/Makefile
config.status: creating crypto/gnutls/libngtcp2_crypto_gnutls.pc
config.status: creating crypto/boringssl/Makefile
config.status: creating crypto/boringssl/libngtcp2_crypto_boringssl.pc
config.status: creating doc/Makefile
config.status: creating doc/source/conf.py
config.status: creating third-party/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
configure: summary of build options:
Package version: 0.1.0-DEV
Library version: 0:0:0
Install prefix: /usr/local/ngtcp2
System types:
Build: x86_64-pc-linux-gnu
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Compiler:
C preprocessor: gcc -E
CPPFLAGS:
C compiler: gcc
CFLAGS: -g -O2
C++ compiler: g++
CXXFLAGS: -g -O2
LDFLAGS: -Wl,-rpath,/usr/local/openssl111g/lib
WARNCFLAGS:
WARNCXXFLAGS:
EXTRACFLAG: -fvisibility=hidden
LIBS:
Library:
Shared: yes
Static: yes
Libtool:
LIBTOOL_LDFLAGS:
Crypto helper libraries:
libngtcp2_crypto_openssl: yes
libngtcp2_crypto_gnutls: no
libngtcp2_crypto_boringssl: no
Test:
CUnit: no (CFLAGS='' LIBS='')
Debug:
Debug: no (CFLAGS='')
Libs:
OpenSSL: yes (CFLAGS='-I/usr/local/openssl111g/include' LIBS='-L/usr/local/openssl111g/lib -lssl -lcrypto')
Libev: no (CFLAGS='' LIBS='')
Libnghttp3: yes (CFLAGS='-I/usr/local/nghttp3/include' LIBS='-L/usr/local/nghttp3/lib -lnghttp3')
Jemalloc: no (CFLAGS='' LIBS='')
GnuTLS: no (CFLAGS='' LIBS='')
BoringSSL: no (CFLAGS='' LIBS='')
Examples: no
larry@larry-VirtualBox:~/myngtcp2/ngtcp2$
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/curl/curl
正克隆到 'curl'...
fatal: unable to access 'https://github.com/curl/curl/': Failed to connect to github.com port 443: 连接超时
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/curl/curl
正克隆到 'curl'...
remote: Enumerating objects: 170029, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (19/19), done.
^C收对象中: 57% (97918/170029), 60.07 MiB | 174.00 KiB/s
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/curl/curl
正克隆到 'curl'...
fatal: unable to access 'https://github.com/curl/curl/': gnutls_handshake() failed: Error in the pull function.
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/curl/curl
正克隆到 'curl'...
remote: Enumerating objects: 170029, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (19/19), done.
^C收对象中: 40% (68261/170029), 38.36 MiB | 162.00 KiB/s
larry@larry-VirtualBox:~/myngtcp2$ git clone https://github.com/curl/curl.git
正克隆到 'curl'...
^C
larry@larry-VirtualBox:~/myngtcp2$ git clone https://gitee.com/rzkn/curl.git
正克隆到 'curl'...
remote: Enumerating objects: 20515, done.
remote: Counting objects: 100% (20515/20515), done.
remote: Compressing objects: 100% (10260/10260), done.
remote: Total 168434 (delta 15375), reused 14119 (delta 10237), pack-reused 147919
接收对象中: 100% (168434/168434), 65.44 MiB | 5.27 MiB/s, 完成.
处理 delta 中: 100% (131102/131102), 完成.
检查连接... 完成。
larry@larry-VirtualBox:~/myngtcp2$ cd curl/
larry@larry-VirtualBox:~/myngtcp2/curl$ autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:120: installing './compile'
configure.ac:291: installing './config.guess'
configure.ac:291: installing './config.sub'
configure.ac:120: installing './install-sh'
configure.ac:125: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
larry@larry-VirtualBox:~/myngtcp2/curl$
larry@larry-VirtualBox:~/myngtcp2/curl$ ll
总用量 2384
drwxrwxr-x 18 larry larry 4096 10月 13 13:09 ./
drwxrwxr-x 6 larry larry 4096 10月 13 13:08 ../
-rw-rw-r-- 1 larry larry 68110 10月 13 13:08 acinclude.m4
-rw-rw-r-- 1 larry larry 44806 10月 13 13:09 aclocal.m4
-rw-rw-r-- 1 larry larry 11137 10月 13 13:08 appveyor.yml
drwxr-xr-x 2 larry larry 4096 10月 13 13:09 autom4te.cache/
-rw-rw-r-- 1 larry larry 9327 10月 13 13:08 .azure-pipelines.yml
-rwxrwxr-x 1 larry larry 124 10月 13 13:08 buildconf*
-rw-rw-r-- 1 larry larry 7996 10月 13 13:08 buildconf.bat
-rw-rw-r-- 1 larry larry 317 10月 13 13:08 CHANGES
-rw-rw-r-- 1 larry larry 3227 10月 13 13:08 .cirrus.yml
drwxrwxr-x 3 larry larry 4096 10月 13 13:08 CMake/
-rw-rw-r-- 1 larry larry 58800 10月 13 13:08 CMakeLists.txt
-rwxr-xr-x 1 larry larry 7333 10月 13 13:09 compile*
-rwxr-xr-x 1 larry larry 43499 10月 13 13:09 config.guess*
-rwxr-xr-x 1 larry larry 36144 10月 13 13:09 config.sub*
-rwxrwxr-x 1 larry larry 1286331 10月 13 13:09 configure*
-rwxrwxr-x 1 larry larry 127485 10月 13 13:08 configure.ac*
-rw-rw-r-- 1 larry larry 1088 10月 13 13:08 COPYING
-rw-rw-r-- 1 larry larry 5305 10月 13 13:08 curl-config.in
-rw-rw-r-- 1 larry larry 34 10月 13 13:08 .dcignore
-rwxr-xr-x 1 larry larry 23566 10月 13 13:09 depcomp*
-rw-rw-r-- 1 larry larry 1323 10月 13 13:08 .dir-locals.el
drwxrwxr-x 5 larry larry 4096 10月 13 13:09 docs/
drwxrwxr-x 8 larry larry 4096 10月 13 13:08 .git/
-rw-rw-r-- 1 larry larry 304 10月 13 13:08 .gitattributes
drwxrwxr-x 4 larry larry 4096 10月 13 13:08 .github/
-rw-rw-r-- 1 larry larry 594 10月 13 13:08 .gitignore
-rw-rw-r-- 1 larry larry 1339 10月 13 13:08 GIT-INFO
drwxrwxr-x 3 larry larry 4096 10月 13 13:09 include/
-rwxr-xr-x 1 larry larry 15155 10月 13 13:09 install-sh*
-rw-rw-r-- 1 larry larry 1459 10月 13 13:08 .lgtm.yml
drwxrwxr-x 6 larry larry 12288 10月 13 13:09 lib/
-rw-rw-r-- 1 larry larry 1513 10月 13 13:08 libcurl.pc.in
-rw-r--r-- 1 larry larry 324404 10月 13 13:09 ltmain.sh
drwxrwxr-x 2 larry larry 4096 10月 13 13:09 m4/
-rwxrwxr-x 1 larry larry 6263 10月 13 13:08 MacOSX-Framework*
-rw-rw-r-- 1 larry larry 3787 10月 13 13:08 .mailmap
-rw-rw-r-- 1 larry larry 29236 10月 13 13:08 Makefile.am
-rw-rw-r-- 1 larry larry 2899 10月 13 13:08 Makefile.dist
-rw-rw-r-- 1 larry larry 75121 10月 13 13:09 Makefile.in
-rwxrwxr-x 1 larry larry 6050 10月 13 13:08 maketgz*
-rwxr-xr-x 1 larry larry 6872 10月 13 13:09 missing*
drwxrwxr-x 2 larry larry 4096 10月 13 13:08 .muse/
drwxrwxr-x 7 larry larry 4096 10月 13 13:09 packages/
drwxrwxr-x 5 larry larry 4096 10月 13 13:08 plan9/
drwxrwxr-x 3 larry larry 4096 10月 13 13:08 projects/
-rw-rw-r-- 1 larry larry 1661 10月 13 13:08 README
-rw-rw-r-- 1 larry larry 5147 10月 13 13:08 README.md
-rw-rw-r-- 1 larry larry 8062 10月 13 13:08 RELEASE-NOTES
drwxrwxr-x 3 larry larry 4096 10月 13 13:09 scripts/
-rw-rw-r-- 1 larry larry 370 10月 13 13:08 SECURITY.md
drwxrwxr-x 3 larry larry 4096 10月 13 13:09 src/
-rwxr-xr-x 1 larry larry 4640 10月 13 13:09 test-driver*
drwxrwxr-x 8 larry larry 4096 10月 13 13:09 tests/
-rw-rw-r-- 1 larry larry 12298 10月 13 13:08 .travis.yml
drwxrwxr-x 2 larry larry 4096 10月 13 13:08 winbuild/
larry@larry-VirtualBox:~/myngtcp2/curl$ ./buildconf
*** Do not use buildconf. Instead, just use: autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:120: installing './compile'
configure.ac:125: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
larry@larry-VirtualBox:~/myngtcp2/curl$ LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" ./configure --with-ssl=/usr/local/openssl111g --with-nghttp3=/usr/local/nghttp3 --with-ngtcp2=/usr/local/ngtcp2
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable ECH support... no
checking for path separator... :
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking curl version... 7.77.0-DEV
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... no
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler accepts debug disabling options... yes
configure: compiler options added:
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether build target supports WIN32 crypto API... no
checking for good-to-use Darwin CFLAGS... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking brotli/decode.h usability... no
checking brotli/decode.h presence... no
checking for brotli/decode.h... no
checking for ZSTD_createDStream in -lzstd... no
checking zstd.h usability... no
checking zstd.h presence... no
checking for zstd.h... no
checking for lber.h... no
checking for ldap.h... no
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
configure: PKG_CONFIG_LIBDIR will be set to "/usr/local/openssl111g/lib/pkgconfig"
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/openssl111g/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/openssl111g/include"
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for RAND_egd... no
checking for SSLv2_client_method... no
checking for OpenSSL_version... yes
checking for BoringSSL... no
checking for libressl... no
checking for OpenSSL >= v3... no
configure: Added /usr/local/openssl111g/lib to CURL_LIBRARY_PATH
checking for OpenSSL headers version... 1.1.1 - 0x101010bfL
checking for OpenSSL library version... 1.1.1
checking for OpenSSL headers and library versions matching... yes
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... yes
configure: built with one SSL backend
checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
checking whether to use builtin CA store of SSL library... no
checking for library containing psl_builtin... no
configure: WARNING: libpsl was not found
checking for library containing gsasl_init... no
configure: WARNING: libgsasl was not found
checking for RTMP_Init in -lrtmp... no
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... no
checking idn2.h usability... no
checking idn2.h presence... no
checking for idn2.h... no
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2 options with pkg-config... found
configure: -l is -lngtcp2
configure: -I is -I/usr/local/ngtcp2/include
configure: -L is -L/usr/local/ngtcp2/lib
checking for ngtcp2_conn_client_new in -lngtcp2... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp3 options with pkg-config... found
configure: -l is -lnghttp3
configure: -I is -I/usr/local/nghttp3/include
configure: -L is -L/usr/local/nghttp3/lib
checking for nghttp3_conn_client_new in -lnghttp3... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for malloc.h... yes
checking for memory.h... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking for suseconds_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if freeifaddrs can be linked... yes
checking if freeifaddrs is prototyped... yes
checking if freeifaddrs is compilable... yes
checking if freeifaddrs usage allowed... yes
checking if freeifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gai_strerror can be linked... yes
checking if gai_strerror is prototyped... yes
checking if gai_strerror is compilable... yes
checking if gai_strerror usage allowed... yes
checking if gai_strerror might be used... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyaddr_r can be linked... yes
checking if gethostbyaddr_r is prototyped... yes
checking if gethostbyaddr_r takes 5 args.... no
checking if gethostbyaddr_r takes 7 args.... no
checking if gethostbyaddr_r takes 8 args.... yes
checking if gethostbyaddr_r is compilable... yes
checking if gethostbyaddr_r usage allowed... yes
checking if gethostbyaddr_r might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getservbyport_r can be linked... yes
checking if getservbyport_r is prototyped... yes
checking if getservbyport_r takes 4 args.... no
checking if getservbyport_r takes 5 args.... no
checking if getservbyport_r takes 6 args.... yes
checking if getservbyport_r is compilable... yes
checking if getservbyport_r usage allowed... yes
checking if getservbyport_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntoa_r can be linked... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... yes
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable the threaded resolver... yes
checking whether to use POSIX threads for threaded resolver... auto
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... yes
checking convert -I options to -isystem... yes
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable NTLM delegation to winbind's helper... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support socketpair... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support curl_easy_option*... yes
checking whether to support alt-svc... no
checking whether to support HSTS... yes
checking whether hiding of library internal symbols will actually happen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending lib/Makefile
configure: amending src/Makefile
configure: amending tests/unit/Makefile
configure: amending tests/server/Makefile
configure: amending tests/libtest/Makefile
configure: amending docs/examples/Makefile
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread
CPPFLAGS: -isystem /usr/local/openssl111g/include
LDFLAGS: -Wl,-rpath,/usr/local/openssl111g/lib -L/usr/local/openssl111g/lib
LIBS: -lssl -lcrypto -lssl -lcrypto -lz
curl version: 7.77.0-DEV
SSL: enabled (OpenSSL)
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: enabled
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
RTSP: enabled
RTMP: no (--with-librtmp)
Metalink: no (--with-libmetalink)
PSL: no (libpsl not found)
Alt-svc: enabled (--disable-alt-svc)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2, --with-hyper)
HTTP3: no (--with-ngtcp2, --with-quiche)
ECH: no (--enable-ech)
Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets alt-svc libz
larry@larry-VirtualBox:~/myngtcp2/curl$
larry@larry-VirtualBox:~/myngtcp2/curl$ LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" ./configure PKG_CONFIG_PATH=/usr/local/nghttp3/lib/pkgconfig --with-ssl=/usr/local/openssl111g --with-nghttp3=/usr/local/nghttp3 --with-ngtcp2=/usr/local/ngtcp2
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable ECH support... no
checking for path separator... :
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking curl version... 7.77.0-DEV
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... no
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler accepts debug disabling options... yes
configure: compiler options added:
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether build target supports WIN32 crypto API... no
checking for good-to-use Darwin CFLAGS... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking brotli/decode.h usability... no
checking brotli/decode.h presence... no
checking for brotli/decode.h... no
checking for ZSTD_createDStream in -lzstd... no
checking zstd.h usability... no
checking zstd.h presence... no
checking for zstd.h... no
checking for lber.h... no
checking for ldap.h... no
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
configure: PKG_CONFIG_LIBDIR will be set to "/usr/local/openssl111g/lib/pkgconfig"
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/openssl111g/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/openssl111g/include"
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for RAND_egd... no
checking for SSLv2_client_method... no
checking for OpenSSL_version... yes
checking for BoringSSL... no
checking for libressl... no
checking for OpenSSL >= v3... no
configure: Added /usr/local/openssl111g/lib to CURL_LIBRARY_PATH
checking for OpenSSL headers version... 1.1.1 - 0x101010bfL
checking for OpenSSL library version... 1.1.1
checking for OpenSSL headers and library versions matching... yes
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... yes
configure: built with one SSL backend
checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
checking whether to use builtin CA store of SSL library... no
checking for library containing psl_builtin... no
configure: WARNING: libpsl was not found
checking for library containing gsasl_init... no
configure: WARNING: libgsasl was not found
checking for RTMP_Init in -lrtmp... no
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... no
checking idn2.h usability... no
checking idn2.h presence... no
checking for idn2.h... no
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2 options with pkg-config... found
configure: -l is -lngtcp2
configure: -I is -I/usr/local/ngtcp2/include
configure: -L is -L/usr/local/ngtcp2/lib
checking for ngtcp2_conn_client_new in -lngtcp2... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp3 options with pkg-config... found
configure: -l is -lnghttp3
configure: -I is -I/usr/local/nghttp3/include
configure: -L is -L/usr/local/nghttp3/lib
checking for nghttp3_conn_client_new in -lnghttp3... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for malloc.h... yes
checking for memory.h... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking for suseconds_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if freeifaddrs can be linked... yes
checking if freeifaddrs is prototyped... yes
checking if freeifaddrs is compilable... yes
checking if freeifaddrs usage allowed... yes
checking if freeifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gai_strerror can be linked... yes
checking if gai_strerror is prototyped... yes
checking if gai_strerror is compilable... yes
checking if gai_strerror usage allowed... yes
checking if gai_strerror might be used... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyaddr_r can be linked... yes
checking if gethostbyaddr_r is prototyped... yes
checking if gethostbyaddr_r takes 5 args.... no
checking if gethostbyaddr_r takes 7 args.... no
checking if gethostbyaddr_r takes 8 args.... yes
checking if gethostbyaddr_r is compilable... yes
checking if gethostbyaddr_r usage allowed... yes
checking if gethostbyaddr_r might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getservbyport_r can be linked... yes
checking if getservbyport_r is prototyped... yes
checking if getservbyport_r takes 4 args.... no
checking if getservbyport_r takes 5 args.... no
checking if getservbyport_r takes 6 args.... yes
checking if getservbyport_r is compilable... yes
checking if getservbyport_r usage allowed... yes
checking if getservbyport_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntoa_r can be linked... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... yes
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable the threaded resolver... yes
checking whether to use POSIX threads for threaded resolver... auto
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... yes
checking convert -I options to -isystem... yes
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable NTLM delegation to winbind's helper... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support socketpair... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support curl_easy_option*... yes
checking whether to support alt-svc... no
checking whether to support HSTS... yes
checking whether hiding of library internal symbols will actually happen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: lib/curl_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending lib/Makefile
configure: amending src/Makefile
configure: amending tests/unit/Makefile
configure: amending tests/server/Makefile
configure: amending tests/libtest/Makefile
configure: amending docs/examples/Makefile
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread
CPPFLAGS: -isystem /usr/local/openssl111g/include
LDFLAGS: -Wl,-rpath,/usr/local/openssl111g/lib -L/usr/local/openssl111g/lib
LIBS: -lssl -lcrypto -lssl -lcrypto -lz
curl version: 7.77.0-DEV
SSL: enabled (OpenSSL)
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: enabled
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
RTSP: enabled
RTMP: no (--with-librtmp)
Metalink: no (--with-libmetalink)
PSL: no (libpsl not found)
Alt-svc: enabled (--disable-alt-svc)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2, --with-hyper)
HTTP3: no (--with-ngtcp2, --with-quiche)
ECH: no (--enable-ech)
Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets alt-svc libz
larry@larry-VirtualBox:~/myngtcp2/curl$ make
Making all in lib
make[1]: Entering directory '/home/larry/myngtcp2/curl/lib'
make all-am
make[2]: Entering directory '/home/larry/myngtcp2/curl/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-base64.lo
CC libcurl_la-bufref.lo
CC libcurl_la-c-hyper.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_ctype.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dotdot.lo
CC libcurl_la-dynbuf.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostcheck.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-idn_win32.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-imap.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-krb5.lo
CC libcurl_la-ldap.lo
CC libcurl_la-llist.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-mime.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-mqtt.lo
CC libcurl_la-multi.lo
CC libcurl_la-netrc.lo
CC libcurl_la-non-ascii.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-openldap.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-pop3.lo
CC libcurl_la-progress.lo
CC libcurl_la-psl.lo
CC libcurl_la-rand.lo
CC libcurl_la-rename.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-select.lo
CC libcurl_la-sendf.lo
CC libcurl_la-setopt.lo
CC libcurl_la-sha256.lo
CC libcurl_la-share.lo
CC libcurl_la-slist.lo
CC libcurl_la-smb.lo
CC libcurl_la-smtp.lo
CC libcurl_la-socketpair.lo
CC libcurl_la-socks.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-splay.lo
CC libcurl_la-strcase.lo
CC libcurl_la-strdup.lo
CC libcurl_la-strerror.lo
CC libcurl_la-strtok.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-telnet.lo
CC libcurl_la-tftp.lo
CC libcurl_la-timeval.lo
CC libcurl_la-transfer.lo
CC libcurl_la-url.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-version.lo
CC libcurl_la-version_win32.lo
CC libcurl_la-warnless.lo
CC libcurl_la-wildcard.lo
CC libcurl_la-x509asn1.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-gsasl.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vauth/libcurl_la-vauth.lo
CC vtls/libcurl_la-bearssl.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-keylog.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mbedtls_threadlock.lo
CC vtls/libcurl_la-mesalink.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-openssl.lo
CC vtls/libcurl_la-rustls.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-wolfssl.lo
CC vquic/libcurl_la-ngtcp2.lo
CC vquic/libcurl_la-quiche.lo
CC vquic/libcurl_la-vquic.lo
CC vssh/libcurl_la-libssh.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-wolfssh.lo
CCLD libcurl.la
make[2]: Leaving directory '/home/larry/myngtcp2/curl/lib'
make[1]: Leaving directory '/home/larry/myngtcp2/curl/lib'
Making all in src
make[1]: Entering directory '/home/larry/myngtcp2/curl/src'
Making all in ../docs
make[2]: Entering directory '/home/larry/myngtcp2/curl/docs'
Making all in .
make[3]: Entering directory '/home/larry/myngtcp2/curl/docs'
if test "..x" != "..x" -a -e "./curl.1"; then \
/usr/bin/install -c -m 644 "./curl.1" /home/larry/myngtcp2/curl/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/home/larry/myngtcp2/curl/docs/cmdline-opts'
generate ../../docs/curl.1
make[4]: Leaving directory '/home/larry/myngtcp2/curl/docs/cmdline-opts'
make[3]: Leaving directory '/home/larry/myngtcp2/curl/docs'
Making all in cmdline-opts
make[3]: Entering directory '/home/larry/myngtcp2/curl/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/larry/myngtcp2/curl/docs/cmdline-opts'
make[2]: Leaving directory '/home/larry/myngtcp2/curl/docs'
make[2]: Entering directory '/home/larry/myngtcp2/curl/src'
CC curl-slist_wc.o
CC curl-tool_binmode.o
CC curl-tool_bname.o
CC curl-tool_cb_dbg.o
CC curl-tool_cb_hdr.o
CC curl-tool_cb_prg.o
CC curl-tool_cb_rea.o
CC curl-tool_cb_see.o
CC curl-tool_cb_wrt.o
CC curl-tool_cfgable.o
CC curl-tool_convert.o
CC curl-tool_dirhie.o
CC curl-tool_doswin.o
CC curl-tool_easysrc.o
CC curl-tool_filetime.o
CC curl-tool_formparse.o
CC curl-tool_getparam.o
CC curl-tool_getpass.o
CC curl-tool_help.o
CC curl-tool_helpers.o
CC curl-tool_homedir.o
HUGE tool_hugehelp.c
CC curl-tool_hugehelp.o
CC curl-tool_libinfo.o
CC curl-tool_main.o
CC curl-tool_metalink.o
CC curl-tool_msgs.o
CC curl-tool_operate.o
CC curl-tool_operhlp.o
CC curl-tool_panykey.o
CC curl-tool_paramhlp.o
CC curl-tool_parsecfg.o
CC curl-tool_progress.o
CC curl-tool_strdup.o
CC curl-tool_setopt.o
CC curl-tool_sleep.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout.o
CC curl-tool_writeout_json.o
CC curl-tool_xattr.o
CC ../lib/curl-strtoofft.o
CC ../lib/curl-nonblock.o
CC ../lib/curl-warnless.o
CC ../lib/curl-curl_ctype.o
CC ../lib/curl-curl_multibyte.o
CC ../lib/curl-version_win32.o
CC ../lib/curl-dynbuf.o
CCLD curl
make[2]: Leaving directory '/home/larry/myngtcp2/curl/src'
make[1]: Leaving directory '/home/larry/myngtcp2/curl/src'
make[1]: Entering directory '/home/larry/myngtcp2/curl'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/larry/myngtcp2/curl'
larry@larry-VirtualBox:~/myngtcp2/curl$
编译curl时需要加入PKG_CONFIG_PATH环境变量,指定nghttp3的pkgconfig文件夹位置,它在$(nghttp3安装位置)/lib/pkgconfig
make install完成之后运行curl,发现程序是新的,但是libcurl是旧的,直接运行无法使用http3。这是因为make install吧libcurl的库装在了/usr/local/lib,而实际上curl编译的默认加载共享库路径是/usr/lib/x86_64-linux-gnu,也就是加载到了系统原本的库。
针对上述问题,简单粗暴的办法是把/usr/local/lib下的libcurl库直接扔到/usr/lib/x86_64-linux-gnu下,实测可以运行。另一方面,可能可以在curl的configure命令的LDFLAGS选项中加入/usr/local/bin,指定curl程序的共享库加载路径,该方法尚未尝试。
————————————————
版权声明:本文为CSDN博主「Chaserwind」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Chaserwind/article/details/113383662
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$
lrwxrwxrwx 1 root root 19 3月 29 2021 libcurl-gnutls.so.3 -> libcurl-gnutls.so.4
lrwxrwxrwx 1 root root 23 3月 29 2021 libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.4.0
-rw-r--r-- 1 root root 457088 3月 29 2021 libcurl-gnutls.so.4.4.0
lrwxrwxrwx 1 root root 12 3月 29 2021 libcurl.so.3 -> libcurl.so.4
lrwxrwxrwx 1 root root 16 3月 29 2021 libcurl.so.4 -> libcurl.so.4.4.0
-rw-r--r-- 1 root root 465280 3月 29 2021 libcurl.so.4.4.0
larry@larry-VirtualBox:/usr/local/lib$ ll
总用量 13852
drwxr-xr-x 5 root root 4096 10月 13 13:33 ./
drwxr-xr-x 14 root root 4096 10月 13 11:56 ../
-rw-r--r-- 1 root root 1150140 10月 13 13:33 libcurl.a
-rwxr-xr-x 1 root root 991 10月 13 13:33 libcurl.la*
lrwxrwxrwx 1 root root 16 10月 13 13:33 libcurl.so -> libcurl.so.4.7.0*
lrwxrwxrwx 1 root root 16 10月 13 13:33 libcurl.so.4 -> libcurl.so.4.7.0*
-rwxr-xr-x 1 root root 607808 10月 13 13:33 libcurl.so.4.7.0*
将原有的6个文件放进了libcurl-backup,将新的五个文件放进了/usr/lib/x86_64-linux-gnu
-rw-r--r-- 1 root root 457088 3月 29 2021 libcurl-gnutls.so.4.4.0
lrwxrwxrwx 1 root root 12 3月 29 2021 libcurl.so.3 -> libcurl.so.4
lrwxrwxrwx 1 root root 16 3月 29 2021 libcurl.so.4 -> libcurl.so.4.4.0
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$ sudo mkdir libcurl-backup
[sudo] larry 的密码:
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$ sudo mv libcurl.so.3 ./libcurl-backup
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$ sudo mv libcurl.so.4 ./libcurl-backup
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$ sudo mv libcurl.so.4.4.0 ./libcurl-backup
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$ pwd
/usr/lib/x86_64-linux-gnu
larry@larry-VirtualBox:/usr/lib/x86_64-linux-gnu$
larry@larry-VirtualBox:/usr/local/lib$ sudo cp libcurl.a /usr/lib/x86_64-linux-gnu
[sudo] larry 的密码:
larry@larry-VirtualBox:/usr/local/lib$ sudo cp libcurl.la /usr/lib/x86_64-linux-gnu
larry@larry-VirtualBox:/usr/local/lib$ sudo cp libcurl.so /usr/lib/x86_64-linux-gnu
larry@larry-VirtualBox:/usr/local/lib$ sudo cp libcurl.so.4 /usr/lib/x86_64-linux-gnu
larry@larry-VirtualBox:/usr/local/lib$ sudo cp libcurl.so.4.7.0 /usr/lib/x86_64-linux-gnu
larry@larry-VirtualBox:/usr/local/lib$
对比就出来了:
-------------------------------------------------------------------------
larry@larry-VirtualBox:~/myngtcp2/curl$ curl -V
curl 7.77.0-DEV (x86_64-pc-linux-gnu) libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
WARNING: curl and libcurl versions do not match. Functionality may be affected.
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
larry@larry-VirtualBox:~/myngtcp2/curl$ curl -V
curl 7.77.0-DEV (x86_64-pc-linux-gnu) libcurl/7.77.0-DEV OpenSSL/1.1.1k zlib/1.2.8
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets
--------------------------------------------------------------------------------------------------
./configure LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" PKG_CONFIG_PATH=/usr/local/nghttp3/lib/pkgconfig:/usr/local/ngtcp2/lib/pkgconfig --with-ngtcp2=/usr/local/ngtcp2 --with-nghttp3=/usr/local/nghttp3 --with-ssl=/usr/local/openssl111g
http://blog.chinaunix.net/uid-405749-id-5844453.html参考博客
重新换取最新的curl的源码,7.79.1,在进行就没有问题了
larry@larry-VirtualBox:~/myngtcp2$ cd curl/
larry@larry-VirtualBox:~/myngtcp2/curl$ ./buildconf
*** Do not use buildconf. Instead, just use: autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:120: installing './compile'
configure.ac:293: installing './config.guess'
configure.ac:293: installing './config.sub'
configure.ac:120: installing './install-sh'
configure.ac:125: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
larry@larry-VirtualBox:~/myngtcp2/curl$ LDFLAGS="-Wl,-rpath,/usr/local/openssl111g/lib" ./configure --with-ssl=/usr/local/openssl111g --with-nghttp3=/usr/local/nghttp3 --with-ngtcp2=/usr/local/ngtcp2
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable ECH support... no
checking for path separator... :
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking curl version... 7.79.1-DEV
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... no
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether build target supports WIN32 crypto API... no
checking for good-to-use Darwin CFLAGS... no
checking whether to link macOS CoreFoundation and SystemConfiguration framework... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking brotli/decode.h usability... no
checking brotli/decode.h presence... no
checking for brotli/decode.h... no
checking for ZSTD_createDStream in -lzstd... no
checking zstd.h usability... no
checking zstd.h presence... no
checking for zstd.h... no
checking for lber.h... no
checking for ldap.h... no
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... cannot find LDAP libraries
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
configure: PKG_CONFIG_LIBDIR will be set to "/usr/local/openssl111g/lib/pkgconfig"
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/openssl111g/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/openssl111g/include"
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for RAND_egd... no
checking for SSLv2_client_method... no
checking for OpenSSL_version... yes
checking for BoringSSL... no
checking for libressl... no
checking for OpenSSL >= v3... no
configure: Added /usr/local/openssl111g/lib to CURL_LIBRARY_PATH
checking for OpenSSL headers version... 1.1.1 - 0x111
checking for OpenSSL library version... 1.1.1
checking for OpenSSL headers and library versions matching... yes
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... yes
configure: built with one SSL backend
checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
checking whether to use builtin CA store of SSL library... no
checking for library containing psl_builtin... no
configure: WARNING: libpsl was not found
checking for library containing gsasl_init... no
configure: WARNING: libgsasl was not found
checking for RTMP_Init in -lrtmp... no
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... no
checking idn2.h usability... no
checking idn2.h presence... no
checking for idn2.h... no
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2 options with pkg-config... found
configure: -l is -lngtcp2
configure: -I is -I/usr/local/ngtcp2/include
configure: -L is -L/usr/local/ngtcp2/lib
checking for ngtcp2_conn_client_new_versioned in -lngtcp2... yes
checking ngtcp2/ngtcp2.h usability... yes
checking ngtcp2/ngtcp2.h presence... yes
checking for ngtcp2/ngtcp2.h... yes
configure: Added /usr/local/ngtcp2/lib to CURL_LIBRARY_PATH
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2_crypto_openssl options with pkg-config... found
configure: -l is -lngtcp2_crypto_openssl
configure: -I is -I/usr/local/ngtcp2/include
configure: -L is -L/usr/local/ngtcp2/lib
checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_openssl... yes
checking ngtcp2/ngtcp2_crypto.h usability... yes
checking ngtcp2/ngtcp2_crypto.h presence... yes
checking for ngtcp2/ngtcp2_crypto.h... yes
configure: Added /usr/local/ngtcp2/lib to CURL_LIBRARY_PATH
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp3 options with pkg-config... found
configure: -l is -lnghttp3
configure: -I is -I/usr/local/nghttp3/include
configure: -L is -L/usr/local/nghttp3/lib
checking for nghttp3_conn_client_new_versioned in -lnghttp3... yes
checking nghttp3/nghttp3.h usability... yes
checking nghttp3/nghttp3.h presence... yes
checking for nghttp3/nghttp3.h... yes
configure: Added /usr/local/nghttp3/lib to CURL_LIBRARY_PATH
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for malloc.h... yes
checking for memory.h... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking for suseconds_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... yes
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable the threaded resolver... yes
checking whether to use POSIX threads for threaded resolver... auto
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create... no
checking for pthread_create in -lpthread... yes
checking convert -I options to -isystem... yes
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to support NTLM... yes
checking whether to enable NTLM delegation to winbind's helper... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support socketpair... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support curl_easy_option*... yes
checking whether to support alt-svc... no
checking whether to support HSTS... yes
checking whether hiding of library internal symbols will actually happen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending lib/Makefile
configure: amending src/Makefile
configure: amending tests/unit/Makefile
configure: amending tests/server/Makefile
configure: amending tests/libtest/Makefile
configure: amending docs/examples/Makefile
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread
CPPFLAGS: -isystem /usr/local/openssl111g/include -isystem /usr/local/ngtcp2/include -isystem /usr/local/ngtcp2/include -isystem /usr/local/nghttp3/include
LDFLAGS: -Wl,-rpath,/usr/local/openssl111g/lib -L/usr/local/openssl111g/lib -L/usr/local/ngtcp2/lib -L/usr/local/ngtcp2/lib -L/usr/local/nghttp3/lib
LIBS: -lnghttp3 -lngtcp2_crypto_openssl -lngtcp2 -lssl -lcrypto -lssl -lcrypto -lz
curl version: 7.79.1-DEV
SSL: enabled (OpenSSL)
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: enabled
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: no (libpsl not found)
Alt-svc: enabled (--disable-alt-svc)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2, --with-hyper)
HTTP3: enabled (ngtcp2 + nghttp3)
ECH: no (--enable-ech)
Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: AsynchDNS HSTS HTTP3 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets alt-svc libz
WARNING: HTTP3 enabled but marked EXPERIMENTAL. Use with caution!
larry@larry-VirtualBox:~/myngtcp2/curl$
larry@larry-VirtualBox:~/myngtcp2/curl$ src/curl --http3 -I
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
larry@larry-VirtualBox:~/myngtcp2/curl$ curl --http3 https://nghttp2.org:4433/
curl: option --http3: the installed libcurl version doesn't support this
curl: try 'curl --help' or 'curl --manual' for more information
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
larry@larry-VirtualBox:~/myngtcp2/curl$ src/curl --http3 https://nghttp2.org:4433/
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Nghttp2: HTTP/2 C Library - nghttp2.org</title>
<meta name="author" content="Tatsuhiro Tsujikawa">
<meta name="description" content="Nghttp2: HTTP/2 C Library Feb 16th, 2015 11:16 pm nghttp2 is an implementation of
HTTP/2 and its header
compression algorithm HPACK in
C. The …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="//nghttp2.org">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="nghttp2.org" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/libs/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">nghttp2.org</a></h1>
<h2>HTTP/2 C library and tools</h2>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="https://www.google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site://nghttp2.org" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/">Top</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/blog/archives">Archives</a></li>
<li><a href="/documentation/">Documentation</a></li>
<li><a href="/httpbin">Httpbin</a></li>
<li><a href="https://github.com/nghttp2/nghttp2/releases">Releases</a></li>
<li><a href="https://github.com/nghttp2/nghttp2">Source Code</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div>
<article role="article">
<header>
<h1 class="entry-title">Nghttp2: HTTP/2 C Library</h1>
<p class="meta">
<time class='entry-date' datetime='2015-02-16T23:16:00+09:00'><span class='date'><span class='date-month'>Feb</span> <span class='date-day'>16</span><span class='date-suffix'>th</span>, <span class='date-year'>2015</span></span> <span class='time'>11:16 pm</span></time></p>
</header>
<p>nghttp2 is an implementation of
<a href="https://tools.ietf.org/html/rfc7540">HTTP/2</a> and its header
compression algorithm <a href="https://tools.ietf.org/html/rfc7541">HPACK</a> in
C.</p>
<p>The framing layer of HTTP/2 is implemented as a form of reusable C
library. On top of that, we have implemented HTTP/2 <a href="/documentation/nghttp.1.html">client</a>, <a href="/documentation/nghttpd.1.html">server</a>
and <a href="/documentation/nghttpx.1.html">proxy</a>.
We have also developed <a href="/documentation/h2load.1.html">load test and benchmarking tool</a> for HTTP/2.</p>
<p>We have participated in httpbis working group since HTTP/2 draft-04,
which is the first implementation draft. Since then we have updated
nghttp2 library constantly to latest specification and nghttp2 is now
one of the most mature <a href="https://github.com/http2/http2-spec/wiki/Implementations">HTTP/2 implementations</a>.</p>
<p>All C APIs are <a href="/documentation/apiref.html">fully documented</a>.</p>
<p>HTTP/2 utilizes header compression method called <a href="https://tools.ietf.org/html/rfc7541">HPACK</a>. We offer
HPACK encoder and decoder are available as <a href="/documentation/tutorial-hpack.html">public API</a>.</p>
<p>nghttp2 library itself is a bit low-level. The experimental <a href="/documentation/libnghttp2_asio.html">high level C++ API</a> is also available.</p>
<p>We have <a href="/documentation/python-apiref.html">Python binding</a> of this libary, but we have not covered
everything yet.</p>
<footer>
<p class="meta">
<time class='entry-date' datetime='2015-02-16T23:16:00+09:00'><span class='date'><span class='date-month'>Feb</span> <span class='date-day'>16</span><span class='date-suffix'>th</span>, <span class='date-year'>2015</span></span> <span class='time'>11:16 pm</span></time>
</p>
<div class="sharing">
<a href="//twitter.com/share" class="twitter-share-button" data-url="//nghttp2.org/index.html" data-via="" data-counturl="//nghttp2.org/index.html" >Tweet</a>
</div>
</footer>
</article>
</div>
<aside class="sidebar">
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2021/09/21/nghttp2-v1-45-1/">Nghttp2 v1.45.1</a>
</li>
<li class="post">
<a href="/blog/2021/09/20/nghttp2-v1-45-0/">Nghttp2 v1.45.0</a>
</li>
<li class="post">
<a href="/blog/2021/07/18/nghttp2-v1-44-0/">Nghttp2 v1.44.0</a>
</li>
<li class="post">
<a href="/blog/2021/02/02/nghttp2-v1-43-0/">Nghttp2 v1.43.0</a>
</li>
<li class="post">
<a href="/blog/2020/11/23/nghttp2-v1-42-0/">Nghttp2 v1.42.0</a>
</li>
</ul>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2021 - Tatsuhiro Tsujikawa -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = '//platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
</body>
</html>
larry@larry-VirtualBox:~/myngtcp2/curl$ curl --alt-svc altsvc.cache https://quic.aiortc.org/
curl: option --alt-svc: the installed libcurl version doesn't support this
curl: try 'curl --help' or 'curl --manual' for more information
curl: symbol lookup error: curl: undefined symbol: curl_mime_free
larry@larry-VirtualBox:~/myngtcp2/curl$ src/curl --alt-svc altsvc.cache https://quic.aiortc.org/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>aioquic</title>
<link rel="stylesheet" href="/style.css"/>
</head>
<body>
<h1>Welcome to aioquic</h1>
<p>
This is a test page for <a href="https://github.com/aiortc/aioquic/">aioquic</a>,
a QUIC and HTTP/3 implementation written in Python.
</p>
<h2>Available endpoints</h2>
<ul>
<li><strong>GET /</strong> returns the homepage</li>
<li><strong>GET /NNNNN</strong> returns NNNNN bytes of plain text</li>
<li><strong>POST /echo</strong> returns the request data</li>
<li>
<strong>CONNECT /ws</strong> runs a WebSocket echo service.
You must set the <em>:protocol</em> pseudo-header to <em>"websocket"</em>.
</li>
<li>
<strong>CONNECT /wt</strong> runs a WebTransport echo service.
You must set the <em>:protocol</em> pseudo-header to <em>"webtransport"</em>.
</li>
<li>There is also an <a href="/httpbin/">httpbin instance</a>.</li>
</ul>
</body>
</html>larry@larry-VirtualBox:~/myngtcp2/curl$