cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1429551 ] Configure fails to use GnuTLS

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 10 Feb 2006 20:51:00 -0800

Bugs item #1429551, was opened at 2006-02-10 20:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1429551&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Configure fails to use GnuTLS

Initial Comment:
A configure with

 ./configure --prefix=$HOME/merlin/local --without-ssl \
 --with-gnutls=$HOME/merlin/local --disable-shared \
 --enable-http --disable-ftp --disable-gopher --disable-file \
 --disable-ldap --disable-dict --disable-telnet --disable-tftp \
 --disable-manual --enable-ipv6 --disable-ares --disable-sspi \
 --disable-crypto-auth --without-libidn --without-zlib \
 --without-ca-bundle

gives part of output

  checking for gnutls_check_version in -lgnutls... no
  configure: WARNING: SSL disabled, you will not be able to use HTTPS,
      FTPS, NTLM and more.
  configure: WARNING: Use --with-ssl or --with-gnutls to address this.
  configure: WARNING: zlib disabled

This is because the "-lgnutls -lgcrypt -lgnutls-error" is assigned
to LDFLAGS, not LIBS, and in the configure test this means the
order on the command line is wrong. I.e. close to

  gcc ..... <libs> conftest.c

that will fail to link. The patch change the libraries to be
added to LIBS instead.

Just a note. It is a bit odd that to enable GnuTLS I have to
give --without-ssl, and then --with-gnutls.

kent

---
Kent Boortz, Senior Software Developer
MySQL AB, www.mysql.com
Office: +46 18 174400 ext. 4450 (VoIP)
Office: +46 19 182931
Mobile: +46 70 2791171
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1429551&group_id=976
Received on 2006-02-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET