Debian12 用C编译 curl v8.14.1

curl的 Github代码库

这是一个C语言的项目


大部分操作是一样的, 记录一下不同的地方

./configure 的时候报错
checking for library containing psl_builtin... no
configure: error: libpsl was not found
找GPT问了一下, 说要安装
apt install libpsl-dev

然后还会报错
configure: error: select TLS backend(s) or disable TLS with --without-ssl.

于是需要
./configure --with-openssl

无错完成以后就可以 make 了

生成的 curl 在 src 目录下


* 注意 这个 curl 不是可执行文件

你可以cat看一下文件的内容


评论

The Hot3 in Last 7 Days

酒馆SillyTavern 玩英文角色卡 也能以中文输出 设置世界书Lorebooks

搭 Docker版 Sub-Store 带 http-meta 实现 集合订阅 测延迟 排序 筛选 生成新订阅 定时任务上传Gist