Project

General

Profile

Actions

Bug #26

closed

Can't build spawn-binding on openSUSE 15.3

Added by Emmanuel Jubera [SAFT] almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
07/27/2022
Due date:
% Done:

0%

Estimated time:
Hardware platform:
Desktop SDK (openSUSE Leap 15.3)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
Labels:

Description

When trying to build spawn-binding on openSUSE 15.3 (up to date), cmake fails because it can't find package uuid, as shown hereafter:

sipload@localhost:~/my_rp_builder_dir/gitsources/spawn-binding> rm -rf build/
sipload@localhost:~/my_rp_builder_dir/gitsources/spawn-binding> mkdir build
sipload@localhost:~/my_rp_builder_dir/gitsources/spawn-binding> cd build
sipload@localhost:~/my_rp_builder_dir/gitsources/spawn-binding/build> cmake ..
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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
Distribution detected (separated by ';' choose one of them) suse;opensuse
Include: /home/sipload/my_rp_builder_dir/gitsources/spawn-binding/conf.d/cmake/00-opensuse-config.cmake
-- Custom options: 00-opensuse-config.cmake --
Include: /usr/share/cmake/Modules/CMakeAfbTemplates/cmake/cmake.d/01-build_options.cmake
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'uuid'
--   No package 'uuid' found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:467 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
  /usr/share/cmake/Modules/CMakeAfbTemplates/cmake/cmake.d/01-build_options.cmake:137 (PKG_CHECK_MODULES)
  /usr/share/cmake/Modules/CMakeAfbTemplates/cmake/common.cmake:101 (include)
  /usr/share/cmake/Modules/CMakeAfbTemplates.cmake:19 (include)
  conf.d/cmake/config.cmake:187 (include)
  CMakeLists.txt:2 (include)


-- Configuring incomplete, errors occurred!
See also "/home/sipload/my_rp_builder_dir/gitsources/spawn-binding/build/CMakeFiles/CMakeOutput.log".
Actions

Also available in: Atom PDF