build libcurl with c-ares

1.6k Views Asked by At

I want to build libcurl with c-ares,but come across a problem.

./configure --enable-ares and get output:
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

I try many versions and don't work.Is there someone figures this out?

1

There are 1 best solutions below

0
52coder On

For centos,you can use

yum install c-ares-devel openssl-devel

then make everything goes fun.