[umbrello] [Bug 383786] Installation: CMake error when building from source on Ubuntu 16.04 LTS

Robert Hairgrove bugzilla_noreply at kde.org
Mon Aug 21 17:03:21 UTC 2017


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

--- Comment #2 from Robert Hairgrove <code at roberthairgrove.com> ---
(In reply to Ralf Habacker from comment #1)
> (In reply to Robert Hairgrove from comment #0)
> I guess there are some dependencies missing. See
> https://umbrello.kde.org/installation.php#install-source-code-linux for
> further details. 
> 
> Also it is required to see all messages cmake displays on running because it
> may indicates what's going wrong.

Here is the complete cmake output after deleting the sources and extracting
them again:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.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 Warning (dev) at CMakeLists.txt:30 (add_definitions):
  Policy CMP0005 is not set: Preprocessor definition values are now escaped
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:176 (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.5)

  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/bob/umbrello-2.22.90.4e6b85b87/umbrello/build/CMakeFiles/CMakeOutput.log".
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I didn't see anything unusual in the CMakeOutput.log file. The only thing I did
differently was to use the command for compiling with Qt5/KF5. I have Qt 5.8.0,
so that should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list