unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: vincent.belaiche@gmail.com (Vincent Belaïche)
Cc: 27516@debbugs.gnu.org, npostavs@users.sourceforge.net
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	[thread overview]
Message-ID: <831sq1r6ss.fsf@gnu.org> (raw)
In-Reply-To: <84lgo97o1f.fsf@gmail.com> (vincent.belaiche@gmail.com)

> From: vincent.belaiche@gmail.com (Vincent Belaïche)
> Date: Fri, 30 Jun 2017 12:44:28 +0200
> Cc: Vincent Belaïche <vincent.belaiche@gmail.com>
> 
> > ./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.





  parent reply	other threads:[~2017-06-30 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 11:31 bug#27516: 25.2.50; Building master branch on MSW fails because of gnutls and other reasons Vincent Belaïche
2017-06-28 14:09 ` Noam Postavsky
2017-06-30 10:44   ` Vincent Belaïche
2017-06-30 11:51     ` npostavs
2017-06-30 12:36     ` Eli Zaretskii [this message]
2017-07-11  5:20       ` Vincent Belaïche
2018-07-17 22:55         ` Noam Postavsky

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=831sq1r6ss.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27516@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    --cc=vincent.belaiche@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).