I will mark this as a bug in savannah[1]

IIRC a similar thing was reported two years ago, but without gtk-config
installed Xnee can't (currently) make sure gtk exists.

/h

[1] http://savannah.gnu.org/projects/xnee


On 01/25/2011 04:32 AM, William Bader wrote:
> 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: [email protected]
>> To: [email protected]
>> 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
> 
> 
> 
> _______________________________________________
> Bug-xnee mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-xnee


_______________________________________________
Bug-xnee mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xnee

Reply via email to