Maybe it's installed at some weird location :
You should try something like "locate xkbcommon.h", check that it's installed 
at some location, and add "-I/path/to/the/directory" to the CFLAGS of i3.
Be sure to add the path to the directory containing the "xkbcommon" directory.


On Fri, Nov 22, 2013 at 01:29:57PM -0200, Thiago Farina wrote:
> Reposting to the right email address.
> 
> On Wed, Nov 20, 2013 at 8:11 PM, Thiago Farina <[email protected]> wrote:
> > Hi,
> >
> > I have installed libxkbcommon-dev, but I'm still getting this error:
> >
> > clang -std=c99 -pipe -Wall -I/usr/include/cairo
> > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> > -I/usr/include/pixman-1 -I/usr/include/freetype2
> > -I/usr/include/libpng12   -D_GNU_SOURCE -DVERSION=\""2.5-12-g4cd711b
> > (2013-11-20)"\"  -c -o i3lock.o i3lock.c
> > i3lock.c:27:10: fatal error: 'xkbcommon/xkbcommon.h' file not found
> > #include <xkbcommon/xkbcommon.h>
> >          ^
> > 1 error generated.
> > make: *** [i3lock.o] Error 1
> >
> > Does anyone knows how to fix this?
> >
> > Thanks,
> >
> > --
> > Thiago
> 
> -- 
> Thiago

-- 
Philippe Virouleau
IJD INRIA - Équipe MOAIS

Reply via email to