Mon Nov 12 12:59:54 MST 2012
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.
On Tue, Dec 4, 2012 at 1:45 PM, Greg Hellings <greg.hellings at gmail.com> wrote:
> You shouldn't need to compile anything more than libcurl, which I thought to
> be a relatively small library.
> On Dec 4, 2012 1:29 PM, "Peter von Kaehne" <refdoc at 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.
>> sword-devel mailing list: sword-devel at crosswire.org
>> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel