Hi, I've been trying to get gnus to use gnutls in a win32 environment but I'm not having much success.
in the emacs README.w32 it says: * GnuTLS support In order to support GnuTLS at runtime, Emacs must be able to find the relevant DLLs during startup; failure to do so is not an error, but GnuTLS won't be available to the running session. You can get pre-built binaries (including any required DLL and the header files) at http://sourceforge.net/projects/ezwinports/files/. What I am not clear on is where I should be putting the binaries and DLLs so emacs can find them at launch time? I have tried adding a path to them in my init.el with: (setenv "PATH" (concat "C:/Program Files (x86)/gnutls/bin/;" (getenv "PATH"))) (setenv "PATH" (concat "C:/Program Files (x86)/gnutls/lib/;" (getenv "PATH"))) I also tried putting the files in the lib directory in the same directory as emacs.exe I have been testing it with: (require 'gnutls) (setq gnutls-log-level 1) (open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps") and in both cases, I get this error: Debugger entered--Lisp error: (error "GnuTLS not available") gnutls-boot(#<process tls<2>> gnutls-x509pki (:priority "NORMAL" :hostname "imap.gmail.com" :loglevel 1 :min-prime-bits 256 :trustfiles ("/usr/ssl/certs/ca-bundle.crt") :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :verify-hostname-error nil :callbacks nil)) gnutls-negotiate(:process #<process tls<2>> :type gnutls-x509pki :hostname "imap.gmail.com") open-gnutls-stream("tls" "tls-buffer" "imap.gmail.com" "imaps") eval((open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) I am using GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-07-17 on MARVIN and gnutls: C:\Users\jason>"c:\Program Files (x86)\gnutls\bin\gnutls-cli.exe" -v c:\Program Files (x86)\gnutls\bin\gnutls-cli.exe (GnuTLS) 3.0.9 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Nikos Mavrogiannopoulos. Any idea how I might make gnutls work? Thanks, Jason