使用c-ares构建libcurl

时间:2018-06-09 08:52:45

标签: build libcurl c-ares

我想用c-ares构建libcurl,但遇到了问题。

./configure --enable-ares并获得输出:
checking for perl... /home/liuwenyi/.jumbo/bin/perl
checking for gnroff... /usr/bin/gnroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable c-ares... yes
configure: c-ares may not work properly with ipv6
checking that c-ares is good and recent enough... no
configure: error: c-ares library defective or too old

我尝试了很多版本而且没有工作。有人在想这个吗?

1 个答案:

答案 0 :(得分:0)

对于centos,您可以使用

yum install c-ares-devel openssl-devel

然后让一切变得有趣。