[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8825: 24.0.50; Problem with builtin gnutls on Windows
From: |
Juanma Barranquero |
Subject: |
bug#8825: 24.0.50; Problem with builtin gnutls on Windows |
Date: |
Sun, 19 Jun 2011 13:24:05 +0200 |
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
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, (continued)
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/14
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Ted Zlatanov, 2011/06/15
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, nyc4bos, 2011/06/15
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/17
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/17
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, nyc4bos, 2011/06/18
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/18
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Ted Zlatanov, 2011/06/18
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/18
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/19
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows,
Juanma Barranquero <=
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/19
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/19
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Ted Zlatanov, 2011/06/19
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/20
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/20
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Sean Sieger, 2011/06/20
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Juanma Barranquero, 2011/06/20
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, nyc4bos, 2011/06/20
- bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Ted Zlatanov, 2011/06/21
bug#8825: 24.0.50; Problem with builtin gnutls on Windows, Ted Zlatanov, 2011/06/10