>From the other thread, Troy writes: "I have been following the discussion on the SFTP patch and hadn't seen it come to a conclusion yet regarding what might be necessary to detect SSL support in cURL. I don't feel I've been negligent with this."
I guess we had a chicken/egg type problem because I was waiting to hear back from Peter on his success and you on what you thought of it before going further. >From what I have seen and read on libcurl - which has not yet been complete - seems to indicate that there is no build-time way to know if the library has SSH support enabled. This seems incredible to me, so I'm going to press on with getting a firm answer to that. At runtime the library handles transports that it doesn't support and transports it was optionally compiled without identically - by issuing a general statement to the user that no such transport is available. Peter's initial response includes that line in the output of installmgr: "CURLFTPTransport: TEXT: Protocol sftp not supported or disabled in libcurl". I'm presuming SWORD already has handling for such an error? Obviously installmgr prints the error to stdout/stderr. But it seems like that's the only real way to determine. If we wanted to, we could probably try to run a test at configure-time for that, but I know I would freak out if I was configuring a library to build and received a message from my firewall that it was trying to connect out to the network. I suppose, if there's no indication at build-time, that there will be no way for us to know if support is available other than this error. --Greg On Tue, Dec 4, 2012 at 1:45 PM, Greg Hellings <greg.helli...@gmail.com> wrote: > You shouldn't need to compile anything more than libcurl, which I thought to > be a relatively small library. > > --Greg > > On Dec 4, 2012 1:29 PM, "Peter von Kaehne" <ref...@gmx.net> wrote: >> >> On 04/12/12 17:04, Peter von Kaehne wrote: >> > In essence it does not work on Ubuntu (and maybe Debian) and it will >> > not work in future - unless one builts their own libcurl. Peter >> >> I am trying this right now out. But it is a major undertaking to build - >> takes a long time so far on a perfectly well specced laptop with c2d, >> 4gb ram, a nice ssd. >> >> I presume, if this gets properly added, it requires a buildtime check >> for presence of libssh and libcurl ability to use it. Otherwise we are >> in a world of pain with bug reports for which there is no reason. >> >> Peter >> >> _______________________________________________ >> sword-devel mailing list: sword-devel@crosswire.org >> http://www.crosswire.org/mailman/listinfo/sword-devel >> Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page