cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Compile cURL with GnuTLS

From: Cody Pritchard (cpritchard) <cpritchard_at_micron.com>
Date: Tue, 14 Jun 2016 21:58:55 +0000

Update on what I have tried.

Pkg-config tool was not installed on my system before. I have since followed these steps to install it:

  * go to http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
  * download the file pkg-config_0.26-1_win32.zip
  * extract the file bin/pkg-config.exe to C:\MinGW\bin
  * download the file gettext-runtime_0.18.1.1-2_win32.zip
  * extract the file bin/intl.dll to C:\MinGW\bin
  * go to http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28
  * download the file glib_2.28.8-1_win32.zip
  * extract the file bin/libglib-2.0-0.dll to C:\MinGW\bin
The path to C:\MinGW\bin is in my PATH now.
And configure says it finds pkg-config in that location.

From what I understand, I believe I am providing everything necessary for cURL to be able to recognize GnuTLS

I have attatched my latest configure log if it will help.

There must be something I am missing or not doing, so any feedback is appreciated.

Thank you.

From: Cody Pritchard (cpritchard)
Sent: Tuesday, June 14, 2016 10:14 AM
To: 'curl-library_at_cool.haxx.se' <curl-library_at_cool.haxx.se>
Subject: Compile cURL with GnuTLS

So, taking a break from the NSS build and trying a different route.

I have downloaded the latest precompiled windows version of GnuTLS from :
https://www.gnutls.org/download.html

And have unzipped its contents into my build directory.

I want to point cURL configure to the proper place and I see that gnu has a pkgconfig folder and scripts, located in my:
C:\BUILD\gnutls-3.4.9-w64\lib\pkgconfig

                Inside this folder there are:
                                Gnutls.pc
                                Hogweed.pc
                                Nettle.pc
                                P11-kit-1.pc

                But no matter what I do, I cannot get configure to recognize GnuTLS as a valid SSL option.

                I have tried these configure commands:
                                Perl confgire -without-zlib -without-ssl -with-gnutls ( with the path to the pkgconfig folder in my system PATH )
Perl confgire -without-zlib -without-ssl -with-gnutls= C:\BUILD\gnutls-3.4.9-w64\lib\pkgconfig
                               Perl confgire -without-zlib -without-ssl -with-gnutls= C:\BUILD\gnutls-3.4.9-w64\lib\pkgconfig\gnutls.pc

                And I have had no luck.

Is there something I am missing or doing wrong?

Thank you.
Cody.

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2016-06-15