I can't compile the commit 8b77c69. The error message is:
sh version.sh --header > keynav_version.h
cc -I/usr/X11R6/include -I/usr/local/include -c -o keynav.o keynav.c
keynav.c:23:18: fatal error: glib.h: No such file or directory
compilation terminated.
make: *** [keynav.o] Error 1
My OS is debian sid and I'm sure that libcairo2-dev, libglib2.0-dev,
libxdo-dev, libxinerama-dev are all installed.
The last commit I can compile is b880bf9.
BTW, libxdo-dev isn't in the file "DEBIAN". Please add it.
Thanks,
Des
Hi,
I can't compile the commit 8b77c69. The error message is:
sh version.sh --header > keynav_version.h
cc -I/usr/X11R6/include -I/usr/local/include -c -o keynav.o keynav.c
keynav.c:23:18: fatal error: glib.h: No such file or directory
compilation terminated.
make: *** [keynav.o] Error 1
My OS is debian sid and I'm sure that libcairo2-dev, libglib2.0-dev,
libxdo-dev, libxinerama-dev are all installed.
The last commit I can compile is b880bf9.
BTW, libxdo-dev isn't in the file "DEBIAN". Please add it.
This reports that libxtst-dev isn't installed. After installing
libxtst-dev I can compile the code now.
> Between the two versions you say are good/bad, here is the diff in the
> Makefile:
> -CFLAGS+=$(shell pkg-config --cflags cairo-xlib xinerama glib-2.0 2>
> /dev/null || echo -I/usr/X11R6/include -I/usr/local/include)
> -LDFLAGS+=$(shell pkg-config --libs cairo-xlib xinerama glib-2.0 2>
> /dev/null || echo -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst -lXinerama
> -lXext -lglib)
> +CFLAGS+=$(shell pkg-config --cflags cairo-xlib xinerama glib-2.0 xext x11
> xtst 2> /dev/null || echo -I/usr/X11R6/include -I/usr/local/include)
> +LDFLAGS+=$(shell pkg-config --libs cairo-xlib xinerama glib-2.0 xext x11
> xtst 2> /dev/null || echo -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
> -lXinerama -lXext -lglib)
>
> I added xext, x11, and xtst.
I think libxext-dev, libx11-dev, libxtst-dev should be added to the
file "DEBIAN" too.
>> My OS is debian sid and I'm sure that libcairo2-dev, libglib2.0-dev,
>> libxdo-dev, libxinerama-dev are all installed.
>>
>> The last commit I can compile is b880bf9.
>>
>> BTW, libxdo-dev isn't in the file "DEBIAN". Please add it.
>>
>
> Added, but take note: Debian generally has ancient versions of things,
> especially of xdotool due to problems with the test suite passing on their
> build cluster, and most especially if you are building from git or are using
> recent releases of keynav - just be aware that keynav may not work with it.
> Try first, if it breaks, you'll need to install a recent version of
> xdotool/libxdo yourself.
The version of libxdo-dev in Debian is 1:2.20110530.1-3. It's the
current version on the project's homepage. Is it up-to-date enough?
Anyway, I can compile the code now. The program works. Thank you.
Des
The version of libxdo-dev in Debian is 1:2.20110530.1-3. It's the
>> My OS is debian sid and I'm sure that libcairo2-dev, libglib2.0-dev,
>> libxdo-dev, libxinerama-dev are all installed.
>>
>> The last commit I can compile is b880bf9.
>>
>> BTW, libxdo-dev isn't in the file "DEBIAN". Please add it.
>>
>
> Added, but take note: Debian generally has ancient versions of things,
> especially of xdotool due to problems with the test suite passing on their
> build cluster, and most especially if you are building from git or are using
> recent releases of keynav - just be aware that keynav may not work with it.
> Try first, if it breaks, you'll need to install a recent version of
> xdotool/libxdo yourself.
current version on the project's homepage. Is it up-to-date enough?