GNU bug report logs -
#8825
24.0.50; Problem with builtin gnutls on Windows
Previous Next
Reported by: nyc4bos <at> aol.com
Date: Wed, 8 Jun 2011 21:52:01 UTC
Severity: normal
Found in version 24.0.50
Done: Juanma Barranquero <lekktu <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #59 received at 8825 <at> debbugs.gnu.org (full text, mbox):
On Sun, Jun 19, 2011 at 12:59, Sean Sieger <sean.sieger <at> 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
This bug report was last modified 13 years and 342 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.