Subject: Compiling c-ares 1.7.0 on MAC OSX (v10.6 -- Snow Leopard)

Compiling c-ares 1.7.0 on MAC OSX (v10.6 -- Snow Leopard)

From: Dhruva T S <dhruvats_at_tataelxsi.co.in>
Date: Mon, 11 Jan 2010 16:59:16 +0530

Hi list,

I am trying to compile curl 7.19.4 with c-ares support on MAC OSX Snow Leopard(v10.6).
When I run './configure' for c-ares 1.7.0, I get "checking for monotonic clock_gettime() ... no".

So when I run configure script for libcURL, I get an "error: c-ares library defective or too old"
On googling, I came to know that as c-ares is unable to find 'librt' library in MAC OS X, I am getting this error.

Apparently, 'librt' is not there in MAC OS X.

Is there any other way to solve this?

Many Thanks,
Dhruva
Received on 2010-01-11