Updated build instruction since I now offer a complete ares-package with all
the patches already applied. No need to apply any patches manually anymore. ares 1.1.1 is still compatible.
This commit is contained in:
@@ -5,41 +5,36 @@ $Id$
|
|||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
How To Build libcurl to use ares for asynch name resolves
|
How To Build libcurl to Use ares For Asynch Name Resolves
|
||||||
=========================================================
|
=========================================================
|
||||||
|
|
||||||
ares:
|
ares:
|
||||||
ftp://athena-dist.mit.edu/pub/ATHENA/ares/ares-1.1.1.tar.gz
|
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
|
http://curl.haxx.se/dev/ares-1.1.1.tar.gz
|
||||||
|
http://curl.sourceforge.net/dev/ares-1.1.1.tar.gz
|
||||||
|
|
||||||
ares patch:
|
c-ares, a patched and improved version of ares:
|
||||||
http://curl.haxx.se/dev/ares-curl2.diff
|
http://curl.haxx.se/beta/arescurl-1.0-pre1.tar.gz
|
||||||
|
|
||||||
Mac OS X quirk:
|
NOTE
|
||||||
ares 1.1.1 contains too old versions of config.guess and config.sub. Copy
|
libcurl works with ares 1.1.1, but several patches and improvements have
|
||||||
the ones from the curl source tree in to the ares source tree before you
|
been put into the c-ares package which has made it more portable and better
|
||||||
run configure.
|
working on several platforms.
|
||||||
|
|
||||||
Build ares
|
Build ares
|
||||||
==========
|
==========
|
||||||
|
|
||||||
1. unpack the ares-1.1.1 archive
|
1. unpack the ares archive
|
||||||
2. cd ares-src
|
2. cd ares-dir
|
||||||
3. patch -p0 < ares-curl-patch
|
3. ./configure
|
||||||
4. ./configure
|
4. make
|
||||||
5. make
|
|
||||||
|
|
||||||
Build libcurl to use ares
|
Build libcurl to use ares
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
1. Move the ares source/build tree to subdirectory in the curl root named
|
1. name the ares source directory 'ares' in the curl source directory
|
||||||
'ares'.
|
2. ./configure --enable-ares
|
||||||
2. ./buildconf
|
3. make
|
||||||
3. ./configure --enable-ares
|
|
||||||
4. make
|
|
||||||
|
|
||||||
If the configure script detects IPv6 support), you need to explicitly disable
|
If the configure script enables IPv6 support you need to explicitly disable
|
||||||
that (--disable-ipv6) since ares isn't IPv6 compatible (yet).
|
that (--disable-ipv6) since ares isn't IPv6 compatible (yet).
|
||||||
|
|
||||||
Please let me know how it builds, runs, works or whatever. I had to do some
|
|
||||||
fairly big changes in some code parts to get this to work.
|
|
||||||
|
Reference in New Issue
Block a user