I've downloaded libcurl from their site. Built and installed, however when I tried to compile an app I got:
In file included from /usr/local/include/curl/curl.h:34:0,
from curl-ip.cpp:1:
/usr/local/include/curl/curlbuild.h:151:9: error: 'socklen_t' does not name a type
In file included from /usr/local/include/curl/curl.h:35:0,
from curl-ip.cpp:1:
/usr/local/include/curl/curlrules.h:173:6: error: 'curl_socklen_t' was not declared in this scope
/usr/local/include/curl/curlrules.h:183:6: error: 'curl_socklen_t' was not declared in this scope
So I checked everything and I found that cmake found a lot of errors:
http://pastebin.com/cVX8n4eQ
Almost everything is "failed". ALso the required libs seem like windows libs. Is curl windows only?
Also I've tried a package from Debian repos and it is a big fail. I installed it and no libs. I opened the archive and there is only a doc or something, so the source is only option I think.