https://bugs.kde.org/show_bug.cgi?id=389363

            Bug ID: 389363
           Summary: build fails with 'Unknown CMake command
                    "ki18n_wrap_ui"'
           Product: krusader
           Version: Git
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@fork.pl
          Reporter: ste...@endrullis.de
  Target Milestone: ---

Today I tried to compile Krusader from source and got an error while running
cmake:
CMake Error at ActionMan/CMakeLists.txt:8 (ki18n_wrap_ui):
  Unknown CMake command "ki18n_wrap_ui".

Here is the full shell output:

$ git clone https://github.com/KDE/krusader.git
Cloning into 'krusader'...
remote: Counting objects: 47355, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 47355 (delta 6), reused 9 (delta 6), pack-reused 47334
Receiving objects: 100% (47355/47355), 21.95 MiB | 6.20 MiB/s, done.
Resolving deltas: 100% (39151/39151), done.
$ cd krusader
$ mkdir krusader-build
$ cd krusader-build
$ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/local/ -DCMAKE_C_FLAGS="-O2
-fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC"
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at ActionMan/CMakeLists.txt:8 (ki18n_wrap_ui):
  Unknown CMake command "ki18n_wrap_ui".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.9)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also
"/home/stefan/software/krusader/krusader-build/CMakeFiles/CMakeOutput.log".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to