On Ubuntu 13.04 if I do not have the packages wmctrl and pcregrep installed, I get no errors. If I do have them installed, I get errors (see output below). I can fix this by installing libxtst-dev and libxaw7-dev. This doesn't bother me and I kind of like it because I had forgotten which packages I needed to install for testing. But it seems strange that having extra packages installed can cause CMake to fail.
Thoughts? Best, Scott -- ----- LYX_INSTALL_SUFFIX : 2.1 -- -- doxygen not found, ==> no doxygen creation -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'xaw7' -- package 'xaw7' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) development/autotests/xvkbd/CMakeLists.txt:17 (pkg_check_modules) -- checking for module 'xtst' -- package 'xtst' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) development/autotests/xvkbd/CMakeLists.txt:19 (pkg_check_modules)