I’m trying to use Bespin from SVN but the build failed at configuring. According to [BUG], there are two ways of solving it:

  1. Reinstalling libqt4-phonon-dev
    • $ sudo aptitute reinstall libqt4-phonon-dev
  2. Create a symlink (symbolic link/shortcut) from /usr/include/qt4/phonon to /usr/include/phonon
    • $ sudo ln -s /usr/include/qt4/phonon /usr/include/phonon

With my current Lucid, I get the second one successful.The complete error message when installing:

$ cmake .

— Found Qt-Version 4.6.1 (using /usr/bin/qmake)   — Found X11: /usr/lib/libX11.so                   CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):  file Internal CMake error when trying to open file:                          /usr/include/phonon/phononnamespace.h for reading.                         Call Stack (most recent call first):                                           /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45 (_phonon_find_version)  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:613 (find_package)   /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)                  CMakeLists.txt:15 (find_package)                                             — Found KDE 4.4 include dir: /usr/include— Found KDE 4.4 library dir: /usr/lib    — Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler— Found automoc4: /usr/bin/automoc4                                      — WARNING: *** Amarok Hack enabled, notice that this will potentially cause trouble on Amarok                       also this is legacy code and supposed to be redundant due to (future) changes to Amarok                       Hacks can be disbaled at runtime and should in case of issues with Amarok                                     By activating this you confirm that you know what you’re doing ***                     — Found X11: /usr/lib/libX11.so                                                                              — INFO: XRender was found – kwin deco & FX via GPU available!                                                — Configuring incomplete, errors occurred!I was trying to build Bespin according tothis.Reference:[BUG]  https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/386742