我在launchpad上找到了相同的问题和相关的答案。
具体来说:
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/staging
make install
And then in a VT (Ctrl+Alt+F1):
cd ~/staging
env DISPLAY=:0 LD_LIBRARY_PATH=./lib ./bin/compiz --replace composite opengl move resize decor compiztoolbox mousepoll wall expo animation switcher