Cmake issue with Release 2.0 for Linux
Hello,
make release under mageia 4 x86_64 fails to prepare the sofware generation.
the copy of the console output is below.
Let me know if you need more details about my configuration.
Bestr Regards
Marc
[root@localhost MuseScore-2.0.0]# make release
if test ! -d build.release; then mkdir build.release; fi; \
cd build.release; \
export PATH=/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin; \
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=""/usr/local"" ..; \
make lrelease; \
make -j `grep -c processor /proc/cpuinfo`; \
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.6")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Doxygen not found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'libpulse'
-- found libpulse, version 5.0.0-1.mga4
-- Found pulseaudio: /usr/lib64/libpulse.so
Alsa found.
Pulseaudio found.
-- jack (jack audio connection kit) >= 0.98.0 not found
CMake Error at CMakeLists.txt:243 (MESSAGE):
Error: jack support requested but not found (BUILD_JACK=ON)
optional package portaudio-2.0 Version 19 not found (package portaudio19-dev)
-- precompiled header generation
CMake Error at mtest/CMakeLists.txt:26 (QT5_ADD_RESOURCES):
Unknown CMake command "QT5_ADD_RESOURCES".
-- Configuring incomplete, errors occurred!
See also "/home/marc/work/MuseScore-2.0.0/build.release/CMakeFiles/CMakeOutput.log".
See also "/home/marc/work/MuseScore-2.0.0/build.release/CMakeFiles/CMakeError.log".
make[1]: Entering directory '/home/marc/work/MuseScore-2.0.0/build.release'
make[1]: *** No rule to make target 'lrelease'. Arrêt.
make[1]: Leaving directory '/home/marc/work/MuseScore-2.0.0/build.release'
make[1]: Entering directory '/home/marc/work/MuseScore-2.0.0/build.release'
make[1]: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
make[1]: Leaving directory '/home/marc/work/MuseScore-2.0.0/build.release'
Makefile:34: recipe for target 'release' failed
make: *** [release] Error 2
Comments
Well, the build *does* work in general; there is no major bug in the makefile. You should probably use IRC or the developers mailing list to ask for help. But since the first error I see is regarding Qt, I guess the first question is, do you have a recent enough version of Qt installed? It seems you have 4.X, but MuseScore requires 5.X at least, probably best to have 5.4.1
Also, JACK support is on and apparently the Jack headers are not found.
No news for more than 3 years. I close the bug. Reopen if necessary.