Antony Gelberg wrote: >Vegard|drageV wrote: > > >>I'm trying for the first time to make my own gui-program, with menus and >>all to launch a series of commands and scripts I've written. Google led >>me to http://www.gtk.org/tutorial/ , where I am to compile the program >>base.c, given as an example in the text under the link "3. Getting >>started". >> >>Compiling gives this error: >>------------------------------------------------------------------------------------------------------- >>[EMAIL PROTECTED]:~/gtk$ gcc base.c -o base `pkg-config --cflags --libs >>gtk+-2.0` >>Package gtk+-2.0 was not found in the pkg-config search path. >>Perhaps you should add the directory containing `gtk+-2.0.pc' >>to the PKG_CONFIG_PATH environment variable >>No package 'gtk+-2.0' found >>base.c:1:21: gtk/gtk.h: Ingen slik fil eller filkatalog >>base.c: I funktionen 'main': >>base.c:6: error: `GtkWidget' undeclared (first use in this function) >>base.c:6: error: (Each undeclared identifier is reported only once >>base.c:6: error: for each function it appears in.) >>base.c:6: error: `window' undeclared (first use in this function) >>base.c:10: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this >>function) >>[EMAIL PROTECTED]:~/gtk$ >>------------------------------------------------------------------------------------------------------------- >> >>I can not find the files gtk+-2.0.pc , gtk/gtk.h anywhere. I tried >>installing the developmentfiles with: >> >> apt-get install libgtk2.0-dev >> >>but this package has dependencies to other packages wich is not >>available to me, namly: >> >> libpango1.0-dev, libx11-dev, xlibs-dev >> >>Is there anybody who have any idea on what I can do to fix the compiler? >> >>I have Debian Sarge, kernel 2.4.27-2-686 >> >> > >In Sarge, every package should be installable. Is this an old testing >installation that has not been updated? > > > > TRY IT!! https://www.scientificlinux.org/
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

