Dear Kornel,

On 2017-03-23, Kornel Benko wrote:
> Am Donnerstag, 23. März 2017 um 19:06:09, schrieb Guenter Milde 
> <mi...@users.sf.net>

>> trying to configure lyx master with cmake, I got an error (or actually a
>> whole bunch of errors).

...

> What is the exact outcome from cmake? (Not output of this log for now)

Thank you for looking into this. I use cmake version 3.7.2 

The actuall call is

  cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ON 
-DLYX_INSTALL_PREFIX="git-" ../lyx

and the output:

-- TOP_SRC_DIR = /usr/local/src/lyx
-- 
-- Building out-of-source
CMake Error at development/cmake/modules/LyXMacros.cmake:250 (list):
  list sub-command FIND requires three arguments.
Call Stack (most recent call first):
  CMakeLists.txt:149 (LYX_COMBO)


-- 
-- CXX11_FLAG_DETECTED = "--std=c++14"
-- Compiler supports std_regex
-- Using GCC version 6.3.0
-- CMAKE_CXX_STANDARD set to 14
-- Found Qt-Version 4.8.7
-- Could NOT find ASPELL (missing:  ASPELL_LIBRARY ASPELL_INCLUDE_DIR) 
-- ASPELL not found, building without ASPELL support
-- Building with USE_ENCHANT
-- Could NOT find HUNSPELL (missing:  HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR) 
-- HUNSPELL not found, building without Hunspell support
-- Could NOT find LYX_PY_polib (missing:  LYX_PY_POLIB) 
-- You will be unable to update layouttranslations file
-- 
-- ----- PACKAGE                     : lyx2.3
-- ----- PACKAGE_VERSION             : 2.3.0dev
-- ----- PROGRAM_SUFFIX              : 2.3
-- ----- LYX_DATE                    : 2016-04-16
-- ----- LYX_DIR_VER                 : LYX_DIR_23x
-- ----- LYX_USERDIR_VER             : LYX_USERDIR_23x
-- ----- LYX_ABS_TOP_SRCDIR          : /usr/local/src/lyx
-- ----- LYX_ABS_INSTALLED_DATADIR   : git-
-- ----- LYX_ABS_INSTALLED_LOCALEDIR : git-/share/locale
-- ----- LYX_INSTALL_SUFFIX          : 2.3
-- 
-- doxygen not found, ==> no doxygen creation
-- Checking for module 'xaw7'
--   No package 'xaw7' found
-- Checking for module 'xmu'
--   No package 'xmu' found
-- Checking for module 'xtst'
--   No package 'xtst' found
-- Missing Libraries or programs to create xvkbd: pcregrep;wmctrl;xaw7;xmu;xtst
-- cmake build is therefore omitting keytests
-- Reading list invertedTests
-- Reading list ignoredTests
-- Reading list suspendedTests
-- Reading list unreliableTests
-- Reading list ignoreLatexErrorsTests
-- Handling export dir /usr/local/src/lyx/autotests/export
-- Handling export dir /usr/local/src/lyx/lib/doc
-- Handling export dir /usr/local/src/lyx/lib/examples
-- Handling export dir /usr/local/src/lyx/lib/templates
-- Handling export dir /usr/local/src/lyx/autotests/mathmacros
-- 
-- Build params, switch LYX_* options by -DLYX_*=ON or OFF, LYX_* combos by 
-DLYX_*=value:
-- 
-- LYX_CPACK                = OFF    : Use the CPack management (Implies 
LYX_INSTALL option)
-- LYX_LOCALVERSIONING      = OFF    : Add version info to created package name 
(only used if LYX_CPACK option set)
-- LYX_INSTALL              = OFF    : Build install projects/rules (implies a 
bunch of other options)
-- LYX_NLS                  = ON     : Enable Native Language Support (NLS)
-- LYX_REQUIRE_SPELLCHECK   = OFF    : Abort if no spellchecker available
-- LYX_ASPELL               = OFF    : Require aspell
-- LYX_ENCHANT              = OFF    : Require Enchant
-- LYX_HUNSPELL             = OFF    : Require Hunspell
-- LYX_DEVEL_VERSION        = OFF    : Build developer version
-- LYX_RELEASE              = ON     : Build release version, build debug when 
disabled
-- LYX_DEBUG                = OFF    : Enforce debug build
-- LYX_NO_OPTIMIZE          = OFF    : Don't use any optimization/debug flags
-- LYX_PACKAGE_SUFFIX       = ON     : Use version suffix for packaging
-- LYX_SUFFIX_VALUE         =        : Use this string as suffix
-- LYX_PCH                  = OFF    : Use precompiled headers
-- LYX_MERGE_FILES          = OFF    : Merge source files into one compilation 
unit
-- LYX_MERGE_REBUILD        = OFF    : Rebuild generated files from merged 
files build
-- LYX_QUIET                = OFF    : Don't generate verbose makefiles
-- LYX_INSTALL_PREFIX       = ON     : Install path for LyX
-- LYX_BUNDLE               = OFF    : Build bundle  (experimental) 
-- LYX_ENABLE_URLTESTS      = OFF    : Enable for URL tests
-- LYX_ENABLE_EXPORT_TESTS  = ON     : Enable for export tests
-- LYX_ENABLE_KEYTESTS      = OFF    : Enable for keytests
-- LYX_ASAN                 = OFF    : Use address sanitizer
-- LYX_USE_QT               = QT4    : Use Qt version as frontend (QT4 QT5)
-- LYX_EXTERNAL_Z           = ON     : OFF := Build 3rdparty lib zlib
-- LYX_EXTERNAL_ICONV       = ON     : OFF :=  Build 3rdparty lib iconvlib
-- LYX_EXTERNAL_HUNSPELL    = ON     : OFF :=  Build 3rdparty lib hunspelllib
-- LYX_EXTERNAL_MYTHES      =        : OFF := Build 3rdparty lib mytheslib 
(AUTO OFF ON)
-- LYX_PROFILE              = OFF    : Build with options for gprof
-- LYX_EXTERNAL_BOOST       = OFF    : Use external boost
-- LYX_PROGRAM_SUFFIX       = ON     : Append version suffix to binaries
-- LYX_DEBUG_GLIBC          = OFF    : Enable libstdc++ debug mode
-- LYX_DEBUG_GLIBC_PEDANTIC = OFF    : Enable libstdc++ pedantic debug mode
-- LYX_STDLIB_DEBUG         = OFF    : Use debug stdlib
-- LYX_PROFILE              = OFF    : Build with options for gprof
-- 
-- CMake command with options is available in shell script
--     '/usr/local/src/lyxtest/run_cmake.sh'
-- 
-- Building Native Language Support (LYX_NLS is set), used libraries:
-- 
--   * iconv
--      - include: /usr/include
--      - library: 
--   * zlib
--      - include: /usr/include
--      - library: /usr/lib/x86_64-linux-gnu/libz.so
-- 
-- 
-- Configuring incomplete, errors occurred!




Günter

Reply via email to