On 11/16/19 3:28 PM, Trent via blfs-support wrote:

On 11/16/19 2:56 PM, Douglas R. Reno wrote:
On 2019-11-16 14:43, Trent via blfs-support wrote:
Phonenon-4.10.3 From this link

http://www.linuxfromscratch.org/blfs/view/stable-systemd/kde/phonon.html



Error displayed:

*****************************************************************************

CMake Error at /usr/share/ECM/modules/ECMPoQmTools.cmake:144 (find_package):   Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/share/ECM/modules/ECMPoQmTools.cmake:234 (ecm_process_po_files_as_qm)
  CMakeLists.txt:317 (ecm_install_po_files_as_qm)


-- Configuring incomplete, errors occurred!
See also "/usr/src/kde/phonon-4.10.3/build/CMakeFiles/CMakeOutput.log".

*****************************************************************************


Doing a search,  I see the file it is looking for in:

/usr/src/kde/qt-everywhere-src-5.13.0/qttools/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake

/opt/qt-5.13.0/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake


Following the advice from the error,


I added in
-Qt5LinguistTools_DIR=/opt/qt-5.13.0/lib/cmake/Qt5LinguistTools like
so:


*****************************************************************************

cmake -DCMAKE_INSTALL_PREFIX=/usr    \
-Qt5LinguistTools_DIR=/opt/qt-5.13.0/lib/cmake/Qt5LinguistTools \
           -DCMAKE_BUILD_TYPE=Release     \
            -DPHONON_BUILD_PHONON4QT5=ON   \
            -Wno-dev .. &&
make

*****************************************************************************

I am still getting the same result.

What is going on with this?


Thanks!

Hi Trent,

Can you try running:

source /etc/profile.d/qt5.sh
sudo /sbin/ldconfig

And then try building phonon again?


Ken,


I am getting the same result.



Trent



This has been resolved.


According to the KDE folks, I should add "-DCMAKE_PREFIX_PATH=/opt/qt-5" into the cmake options.

I did that and was able to find all it needed.

Maybe that needs to be added into Phonon?


Trent


--
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