bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27516: 25.2.50; Building master branch on MSW fails because of gnutl


From: Eli Zaretskii
Subject: bug#27516: 25.2.50; Building master branch on MSW fails because of gnutls and other reasons...
Date: Fri, 30 Jun 2017 15:36:35 +0300

> From: address@hidden (Vincent Belaïche)
> Date: Fri, 30 Jun 2017 12:44:28 +0200
> Cc: Vincent Belaïche <address@hidden>
> 
> > ./configure uses pkg-config to test for gnutls, so you need to have
> > pkg-config as well as the gnutls.pc file in the pkg-config
> > PKG_CONFIG_PATH. Try running
> 
> OK, I could get some gnutls.pc file with the gnutls library and I edited
> it for the content to match my installation, so now it is as follows:

You shouldn't need to edit it, it should work as-is.

> --- a/src/w32heap.c
> +++ b/src/w32heap.c
> @@ -116,9 +116,9 @@ typedef NTSTATUS (NTAPI *PRTL_HEAP_COMMIT_ROUTINE) (
>     to build only the first bootstrap-emacs.exe with the large size,
>     and reset that to a lower value afterwards.  */
>  #if defined _WIN64 || defined WIDE_EMACS_INT
> -# define DUMPED_HEAP_SIZE (21*1024*1024)
> +# define DUMPED_HEAP_SIZE (26*1024*1024)
>  #else
> -# define DUMPED_HEAP_SIZE (12*1024*1024)
> +# define DUMPED_HEAP_SIZE (13*1024*1024)
>  #endif

It is very strange why you need this increment, while no one else
does.

> I note that that current sizes between narrow and wide are not
> consistent, as 21 is not the double of 12.

The size in the 64-bit build doesn't need to be a double of the size
for the 32-bit build, since not every Lisp object is exactly twice
large in the 64-bit build.  These numbers were found by
trial-and-error.

> Anyway, now I have a running Emacs 26, however it seems that it does not
> have any gnutls in it, because when I try a message send, I get the
> following error message:
> 
> --8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
> Sending via mail...
> smtpmail-send-it: Sending failed: Emacs does not support TLS
> --8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----

Like Noam said: make sure the DLL is where Emacs looks for it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]