build instructions

meik michalke meik.michalke at uni-duesseldorf.de
Thu May 11 20:13:34 UTC 2017


hi,

i've just set up a machine with a fresh installation of El Capitan, Xcode 8.2 
and Qt 5.8. i'm now trying to follow the build instructions given here:
 https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Mac

unfortunately, when testing the setup with "craft kate", building phonon fails 
with this error:

<error>
CMake Error at /Users/rkward/Qt5.8.0/5.8/clang_64/lib/cmake/Qt5UiPlugin/
Qt5UiPluginConfig.cmake:11 (message):
  The imported target "Qt5::UiPlugin" references the file

     "/Users/rkward/Qt5.8.0/5.8/clang_64/lib/QtUiPlugin.framework"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/Users/rkward/Qt5.8.0/5.8/clang_64/lib/cmake/Qt5UiPlugin/
Qt5UiPluginConfig.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /Users/rkward/Qt5.8.0/5.8/clang_64/lib/cmake/Qt5UiPlugin/
Qt5UiPluginConfig.cmake:33 (_qt5_UiPlugin_check_file_exists)
  /Users/rkward/Qt5.8.0/5.8/clang_64/lib/cmake/Qt5Designer/
Qt5DesignerConfig.cmake:81 (find_package)
  CMakeLists.txt:71 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/rkward/software/kf5/build/qt-libs/phonon/work/mingw-w64-
RelWithDebInfo-4.9.1/CMakeFiles/CMakeOutput.log".
See also "/Users/rkward/software/kf5/build/qt-libs/phonon/work/mingw-w64-
RelWithDebInfo-4.9.1/CMakeFiles/CMakeError.log".
Craft encountered an error: configure cmd: cmake -G "Ninja"   -
DPHONON_BUILD_EXAMPLES=OFF -DPHONON_BUILD_TESTS=OFF -
DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON -DPHONON_BUILD_PHONON4QT5=ON -
DPHONON_NO_DBUS=ON  -DCMAKE_INSTALL_PREFIX="/Users/rkward/software/kf5" -
DCMAKE_PREFIX_PATH="/Users/rkward/software/kf5" -
DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE_INSTALL_BUNDLEDIR="/Users/rkward/
software/kf5/Applications/KDE" -DAPPLE_SUPPRESS_X11_WARNING=ON "/Users/rkward/
software/kf5/build/qt-libs/phonon/work/phonon-4.9.1"
Action: compile for qt-libs/phonon FAILED
*** Craft all failed: all of qt-libs/phonon failed after 0:02:43 ***
fatal error: package qt-libs/phonon all failed
</error>

any ideas what i'm missing?

one other thing, craft wasn't able to checkout anything at first, until i 
applied the following workaround that already helped me when emerge was used 
(which, btw, christoph cullmann wanted to add to the instructions page almost 
a year ago ;-)):

echo "[url \"https://anongit.kde.org/\"]
insteadOf = kde:    
[url \"git at git.kde.org:\"]
pushInsteadOf = kde:
" >> ~/.gitconfig


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20170511/26787d9d/attachment.sig>


More information about the kde-mac mailing list