bug-xnee
[Top][All Lists]
Advanced

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

RE: [Bug-xnee] Re: gnee and pnee both crashed


From: William Bader
Subject: RE: [Bug-xnee] Re: gnee and pnee both crashed
Date: Mon, 24 Jan 2011 22:32:59 -0500

The error "main.c:35:21: error: gtk/gtk.h: No such file or directory" means that gcc didn't find gtk.h.
Your compile line does not have -I/usr/lib/gtk-2.0/include.
Either the configure script didn't work or you have not installed the gtk development package, which has the headers and libraries that you need to build programs that use gtk.
On Fedora, I can run
  yum provides /usr/include/gtk-2.0/gtk/gtk.h
and it tells me
  gtk2-devel-2.22.0-1.fc14.1.i686 : Development files for GTK+
  Repo        : fedora
  Matched from:
  Filename    : /usr/include/gtk-2.0/gtk/gtk.h

William

> Date: Tue, 25 Jan 2011 10:32:58 +0800
> From: address@hidden
> To: address@hidden
> Subject: [Bug-xnee] Re: gnee and pnee both crashed
>
> At Tue, 25 Jan 2011 10:20:06 +0800,
> James Harkins wrote:
> > I'll try the latest downloadable also -- I have to admit to some pessimism there but it's worth a shot.
>
> I tried to build 3.07 from sources, got this error.
>
> At this point, I will have to look for another solution. xnee needs work before it is usable.
>
> hjh
>
>
> make[3]: Entering directory `/home/dlm/share/xnee-3.07/gnee/src'
> gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I"../../libxnee"/include -I../../ -DXNEE_XINPUT_SUPPORT -g -O2 -MT gnee-main.o -MD -MP -MF .deps/gnee-main.Tpo -c -o gnee-main.o `test -f 'main.c' || echo './'`main.c
> main.c:35:21: error: gtk/gtk.h: No such file or directory
> In file included from main.c:37:
> interface.h:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

reply via email to

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