From: Juanma Barranquero <lekktu@gmail.com>
To: Sean Sieger <sean.sieger@gmail.com>
Cc: 8825@debbugs.gnu.org
Subject: bug#8825: 24.0.50; Problem with builtin gnutls on Windows
Date: Sun, 19 Jun 2011 13:24:05 +0200 [thread overview]
Message-ID: <BANLkTintNBTsOyV=Ota+DiHzADaq=--h9w@mail.gmail.com> (raw)
In-Reply-To: <87boxu2ije.fsf@gmail.com>
On Sun, Jun 19, 2011 at 12:59, Sean Sieger <sean.sieger@gmail.com> wrote:
> So is it not enough to have the file gnutls.h in the include path?
gnutls.c does not include <gnutls.h>, but <gnutls/gnutls.h>, so you
need to have in the include path a subdirectory gnutls with the
approppriate .h files. For example, what I do is to install GnuTLS
somewhere, let's say C:\soft\gnutls-2.10.1, and then add to my Emacs
include directory a link (a junction) to
C:\soft\gnutls-2.10.1\include\gnutls:
C:\emacs\include> dir
25/04/2011 15:58 <JUNCTION> gnutls
[c:\soft\GnuTLS-2.10.1\include\gnutls]
05/11/2009 15:39 <DIR> X11
24/10/2005 21:22 16.055 gif_lib.h
04/05/2006 21:23 4.902 iconv.h
30/11/2002 19:39 1.727 jconfig.h
18/10/1997 21:59 13.936 jerror.h
12/12/2002 21:29 14.330 jmorecfg.h
21/02/1998 20:48 46.205 jpeglib.h
17/08/2010 16:38 118.986 png.h
17/08/2010 16:38 46.138 pngconf.h
25/10/2004 00:07 4.959 simx.h
27/12/2005 13:28 33.725 tiff.h
23/03/2006 23:31 2.968 tiffconf.h
28/03/2006 10:35 23.216 tiffio.h
23/03/2006 16:46 410 tiffvers.h
20/08/2010 11:18 14.962 zconf.h
20/08/2010 11:18 78.468 zlib.h
but of course you can simply copy gnutls.h and compat.h to a suitable
gnutls directory, and then add the parent of it to the include path.
In any case, take a look at nt/config.log. If you didn't use
--without-gnutls, and configure.bat was unable to find GnuTLS, you'll
see
junk.c:1:28: fatal error: gnutls/gnutls.h: No such file or directory
compilation terminated.
The failed program was:
#include "gnutls/gnutls.h"
main (){}
Juanma
next prev parent reply other threads:[~2011-06-19 11:24 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-08 21:48 bug#8825: 24.0.50; Problem with builtin gnutls on Windows nyc4bos
2011-06-08 23:39 ` Juanma Barranquero
2011-06-09 7:38 ` Eli Zaretskii
2011-06-09 9:43 ` Juanma Barranquero
2011-06-10 20:37 ` Sean Sieger
2011-06-14 23:28 ` nyc4bos
2011-06-15 0:48 ` Juanma Barranquero
2011-06-15 15:19 ` Ted Zlatanov
2011-06-15 21:37 ` nyc4bos
2011-06-17 21:42 ` Sean Sieger
2011-06-17 22:00 ` Sean Sieger
2011-06-18 16:47 ` nyc4bos
2011-06-19 0:13 ` Juanma Barranquero
2011-06-19 2:26 ` Ted Zlatanov
2011-06-19 3:07 ` Juanma Barranquero
2011-06-19 10:59 ` Sean Sieger
2011-06-19 11:24 ` Juanma Barranquero [this message]
2011-06-19 11:25 ` Juanma Barranquero
2011-06-19 12:39 ` Sean Sieger
2011-06-19 14:56 ` Ted Zlatanov
2011-06-20 17:11 ` Sean Sieger
2011-06-20 20:10 ` Juanma Barranquero
2011-06-20 22:16 ` Sean Sieger
2011-06-20 22:48 ` Juanma Barranquero
2011-06-20 23:22 ` nyc4bos
2011-06-21 12:02 ` Ted Zlatanov
2011-06-11 1:17 ` Ted Zlatanov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTintNBTsOyV=Ota+DiHzADaq=--h9w@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=8825@debbugs.gnu.org \
--cc=sean.sieger@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.