unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: on how to install gnutls dlls on windows
Date: Sun, 18 Apr 2021 19:22:56 +0300	[thread overview]
Message-ID: <83h7k3tvdr.fsf@gnu.org> (raw)
In-Reply-To: <86tuo3zi4a.fsf@protonmail.com> (message from Wayne Harris via Users list for the GNU Emacs text editor on Sun, 18 Apr 2021 13:12:53 -0300)

> Date: Sun, 18 Apr 2021 13:12:53 -0300
> From:  Wayne Harris via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> 
> I don't know how to install this library.  My GNU Emacs 27.1 is a 64-bit
> application.  I have MSYS2 installed and I used PACMAN to install the
> packages
> 
>   gnutls-3.7.0-1-x86_64.pkg.tar.zst
>   libgnutls-3.7.0-1-x86_64.pkg.tar.zst
> 
> As a consequence, I have the following files, among others:
> 
> --8<---------------cut here---------------start------------->8---
> ./usr/bin/gnutls-cli-debug.exe
> ./usr/bin/gnutls-cli.exe
> ./usr/bin/gnutls-serv.exe
> ./usr/bin/msys-gnutls-30.dll
> ./usr/bin/msys-gnutlsxx-28.dll
> ./var/cache/pacman/pkg/gnutls-3.7.0-1-x86_64.pkg.tar.zst
> ./var/cache/pacman/pkg/libgnutls-3.7.0-1-x86_64.pkg.tar.zst
> ./bin/gnutls-cli-debug.exe
> ./bin/gnutls-cli.exe
> ./bin/gnutls-serv.exe
> ./bin/msys-gnutls-30.dll
> ./bin/msys-gnutlsxx-28.dll
> --8<---------------cut here---------------end--------------->8---

You've installed the wrong package: the above is the MSYS GnuTLS,
whereas you need MinGW port of GnuTLS.  Look for a package with
"mingw" in its name.

To install, put the DLLs in the package either in the same directory
where you have the emacs.exe executable, or somewhere on your Path.

>   gnutls-available-p
> 
> expects.  It always returns nil to me in GNU Emacs 27.1.  The procedure
> is defined in C source code.

Yes, because the native Windows build of Emacs cannot use MSYS DLLs,
it must have MinGW DLLs.



  reply	other threads:[~2021-04-18 16:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 16:12 on how to install gnutls dlls on windows Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 16:22 ` Eli Zaretskii [this message]
2021-04-18 16:44   ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 17:13     ` Óscar Fuentes
2021-04-18 21:43       ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 17:18     ` Eli Zaretskii
2021-04-18 21:40       ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-19 13:20         ` Eli Zaretskii
2021-04-19 19:35           ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-19 21:36             ` Óscar Fuentes
2021-04-20 12:33               ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-20 15:51                 ` Óscar Fuentes
2021-04-20 18:08                   ` Wayne Harris via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h7k3tvdr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).