Re: [gtk-list] gtk+-0.99.4: compile/"make"-problems



> When I try to compile gtk+-0.99.4 with "make", I get these error messages:
> 
> gdk.c:23: X11/Xlocale.h: No such file or directory
> gdk.c:39: X11/Xatom.h: No such file or directory
> gdk.c:40: X11/Xlib.h: No such file or directory

[etc...]

For some reason, your X11 header files aren't being found.  So, you probably
need to tell configure to include your X includes directory, like so:

host:~> configure --x-includes="<my_x_includes_directory>"

You can do a configure --help to see what other params are supported (i.e.
if you also have problems with not finding the gtk libraries).
So if Xlocale.h, etc. are in /usr/X11R6/include/X11, use "/usr/X11R6/include"
as your <my_x_includes_directory>.  Although, I've only had to do this because
my X header files are in a non-standard place.  I thought if everything was
vanilla about your X install, that configure would find things without
explicit params to configure, but I could very well be wrong.

Anyway, hope this helps.

-Brian



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