Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was unable to compile beclock on latest Arch, with yaourt -S bekwinfx-git:

CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "FindXCB.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "XCB", but
  CMake did not find one.

  Could not find a package configuration file provided by "XCB" with any of
  the following names:


  Add the installation prefix of "XCB" to CMAKE_PREFIX_PATH or set "XCB_DIR"
  to a directory containing one of the above files.  If "XCB" provides a
  separate development package or SDK, be sure it has been installed.

And I tried to use pkgfile to find these files, and to no avail (I already updated pkgfile cache)

Anyone know how to fix that?


Seems like XCB and other X11 libs are already included in compile flags, so removing them doesn't hurt

share|improve this question
After commenting out the offending lines CMakeLists.txt:9, CMakeLists.txt:10, be.clock/CMakeLists:22 it compiles just fine for me. – t-8ch Mar 28 '13 at 9:30
@t-8ch you should definitely put that as an answer ;-P – warl0ck Mar 28 '13 at 9:47
up vote 2 down vote accepted

After commenting out the offending lines (CMakeLists.txt:9, CMakeLists.txt:10, be.clock/CMakeLists:22) it compiles just fine for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.