compiling menufactory




i'm reading gtk-tutorial and tried to compile the menu_factory example. i
have gtk 1.01 from gnome distribution and got this error:

/////////////////////////////

cd /home/kaos/progs/dsp/
make -k
gcc -c -Wall -g -L/usr/local/include -DDEBUG menufactory.c
In file included from /usr/include/gdk/gdktypes.h:25,
                 from /usr/include/gdk/gdk.h:23,
                 from /usr/include/gtk/gtk.h:23,
                 from menufactory.c:3:
/usr/include/glib.h:22: glibconfig.h: No such file or directory
make: *** [menufactory.o] Error 1
gcc -c -Wall -g -L/usr/local/include -DDEBUG mfmain.c
In file included from /usr/include/gdk/gdktypes.h:25,
                 from /usr/include/gdk/gdk.h:23,
                 from /usr/include/gtk/gtk.h:23,
                 from mfmain.c:3:
/usr/include/glib.h:22: glibconfig.h: No such file or directory
make: *** [mfmain.o] Error 1
make: Target `menufactory' not remade because of errors.

Compilation exited abnormally with code 2 at Mon Jun  1 19:58:38 


////////////////////////////////////

i added -L/usr/lib/glib/include, but didn't work
any help is welcome.

omar



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