2020-09-09, 16:28
I'm trying to build from git-20200909 on Linux.
I have theses basic dependencies installed:
crossguid, flatbuffers, libfmt, libspdlog, wayland-protocols, wayland
Issuing this command yields an error that Python3 (>= 3.5) is not found. I have Python-3.7.2 library provided by my distro.
Is this error spuriously related to this:
These Linux headers are anything but in the include/linux directory. They are scattered around in include/, for example include/uapi/linux. Building against Linux 5.4.60.
I have theses basic dependencies installed:
crossguid, flatbuffers, libfmt, libspdlog, wayland-protocols, wayland
Issuing this command yields an error that Python3 (>= 3.5) is not found. I have Python-3.7.2 library provided by my distro.
Code:
$ sudo cmake /tmp/kodi-git20200909 -DCMAKE_INSTALL_PREFIX=/usr -DX11_RENDER_SYSTEM=gl -DCMAKE_BUILD_TYPE=Release -DENABLE_MDNS=OFF
Code:
-- Source directory: /tmp/kodi-git20200909
-- Build directory: /srv/ssh/server/hd0/kbuild/kodi-build
-- Generator: Single-configuration: Release (Unix Makefiles)
-- CMake Version: 3.5.2
-- System type: Linux
-- Linker: GNU gold
-- include/linux/udmabuf.h not found
-- include/linux/dma-heap.h not found
-- include/linux/dma-buf.h not found
-- memfd_create() not found
-- Core system type: linux
-- Platform: X11
-- CPU: x86_64, ARCH: x86_64-linux
-- Cross-Compiling: FALSE
-- Execute build artefacts on host: TRUE
-- Depends based build:
-- statx() not found
-- Checking to see if CXX compiler accepts flag -msse
-- Checking to see if CXX compiler accepts flag -msse - yes
-- Checking to see if CXX compiler accepts flag -msse2
-- Checking to see if CXX compiler accepts flag -msse2 - yes
-- Checking to see if CXX compiler accepts flag -msse3
-- Checking to see if CXX compiler accepts flag -msse3 - yes
-- Checking to see if CXX compiler accepts flag -mssse3
-- Checking to see if CXX compiler accepts flag -mssse3 - yes
-- Checking to see if CXX compiler accepts flag -msse4.1
-- Checking to see if CXX compiler accepts flag -msse4.1 - yes
-- Checking to see if CXX compiler accepts flag -msse4.2
-- Checking to see if CXX compiler accepts flag -msse4.2 - yes
-- Checking to see if CXX compiler accepts flag -mavx
-- Checking to see if CXX compiler accepts flag -mavx - yes
-- Checking to see if CXX compiler accepts flag -mavx2
-- Checking to see if CXX compiler accepts flag -mavx2 - yes
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (found suitable
version "3.7.2", minimum required is "3.5")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/modules/FindPython.cmake:28 (find_package)
cmake/scripts/common/Macros.cmake:346 (find_package)
cmake/scripts/common/Macros.cmake:395 (find_package_with_ver)
CMakeLists.txt:172 (core_optional_dep)
Is this error spuriously related to this:
Code:
-- include/linux/udmabuf.h not found
-- include/linux/dma-heap.h not found
-- include/linux/dma-buf.h not found
These Linux headers are anything but in the include/linux directory. They are scattered around in include/, for example include/uapi/linux. Building against Linux 5.4.60.