On Wed, Jan 03, 2007 at 04:58:40PM -0500, draeath wrote:
From: draeath <draeath@gmail.com> To: debian-user <debian-user@lists.debian.org> Subject: Re: No file /usr/include/gtk/gtk.h X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on murphy.debian.orgX-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=LDOSUBSCRIBER,RCVD_BY_IP autolearn=no version=3.0.3On 1/3/07, Gerard Robin <g.robin3@free.fr> wrote:Hello, which package should I install to get the file gtk.h in /usr/include/gtk/ ? tia -- GérardNot sure of which one paticularly, but one of the following: libgtk2.0-dev libgtk1.2-dev libgtk2.0 libgtk1.2 Do "apt-cache search libgtk" and it will show you the available packages that would fit.
~$ dpkg -S gtk.h | grep include libgtk2.0-dev: /usr/include/gtk-2.0/gtk/gtk.h libgtk1.2-dev: /usr/include/gtk-1.2/gtk/gtk.h gcc -Wall -o file file.c `pkg-config --cflags --libs gtk+-2.0` sovled my problem but I don't figure out `pkg-config --cflags --libs gtk+-2.0`: pkg-config --cflags --libs gtk+-2.0 : -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/ include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2 .0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -lgtk-x11-2.0 -lgdk -x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lX render -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
there are a lot of options ... and I wonder if libgtk-1.2-dev is useful ? Thanks. -- Gérard