cURL / Mailing Lists / curl-library / Single Mail

curl-library

Compile cURL with GnuTLS

From: Cody Pritchard (cpritchard) <cpritchard_at_micron.com>
Date: Tue, 14 Jun 2016 17:13:54 +0000

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-14