Hi, "John L. Clark" <jlc6@xxxxxxxxxxx> writes: > I attempted to compile the Gimp, version 1.2.3, (on a linux 2.4.14 > machine) under X 4.0.2, and got the following error: > > <output> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. > -I../intl -I/opt/gnome/include/gtk-1.2 > -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include > -I/usr/X11R6/include -I/usr/local/include > -DLIBDIR=\""/usr/local/lib/gimp/1.2"\" > -DLOCALEDIR=\""/usr/local/share/locale"\" > -DREGEX_MALLOC > -DG_LOG_DOMAIN=\"Gimp\" > -DGTK_DISABLE_COMPAT_H -g -O2 -Wall -c text_tool.c > In file included from /opt/gnome/include/gtk-1.2/gdk/gdkx.h:30, > from text_tool.c:28: > /opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:31: > X11/Xlib.h: No such file or directory > /opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:32: > X11/Xutil.h: No such file or directory > make[2]: *** [text_tool.o] Error 1 > make[2]: Leaving directory > `/home/john/download/gimp-1.2.3/app' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/john/download/gimp-1.2.3' > make: *** [all-recursive-am] Error 2 > > </output> > > I was unable to find the two header files that the compilation choked > on, and so my best guess is that X 4 rearranged the location (and > possibly API) of their header files. Or it could be some other thing > entirely which I'm doing wrong. I guess the whole problem is that you don't have X11 headers installed. This is not unusual for most distributions but it should be easy to install the X11 header files by means of your distribution. Look for a package called xlibs-dev or somehing similar. If you have the X11 headers installed then gtk-config --cflags is most probably pointing to the wrong location. Salut, Sven