curl build with quic
url
https://raw.githubusercontent.com/cloudflare/homebrew-cloudflare/master/curl.rb
https://github.com/curl/curl/blob/master/docs/HTTP3.md
issue
'openssl/opensslconf.h' file not found
./configure --disable-dependency-tracking --disable-silent-rules --prefix=/code/quiche/curl --with-secure-transport --without-ca-bundle --without-ca-path --with-ssl=/code/quiche/curl-7.69.1/quiche/deps/boringssl/.openssl --with-quiche=quiche/target/release --enable-alt-svc make
出现
md4.c:31:10: fatal error: 'openssl/opensslconf.h' file not found
。即使我们已经指定用--with-ssl=boringssl,还是报这样的错误。
参考chromium bug
本想在md4.c文件中加入include <openssl/base.h>还是不成功。
最后不得不用系统brew的openssl文件暂时workaround。
在configure之前export CPPFLAGS=-I/usr/local/opt/openssl/include。
ln问题
macos下 好像ln -s 目录有问题,linked的目录下的文件在symlink下并不能看到。暂时 workaround了。有时copy都会导致运行configure失败。注意文本格式
A small favor
Was anything I wrote confusing, outdated, or incorrect? Please let me know! Just write a few words below and I'll be sure to amend this post with your suggestions.
Follow along
If you want to know about new posts, add your email below. Alternatively, you can subscribe with RSS.