Re: compiling GTK



> From: joev_nylug mindspring com
>
> I have been able to use ./configure to configure GTK, next I ran make and got this error at the end:
>
> rm -f .libs/gdk.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/X11/include -g -O2 -Wall -c gdk.c  -fPIC -DPIC -o .libs/gdk.lo
> gdk.c:41: X11/Xatom.h: No such file or directory
> gdk.c:42: X11/Xlib.h: No such file or directory
> gdk.c:43: X11/Xos.h: No such file or directory
> gdk.c:44: X11/Xutil.h: No such file or directory
> gdk.c:45: X11/cursorfont.h: No such file or directory
> In file included from gdk.c:47:
> gdkprivate.h:31: X11/Xlib.h: No such file or directory
> gdkprivate.h:32: X11/Xutil.h: No such file or directory
> make[2]: *** [gdk.lo] Error 1
> make[2]: Leaving directory `/home/joev/stuff/gtk+-1.2.10/gdk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/joev/stuff/gtk+-1.2.10'
> make: *** [all-recursive-am] Error 2 
>
> root joev:/home/joev/stuff/gtk+-1.2.10 > make -v
> GNU Make version 3.77, by Richard Stallman and Roland McGrath.
>
> reading make --help and INSTALL from gtk+-1.2.10 gave me no clues. 
>
> I'm not sure what's going on here and how to correct. Any and all help/suggestions appreciated.

It looks like the X header files haven't been installed. Which distribution are
you running? If it's Debian, you need to install xlibs-dev (and possibly
a few other -dev packages) to get the header files.

Ron Steinke




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