hi.

I got following error with awesome-3.0 and awesome-git on new linux machine.

$ cmake .
$ make
(snip)
[ 76%] Building C object CMakeFiles/awesome.dir/common/tokenize.c.o
Linking C executable awesome
CMakeFiles/awesome.dir/keybinding.c.o: In function `luaA_keystore':
/tmp/awesome-3.0/keybinding.c:306: undefined reference to `XStringToKeysym'
collect2: ld returned 1 exit status
make[2]: *** [awesome] Error 1
make[1]: *** [CMakeFiles/awesome.dir/all] Error 2
make: *** [all] Error 2

It is fixed with adding either x11 or x11-xcb to AWESOME_REQUIRED, but
its not needed in other machines I have.

diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake
index 6bafa12..ca1e79f 100644
--- a/awesomeConfig.cmake
+++ b/awesomeConfig.cmake
@@ -134,6 +134,7 @@ pkg_check_modules(AWESOME_REQUIRED REQUIRED
     cairo
     pango
     pangocairo
+    x11-xcb
     xcb-randr
     xcb-xinerama
     xcb-event>=0.3.0

regards,
matsuu

-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to