Build with Remote Repository Support

Martin Michel <martin-eJ/[email protected]> Fri, 17 Jun 2022 11:01:51 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Hi there,

I want to build the latest version 2.7.5 of dar and have
problems/questions already at the `configure` step.

I cannot manage to enable the "Remote repository support" which is
needed to use SFTP for archiving to a Cloud storage.

The final output of the `./configure` says:

    Remote repository support  : NO

However, libcurl is available and found during the pkg-config checks:

    ...
    checking for libcurl... yes
    checking curl/curl.h usability... yes
    checking curl/curl.h presence... yes
    checking for curl/curl.h... yes
    ...

and also build with libssh for sftp support:

    $ curl -V
    curl 7.83.1 (x86_64-pc-linux-gnu) libcurl/7.83.1 OpenSSL/1.1.1o zlib/1.2.12 zstd/1.5.2 libssh/0.9.6/openssl/zlib
    Release-Date: 2022-05-11
    Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets zstd
    

What did I miss? Any help is highly appreciated.

Another problem seems to be building dar_static due to missing -lgpgme
and -lassuan, here I'll have to dig deeper and maybe post another
question.

Thanks in advance,
Martin