www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Linking Phobos with libcurl

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Libcurl (http://curl.haxx.se/libcurl/) is a high quality library for 
HTTP and FTP. I was thinking of using libcurl from Phobos, and as usual 
this brings up the usual suspects in terms of distribution and licensing.

Does anyone have insights about libcurl that could help us with this 
decision? My understanding is that libcurl is quite widespread on Linux 
so it wouldn't be a problem to just have the installer require it. Same 
deal seems to be on OSX. I'm not sure what the situation on Windows is. 
Ideas?


Andrei
May 10 2010
parent reply "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
On Mon, 10 May 2010 20:38:02 -0700, Andrei Alexandrescu wrote:

 Libcurl (http://curl.haxx.se/libcurl/) is a high quality library for
 HTTP and FTP. I was thinking of using libcurl from Phobos, and as usual
 this brings up the usual suspects in terms of distribution and
 licensing.
 
 Does anyone have insights about libcurl that could help us with this
 decision? My understanding is that libcurl is quite widespread on Linux
 so it wouldn't be a problem to just have the installer require it. Same
 deal seems to be on OSX. I'm not sure what the situation on Windows is.
 Ideas?
I found this page that discusses the licence issues of libcurl and its various optional and mandatory dependencies: http://curl.haxx.se/legal/licmix.html -Lars
May 11 2010
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Lars T. Kyllingstad wrote:
 On Mon, 10 May 2010 20:38:02 -0700, Andrei Alexandrescu wrote:
 
 Libcurl (http://curl.haxx.se/libcurl/) is a high quality library for
 HTTP and FTP. I was thinking of using libcurl from Phobos, and as usual
 this brings up the usual suspects in terms of distribution and
 licensing.

 Does anyone have insights about libcurl that could help us with this
 decision? My understanding is that libcurl is quite widespread on Linux
 so it wouldn't be a problem to just have the installer require it. Same
 deal seems to be on OSX. I'm not sure what the situation on Windows is.
 Ideas?
I found this page that discusses the licence issues of libcurl and its various optional and mandatory dependencies: http://curl.haxx.se/legal/licmix.html
Yah, Walter and I read that too, but without having used the library we don't know exactly what builds are sensible (for example, if the user has krb4-enabled libcurl, does that restrict us in any way? etc.) Andrei
May 11 2010