From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <831sq1r6ss.fsf@gnu.org> References: <84zics73hk.fsf@gmail.com> <84lgo97o1f.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1498826306 21843 195.159.176.226 (30 Jun 2017 12:38:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2017 12:38:26 +0000 (UTC) Cc: 27516@debbugs.gnu.org, npostavs@users.sourceforge.net To: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 30 14:38:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQvBb-00052X-7R for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 14:38:11 +0200 Original-Received: from localhost ([::1]:44367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvBg-0005cb-Ij for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 08:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvBV-0005aL-FM for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQvBS-00036W-A7 for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQvBS-00036L-6C for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dQvBR-0008C8-W3 for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2017 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jun 2017 12:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27516 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27516-submit@debbugs.gnu.org id=B27516.149882624831418 (code B ref 27516); Fri, 30 Jun 2017 12:38:01 +0000 Original-Received: (at 27516) by debbugs.gnu.org; 30 Jun 2017 12:37:28 +0000 Original-Received: from localhost ([127.0.0.1]:45596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQvAu-0008Ag-CO for submit@debbugs.gnu.org; Fri, 30 Jun 2017 08:37:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQvAt-0008AK-2D for 27516@debbugs.gnu.org; Fri, 30 Jun 2017 08:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQvAk-0002ef-F8 for 27516@debbugs.gnu.org; Fri, 30 Jun 2017 08:37:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQvAW-0002Sz-SG; Fri, 30 Jun 2017 08:37:04 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1181 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dQvAU-0000R6-11; Fri, 30 Jun 2017 08:37:04 -0400 In-reply-to: <84lgo97o1f.fsf@gmail.com> (vincent.belaiche@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134058 Archived-At: > From: vincent.belaiche@gmail.com (Vincent Belaïche) > Date: Fri, 30 Jun 2017 12:44:28 +0200 > Cc: Vincent Belaïche > > > ./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.