ftp/curl without GSSAPI
freebsd-ports at dino.sk
Sat Mar 29 08:59:35 UTC 2014
On Sat, 29 Mar 2014 10:35:09 +0200
Lena at lena.kiev.ua wrote:
> In `man curl`:
> --krb <level>
> (FTP) Enable Kerberos authentication and use. The level
> must be entered and should be one of 'clear', 'safe',
> 'confidential', or 'private'. Should you use a level that is not
> one of these, 'private' will instead be used.
> This option requires a library built with kerberos4
> or GSSAPI (GSS-Negotiate) support. This is not very common. Use -V,
> --ver- sion to see if your curl supports it.
> ~ $ curl -V
> curl 7.35.0 (i386-portbld-freebsd8.4) libcurl/7.35.0 OpenSSL/1.0.1f
> zlib/1.2.3 libssh2/1.4.3 Protocols: dict file ftp ftps gopher http
> https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
> Features: AsynchDNS Largefile NTLM NTLM_WB SSL libz TLS-SRP ~ $
> `make config` offers choice of GSSAPI support via
> base system, security/heimdal and security/krb5.
> The "base system" option was always selected.
> I use 8.4-RELEASE i386, its base doesn't contain libgssapi.
> curl versions up to and including 7.35.0 worked without GSSAPI
> (which I needn't). Fresh curl (7.36.0) fails to build:
> ---> Upgrading 'curl-7.35.0' to 'curl-7.36.0' (ftp/curl)
> ===> curl-7.36.0 depends on file: /usr/local/lib/libcrypto.so.8 -
> found ===> curl-7.36.0 depends on file: /usr/local/bin/perl5.16.3 -
> found ===> curl-7.36.0 depends on shared library: libssh2.so - found
> - found
> ===> Configuring for curl-7.36.0
> checking run-time libs availability... failed
> configure: error: one or more libs available at link-time are not
> available run-time. Libs used at link-time: -lssh2 -lgssapi -lz ===>
> Script "configure" failed unexpectedly. Please report the problem to
> sunpoet at FreeBSD.org [maintainer] and attach the
> "/usr/ports/ftp/curl/work/curl-7.36.0/config.log" including the
> output of the failure of your make command. Also, it might be a good
> idea to provide an overview of all packages installed on your system
> (e.g. a /usr/sbin/pkg_info -Ea). *** Error code 1
> Stop in /usr/ports/ftp/curl.
> How to force curl 7.36.0 to build without GSSAPI?
Just unselect all GSS-related option. It is 'none or one of' option
group, not 'exactly one of' kind.
More information about the freebsd-ports