all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: gnutls/gnutls.h: No such file or directory
Date: Mon, 20 Jun 2011 08:34:52 -0500	[thread overview]
Message-ID: <87vcw01v9f.fsf@lifelogs.com> (raw)
In-Reply-To: m1mxhd1c8t.fsf@th041141.ip.tsinghua.edu.cn

On Mon, 20 Jun 2011 10:13:22 +0800 Leo <sdl.web@gmail.com> 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	other threads:[~2011-06-20 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20  2:13 gnutls/gnutls.h: No such file or directory Leo
2011-06-20 13:34 ` Ted Zlatanov [this message]
2011-06-20 14:21   ` Leo
2011-06-20 14:52     ` Ted Zlatanov
2011-06-21  8:59       ` Leo
2011-06-21 11:44         ` Ted Zlatanov
2011-06-21 12:55           ` Ted Zlatanov
2011-06-21 13:03           ` Stephen J. Turnbull

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=87vcw01v9f.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /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.