In BLFS version 8.0, I'm trying to install KDE.

A required package is Phonon-4.9.1.

The cmake command gives this error:

######
lfs [ /sources/phonon-4.9.1/build ]$ cmake -DCMAKE_INSTALL_PREFIX=/usr    \
>       -DCMAKE_PREFIX_PATH=Qt5Core     \
>       -DCMAKE_BUILD_TYPE=Release     \
>       -DCMAKE_INSTALL_LIBDIR=lib     \
>       -DPHONON_BUILD_PHONON4QT5=ON   \
>       -Wno-dev ..
-- Enabling backend state machine validation.
CMake Warning at cmake/PhononQt5.cmake:28 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

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

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files. If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  cmake/FindPhononInternal.cmake:107 (include)
  CMakeLists.txt:47 (include)
######

I tried adding "-DCMAKE_PREFIX_PATH=Qt5Core" to the configure script:

######
cmake -DCMAKE_INSTALL_PREFIX=/usr    \
      -DCMAKE_PREFIX_PATH=Qt5Core     \
      -DCMAKE_BUILD_TYPE=Release     \
      -DCMAKE_INSTALL_LIBDIR=lib     \
      -DPHONON_BUILD_PHONON4QT5=ON   \
      -Wno-dev .. &&
######

But I still got the same error.

Suggestions?

Alan
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to