emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnutls/gnutls.h: No such file or directory


From: Ted Zlatanov
Subject: Re: gnutls/gnutls.h: No such file or directory
Date: Mon, 20 Jun 2011 08:34:52 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Mon, 20 Jun 2011 10:13:22 +0800 Leo <address@hidden> wrote: 

L> I have gnutls installed with prefix /usr/local/unix/gnutls and emacs
L> trunk used to build fine on OSX with:

L> 
PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/unix/gnutls/lib/pkgconfig:/usr/local/unix/dbus/lib/pkgconfig
L> ./configure --without-jpeg --without-gif --without-tiff

L> But today I am getting this error:

L> ,----
L> | In file included from process.h:26,
L> |                  from dispnew.c:43:
L> | gnutls.h:23:27: warning: gnutls/gnutls.h: No such file or directory
L> | gnutls.h:24:25: warning: gnutls/x509.h: No such file or directory
L> | In file included from process.h:26,
L> |                  from dispnew.c:43:
L> | gnutls.h:61: error: expected ‘)’ before ‘state’
L> | gnutls.h:62: error: expected ‘)’ before ‘state’
L> | In file included from dispnew.c:43:
L> | process.h:133: error: expected specifier-qualifier-list before 
‘gnutls_session_t’
L> | make[1]: *** [dispnew.o] Error 1
L> | make: *** [src] Error 2
L> `----

L> The following two lines in src/Makefile seems relevant:

L> ,----
L> | LIBGNUTLS_LIBS = -L/usr/local/unix/gnutls/lib -lgnutls  
L> | LIBGNUTLS_CFLAGS = 
L> `----

What does `pkg-config --cflags gnutls' say on your system?  If it's
blank (as the src/Makefile snippet implies), then it seems `pkg-config'
is not giving the right include path to the compiler.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]