XKB - xkbcomp can't find keycode includes (Bug?)

Peter Hutterer peter.hutterer at who-t.net
Thu Feb 12 03:33:00 PST 2009

On Wed, Feb 11, 2009 at 10:52:21AM +0100, Jacek Luczak wrote:
> Hi All,
> xkbcomp fail with message:
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Error:            Can't find file "xfree86" for keycodes include
> >                   Exiting
> >                   Abandoning keycodes file "default"
> Errors from xkbcomp are not fatal to the X server
> (EE) Error compiling keymap (server-0)
> (EE) XKB: Couldn't compile keymap
> The question is, does it look for those includes in directory specified with
> --with-xkb-path?

check include/xkb-config.h. does it say the right path there?
does config.log show your settings?
> I've got xkeyboard-config (ver. 1.5) build with --with-xkb-base set to
> /etc/X11/xkb and --with-xkb-path (Xorg-server also set to same
> directory. I was trying to use setxkbmap (build with
> --with-xkb-config-root=/etc/X11/xkb) but this didn't work. Finally I've managed
> to fix (or workaround) that issue by creating symlink /usr/share/X11/xkb ->
> /etc/X11/xkb - {datadir}/X11/xkb is mentioned as default for --with-xkb-patch
> xorg-server configure option. So does this option work? Maybe it's responsible
> for sth different or this is a bug.

--with-xkb-patch or with-xkb-path (just making sure there's no typo)


More information about the xorg mailing list