unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: "Vincent Belaïche" <vincent.belaiche@gmail.com>
Cc: 27516@debbugs.gnu.org
Subject: bug#27516: 25.2.50; Building master branch on MSW fails because of gnutls and other reasons...
Date: Wed, 28 Jun 2017 10:09:46 -0400	[thread overview]
Message-ID: <CAM-tV-_N+7qDeahguGJ+YZoq+bCfsCfpbN6whVt-wzjPosq8Yg@mail.gmail.com> (raw)
In-Reply-To: <84zics73hk.fsf@gmail.com>

On Wed, Jun 28, 2017 at 7:31 AM, Vincent Belaïche
<vincent.belaiche@gmail.com> wrote:
> When trying to build the latest on master branch, I get this error:
>
> --8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
> configure: error: The following required libraries were not found:
>      gnutls
> Maybe some development libraries/packages are missing?
> If you don't want to link with them give
>      --with-gnutls=no
> as options to configure
> --8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----
>
> I am using configure with the following command line:
>
> --8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
>   ./configure --prefix=c:/Nos_Programmes/GNU/Emacs \
>                           --without-jpeg \
>                           --without-tiff \
>                           --without-gif \
>                           --without-png \
>                           --with-gnutls=no
> --8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----

>
> So I am surprised. Also without `--with-gnutls=no' I get the same error
> message, although I have put under my mingw directory the gnutls binary
> from sourceforge EZWinPorts, but configure does not detect its presence.

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

   pkg-config --debug gnutls

> Having or not --with-gnutls=no does not change the outcome as far as
> error message is concerned. I am a bit confused because in the configure
> --help, `--without-gnutls' is mentioned instead of `--with-gnutls=no'. I
> tried `--without-gnutls' and the compilation went through. So this is an error in the message given by configure.

Using --with-gnutls=no works for me, is it possible you have some
extra whitespace after one of the backslashes?

> Well, when I am writing the the compilation went through, this is not up
> to the end, because I got this later on:
>
> --8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
> Loading c:/Programmes/installation/emacs-install/master/emacs/lisp/emacs-lisp/eldoc.el (source)...
> dumped_data_commit: memory exhausted.
> Enlarge dumped_data[]!
> mv -f emacs.exe bootstrap-emacs.exe
> mv: cannot stat `emacs.exe': No such file or directory
> make[2]: *** [bootstrap-emacs.exe] Error 1
> --8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----

Hmm, doesn't happen for me, but you can try enlarging DUMPED_HEAP_SIZE
in src/w32heap.c





  reply	other threads:[~2017-06-28 14:09 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 [this message]
2017-06-30 10:44   ` Vincent Belaïche
2017-06-30 11:51     ` npostavs
2017-06-30 12:36     ` Eli Zaretskii
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=CAM-tV-_N+7qDeahguGJ+YZoq+bCfsCfpbN6whVt-wzjPosq8Yg@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=27516@debbugs.gnu.org \
    --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).