On Mon, Jun 27, 2016 at 11:48 AM, Kornel Benko <kor...@lyx.org> wrote:
> Do you also have "/opt/local/rh/qt5/usr/bin/qmake"? > If yes, set your PATH to "/opt/local/rh/qt5/usr/bin:$PATH" > > Done, see below. Note that I prepended another path to make sure it picks up the right qmake (because the one in /usr/bin is qmake-qt5). > > > > > where I do have > /opt/local/rh/qt5/usr/lib64/cmake/Qt5Svg/Qt5SvgConfig.cmake > > but cannot seem to get CMake to see it. > > Cmake should be able to find it through the correct PATH. > Same result as before: 1016 jkulesza@machine[~/SRC/lyx220/build_cmake]> echo $PATH /opt/local/rh/qt5/usr/lib64/qt5/bin:/opt/local/rh/qt5/usr/bin:... 1017 jkulesza@machine[~/SRC/lyx220/build_cmake]> cmake ../. -- TOP_SRC_DIR = /home/jkulesza/SRC/lyx220 -- -- Building in-source -- -- Using GCC version 5.3.0 -- CXX11_FLAG_DETECTED = "--std=c++11" -- Found Qt-Version 5.6.0 -- Function magic_file not found -- Function magic_open not found -- Function magic_load not found -- Function magic_close not found -- Function magic_error not found -- Could NOT find Magic (missing: Magic_INCLUDE_DIR Magic_LIBRARY HAS_MAGIC_FUNCTIONS) -- Could NOT find ASPELL (missing: ASPELL_LIBRARY ASPELL_INCLUDE_DIR) -- ASPELL not found, building without ASPELL support -- Could NOT find ENCHANT (missing: ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR) -- ENCHANT not found, building without Enchant support -- Could NOT find HUNSPELL (missing: HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR) -- HUNSPELL not found, building without Hunspell support -- Using std regex -- -- ----- PACKAGE : lyx2.2 -- ----- PACKAGE_VERSION : 2.2.0 -- ----- PROGRAM_SUFFIX : 2.2 -- ----- LYX_DATE : 2016-05-23 -- ----- LYX_DIR_VER : LYX_DIR_22x -- ----- LYX_USERDIR_VER : LYX_USERDIR_22x -- ----- LYX_ABS_TOP_SRCDIR : /home/jkulesza/SRC/lyx220 -- ----- LYX_ABS_INSTALLED_DATADIR : /usr/local/lyx2.2 -- ----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/local/lyx2.2/locale -- ----- LYX_INSTALL_SUFFIX : 2.2 -- CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (find_package): Could not find a package configuration file provided by "Qt5Svg" with any of the following names: Qt5SvgConfig.cmake qt5svg-config.cmake Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set "Qt5Svg_DIR" to a directory containing one of the above files. If "Qt5Svg" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:607 (qt5_use_modules) src/frontends/qt4/CMakeLists.txt:64 (qt_use_modules) CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message): Can not use "Svg" module which has not yet been found. Call Stack (most recent call first): CMakeLists.txt:607 (qt5_use_modules) src/frontends/qt4/CMakeLists.txt:64 (qt_use_modules) -- Configuring incomplete, errors occurred! See also "/home/jkulesza/SRC/lyx220/CMakeFiles/CMakeOutput.log". See also "/home/jkulesza/SRC/lyx220/CMakeFiles/CMakeError.log" Note also 1026 jkulesza@machine[~/SRC/lyx220/build_cmake]> which qmake /opt/local/rh/qt5/usr/lib64/qt5/bin/qmake 1027 jkulesza@machine[~/SRC/lyx220/build_cmake]> qmake -query QT_SYSROOT: QT_INSTALL_PREFIX:/usr/lib64/qt5 QT_INSTALL_ARCHDATA:/usr/lib64/qt5 QT_INSTALL_DATA:/usr/share/qt5 QT_INSTALL_DOCS:/usr/share/doc/qt5 QT_INSTALL_HEADERS:/usr/include/qt5 QT_INSTALL_LIBS:/usr/lib64 QT_INSTALL_LIBEXECS:/usr/lib64/qt5/libexec QT_INSTALL_BINS:/usr/lib64/qt5/bin QT_INSTALL_TESTS:/usr/lib64/qt5/tests QT_INSTALL_PLUGINS:/usr/lib64/qt5/plugins QT_INSTALL_IMPORTS:/usr/lib64/qt5/imports QT_INSTALL_QML:/usr/lib64/qt5/qml QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations QT_INSTALL_CONFIGURATION:/etc/xdg QT_INSTALL_EXAMPLES:/usr/lib64/qt5/examples QT_INSTALL_DEMOS:/usr/lib64/qt5/examples QT_HOST_PREFIX:/usr/lib64/qt5 QT_HOST_DATA:/usr/lib64/qt5 QT_HOST_BINS:/usr/lib64/qt5/bin QT_HOST_LIBS:/usr/lib64 QMAKE_SPEC:linux-g++ QMAKE_XSPEC:linux-g++ QMAKE_VERSION:3.0 QT_VERSION:5.6.0