Description |
The X.org 6.8.2 source needs to build a native version of the xkbcomp utility during cross-compilation. To do this, it attempts to link it with libxkbfile and libX11 from the build system, which it assumes will be found in /usr/X11R6/lib.
The attached patch adds /usr/lib to the search path for those people using distributions that put the X libraries in /usr/lib instead of /usr/X11/lib. Note that it is still necessary to have the appropriate devel package for libxkbfile and libX11 installed in order to build properly.
This is all rather broken anyway, as the X sources are blindly assuming that the host system not only has X libraries installed but that they're going to be compatible with the utilities (from a potentially different X distribution) that are being built. A more correct solution would be to modify things to build a host version of libxkbfile and libX11 from the 6.8.2 sources and link to those (but that's a much larger endeavor, and if I'm going to work on that sort of thing I think I'll just start over with the newer 7.1 sources, which I'll probably look into shortly.)
But anyway, this patch at least allows X to compile on my system (Ubuntu Edgy).. |