mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
updated the ares instruction
This commit is contained in:
parent
f3e7a5d755
commit
a3037e1173
@ -8,26 +8,35 @@ $Id$
|
|||||||
How To Build libcurl to use ares for asynch name resolves
|
How To Build libcurl to use ares for asynch name resolves
|
||||||
=========================================================
|
=========================================================
|
||||||
|
|
||||||
ares URL:
|
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
|
||||||
|
|
||||||
|
ares patch:
|
||||||
|
http://curl.haxx.se/dev/ares2.diff
|
||||||
|
|
||||||
ares patch URL:
|
Mac OS X quirk:
|
||||||
http://curl.haxx.se/dev/ares2.diff
|
ares 1.1.1 contains too old versions of config.guess and config.sub. Copy
|
||||||
|
the ones from the curl source tree in to the ares source tree before you
|
||||||
|
run configure.
|
||||||
|
|
||||||
Mac OS X quirk (config.guess and config.sub)
|
Build ares
|
||||||
|
==========
|
||||||
|
|
||||||
|
1. ./configure
|
||||||
|
2. make
|
||||||
|
|
||||||
Build
|
Build
|
||||||
=====
|
=====
|
||||||
|
|
||||||
If you update curl from CVS, and put 'ares' in a subdirectory in the curl
|
1. Move the ares source/build tree to subdirectory in the curl root named
|
||||||
root, you should be able to build libcurl to use ares for asynch name
|
'ares'.
|
||||||
resolves! Just make sure you:
|
2. ./buildconf
|
||||||
|
3. ./configure --enable-ares
|
||||||
|
4. make
|
||||||
|
|
||||||
1. run ./buildconf
|
If the configure script detects IPv6 support), you need to explicitly disable
|
||||||
2. run './configure --enable-ares'
|
that (--disable-ipv6) since ares isn't IPv6 compatible (yet).
|
||||||
3. run 'make'
|
|
||||||
|
|
||||||
If the configure script autodetects IPv6 support, you need to explicitly
|
|
||||||
disable that since ares isn't IPv6 compatible (yet).
|
|
||||||
|
|
||||||
Please let me know how it builds, runs, works or whatever. I had to do some
|
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.
|
fairly big changes in some code parts to get this to work.
|
||||||
|
Loading…
Reference in New Issue
Block a user