Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: michael95 13 Dubna 2014, 22:35:03

Název: Problém s instalací phonon 4.7.1.
Přispěvatel: michael95 13 Dubna 2014, 22:35:03
Takže jsem pokročil dále v instalaci závisejících balíků až k Phonon 4.7.1., kdy se po spuštění cmake objevují chybové hlášky že soubory a složky neexistují, přestože jsou ve složce z Phonon obsaženy.
Log z terminálu:
Kód: [Vybrat]
michael@michael-VirtualBox:~/Stažené/phonon-4.7.1$ mkdir build &&
> cd    build &&
>
> cmake -DCMAKE_INSTALL_PREFIX=$QT4DIR \
>       -DCMAKE_BUILD_TYPE=Release \
>       -DCMAKE_INSTALL_LIBDIR=lib \
>       -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
>       -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
>       -Wno-dev .. &&
> make
-- Enabling backend state machine validation.
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Using CMake automoc builtin
-- PHONON_QT_IMPORTS_DIR is set to /QT_IMPORTS_DIR-NOTFOUND.
      The QML plugins for Phonon will not be installed into the Qt system installation directory,
      which is QT_IMPORTS_DIR-NOTFOUND .
      This means the QML plugins file will not be found by default.
      You can:
       * switch the cmake option PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT to TRUE
       * set PHONON_QT_IMPORTS_INSTALL_DIR manually to the system Qt location
       * at runtime, set the QML_IMPORT_PATH environment variable
CMake Error at CMakeLists.txt:186 (add_subdirectory):
  add_subdirectory given source "designer" which is not an existing
  directory.


CMake Error at CMakeLists.txt:198 (add_subdirectory):
  add_subdirectory given source "phonon" which is not an existing directory.


CMake Error at CMakeLists.txt:199 (add_subdirectory):
  add_subdirectory given source "includes" which is not an existing
  directory.


CMake Error: File /home/michael/Stažené/phonon.pc.cmake does not exist.
CMake Error at CMakeLists.txt:218 (configure_file):
  configure_file Problem configuring file


CMake Error at CMakeLists.txt:227 (file):
  file RELATIVE_PATH called with incorrect number of arguments


CMake Error: File /home/michael/Stažené/PhononConfig.cmake.in does not exist.
CMake Error at CMakeLists.txt:229 (configure_file):
  configure_file Problem configuring file


CMake Error: File /home/michael/Stažené/PhononConfigVersion.cmake.in does not exist.
CMake Error at CMakeLists.txt:230 (configure_file):
  configure_file Problem configuring file


CMake Error: File /home/michael/Stažené/qt_phonon.pri does not exist.
CMake Error at CMakeLists.txt:239 (configure_file):
  configure_file Problem configuring file


--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Qt4
+ OpenGL
+ Qt4 DBus
+ Qt4 Designer
+ Qt4 OpenGL
+ Qt4 Declarative
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!
See also "/home/michael/Stažené/phonon-4.7.1/CMakeFiles/CMakeOutput.log".
See also "/home/michael/Stažené/phonon-4.7.1/CMakeFiles/CMakeError.log".
Název: Re:Problém s instalací phonon 4.7.1.
Přispěvatel: michael95 14 Dubna 2014, 21:17:20
Zjistil jsem, že cmake se snaží vzít CmakeLists.txt ze složky stažené, proto nemůže najít ty složky (ve stažených žádné podsložky Phonnu nemám), ale mám je v podsložce Phonon 4.7.1. Nevíte, prosím někdo co uděla,t aby cmake brala ten list z té podsložky?
PS: cd cd '/home/michael/Stažené/phonon-4.7.1' jsem zkoušel.