2003-08-05 22:52:31 +08:00
|
|
|
$Id$
|
|
|
|
_ _ ____ _
|
|
|
|
___| | | | _ \| |
|
|
|
|
/ __| | | | |_) | |
|
|
|
|
| (__| |_| | _ <| |___
|
|
|
|
\___|\___/|_| \_\_____|
|
|
|
|
|
2003-10-13 21:07:50 +08:00
|
|
|
How To Build libcurl to Use ares For Asynch Name Resolves
|
|
|
|
=========================================================
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-08-06 21:21:19 +08:00
|
|
|
ares:
|
|
|
|
ftp://athena-dist.mit.edu/pub/ATHENA/ares/ares-1.1.1.tar.gz
|
|
|
|
http://curl.haxx.se/dev/ares-1.1.1.tar.gz
|
2003-10-13 21:07:50 +08:00
|
|
|
http://curl.sourceforge.net/dev/ares-1.1.1.tar.gz
|
2003-10-13 21:10:05 +08:00
|
|
|
http://curl.planetmirror.com/dev/ares-1.1.1.tar.gz
|
|
|
|
http://curl.tsuren.net/dev/ares-1.1.1.tar.gz
|
2003-08-06 21:21:19 +08:00
|
|
|
|
2003-10-13 21:10:05 +08:00
|
|
|
c-ares: (a patched and improved version of ares)
|
2003-10-13 21:07:50 +08:00
|
|
|
http://curl.haxx.se/beta/arescurl-1.0-pre1.tar.gz
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-10-13 21:07:50 +08:00
|
|
|
NOTE
|
|
|
|
libcurl works with ares 1.1.1, but several patches and improvements have
|
|
|
|
been put into the c-ares package which has made it more portable and better
|
|
|
|
working on several platforms.
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-08-06 21:21:19 +08:00
|
|
|
Build ares
|
|
|
|
==========
|
|
|
|
|
2003-10-13 21:07:50 +08:00
|
|
|
1. unpack the ares archive
|
|
|
|
2. cd ares-dir
|
|
|
|
3. ./configure
|
|
|
|
4. make
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-08-06 21:22:29 +08:00
|
|
|
Build libcurl to use ares
|
|
|
|
=========================
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-10-13 21:07:50 +08:00
|
|
|
1. name the ares source directory 'ares' in the curl source directory
|
|
|
|
2. ./configure --enable-ares
|
|
|
|
3. make
|
2003-08-05 22:52:31 +08:00
|
|
|
|
2003-10-13 21:07:50 +08:00
|
|
|
If the configure script enables IPv6 support you need to explicitly disable
|
2003-08-06 21:21:19 +08:00
|
|
|
that (--disable-ipv6) since ares isn't IPv6 compatible (yet).
|