Help Me, Please ( Neumodvb )

I am trying to install a package program and it gives the following error. What should I do? Thank you in advance for your help.

CMake Warning (dev) at src/neumodb/CMakeLists.txt:2 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” 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.

How are you installing it?

If it is an AUR package, what is the specific package name?

I followed the steps and when I run cmake it gives the above error.

Download and compile neumodvb
The software can be downloaded as follows

cd ~/
git clone --recursive https://github.com/deeptho/neumodvb

Next, build NeumoDVB as follows:

cd ~/neumodvb
mkdir build
mkdir build_ext
cd ~/neumodvb/build
cmake ..
make -j`nproc`

Contents of cmake file:
cmake_minimum_required(VERSION 3.12.1)
set(CMAKE_EXE_LINKER_FLAGS “${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,defs -Wl,–no-undefined -fuse-ld=gold”)
option(USE_CLANG “build application with clang” ON) # ON is the default

if(USE_CLANG)
SET (CMAKE_CXX_COMPILER clang++)
SET (CMAKE_C_COMPILER clang)
endif(USE_CLANG)

project(neumo VERSION 0.8.6)
set(PROJECT_AUTHOR “Deep Thought”)
set(PROJECT_AUTHOR_EMAIL “deeptho@gmail.com”)
set(PROJECT_URL “https://github.com/deeptho/neumodvb”)
set(PROJECT_DESCRIPTION “DVB Settop box and dx-program for linux”)
set(PROJECT_LICENCSE “GPL V2”)
set(PROJECT_KEYWORDS “DVB-S2, DVB-T, DVB-C, spectrum scan, blindscan”)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} “${CMAKE_SOURCE_DIR}/cmake/Modules/”)
SET(CMAKE_BUILD_RPATH “$ORIGIN/.”)

libneumowxsvg

include(cmake/neumowxsvg.cmake)
include(FetchContent)

set(FETCHCONTENT_BASE_DIR ${CMAKE_CURRENT_BINARY_DIR}/…/build_fmt)

FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 6c845f57e5db589208ff0c2808238587cafafa82
)

execute_process(COMMAND lsb_release -c -s OUTPUT_VARIABLE RELEASE)
string(STRIP ${RELEASE} RELEASE)
message(STATUS “xxx=/${RELEASE}/”)
if (“${RELEASE}” STREQUAL “focal”)
message(STATUS “Ancient Unbuntu detected - install clang-14 first!!!”)
set (CMAKE_CXX_STANDARD 20)
else()
set (CMAKE_CXX_STANDARD 20)
message(STATUS “Modern OS detected - using clang 20”)
endif()

#add_compile_options (-fsanitize=address -fPIC -fsized-deallocation)

-DHAS_UNCAUGHT_EXCEPTIONS=1 for date module

#add_compile_options(-DBOOST_DISABLE_ASSERTS -fdebug-prefix-map=${CMAKE_SOURCE_DIR}=. -ffile-prefix-map=${CMAKE_SOURCE_DIR}=.)

add_compile_options (

$<$CONFIG:DEBUG:-Og>

-fPIC -fsized-deallocation -DHAS_UNCAUGHT_EXCEPTIONS=1 -D DATA_DIR=${CMAKE_SOURCE_DIR}/data)
#add_link_options( -lasan)

find_package(Boost 1.69 REQUIRED regex context program_options)
include_directories(${BOOST_INCLUDE_DIRS})

find_package(PkgConfig REQUIRED)

find_package(Python COMPONENTS Interpreter Development)

pkg_check_modules(GTK3 REQUIRED gtk±3.0)

set(CMAKE_BUILD_TYPE Debug)
#set(CMAKE_BUILD_TYPE Release)
#set(CMAKE_BUILD_TYPE RelWithDebInfo)

#not working: SET(CMAKE_DEBUG_POSTFIX “” CACHE STRING “add a postfix, usually d on windows”)
FetchContent_MakeAvailable(fmt)

include_directories(${fmt_SOURCE_DIR}/include/)

SET(USE_BOOST_LOCALE false)
SET(TEST_CHDB false)

#set(BUILD_SHARED_LIBS ON)
option( USE_SYSTEM_TZ_DB “Use the operating system’s timezone database” ON )
#option( BUILD_TZ_LIB “build/install of TZ library” ON )
#option( BUILD_SHARED_LIBS “Build a shared version of library” ON )

option(BUILD_TESTING “Build the testing tree.” OFF)

add_subdirectory(pybind11)
add_subdirectory(gui)
add_subdirectory(src)
add_subdirectory(neumolmdb)
add_subdirectory(config)

#-Wl,-z,defs -fuse-ld=gold

#add_definitions(-DTODO)

function(print_directory_variables dir)
# Dump variables:
get_property(_variableNames DIRECTORY ${dir} PROPERTY VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
get_directory_property(_variableValue DIRECTORY ${dir} DEFINITION ${_variableName})
message(STATUS “DIR ${dir}: ${_variableName}=${_variableValue}”)
endforeach()
endfunction(print_directory_variables)

#print_directory_variables(gui)

Did you install all the python prerequisites first? (Don’t use pip for this)

From the github page, there seem to a big group of those.

You will have to figure out how to translate all the package names to their arch equivalents.

The file package I uploaded ( Please help me )

[star@star-vostro3670 ~]$ cd ~/
[star@star-vostro3670 ~]$ git clone --recursive https://github.com/deeptho/neumodvb
Klonlama konumu: ‘neumodvb’…
remote: Enumerating objects: 13564, done.
remote: Counting objects: 100% (3685/3685), done.
remote: Compressing objects: 100% (878/878), done.
remote: Total 13564 (delta 2996), reused 3392 (delta 2805), pack-reused 9879
Nesneler alınıyor: 100% (13564/13564), 15.04 MiB | 1.71 MiB/sn, bitti.
Deltalar çözülüyor: 100% (10563/10563), bitti.
[star@star-vostro3670 ~]$ cd ~/neumodvb
[star@star-vostro3670 neumodvb]$ mkdir build
[star@star-vostro3670 neumodvb]$ mkdir build_ext
[star@star-vostro3670 neumodvb]$ cd ~/neumodvb/build
[star@star-vostro3670 build]$ cmake …
– The C compiler identification is Clang 16.0.6
– The CXX compiler identification is Clang 16.0.6
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/clang - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/clang++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– xxx=/rolling/
– Modern OS detected - using clang 20
– Found Boost: /usr/lib/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version “1.83.0”, minimum required is “1.69”) found components: regex context program_options
– Found PkgConfig: /usr/bin/pkg-config (found version “2.1.0”)
– Found Python: /usr/bin/python3.11 (found version “3.11.6”) found components: Interpreter Development Development.Module Development.Embed
– Checking for module ‘gtk±3.0’
– Found gtk±3.0, version 3.24.39
– Version: 10.1.0
– Build type: Debug
– Performing Test HAS_NULLPTR_WARNING
– Performing Test HAS_NULLPTR_WARNING - Success
– pybind11 v2.10.0 dev1
– Performing Test HAS_FLTO
– Performing Test HAS_FLTO - Success
– Performing Test HAS_FLTO_THIN
– Performing Test HAS_FLTO_THIN - Success
– Found Python: /usr/bin/python3.11 (found suitable version “3.11.6”, minimum required is “3.7”) found components: Interpreter
CMake Warning (dev) at src/neumodb/CMakeLists.txt:2 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” 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.

– Found PythonLibs: /usr/lib/libpython3.11.so (found suitable version “3.11.6”, minimum required is “3.7”)
– Found Python3: /usr/bin/python3.11 (found version “3.11.6”) found components: Interpreter Development Development.Module Development.Embed
– Found wxWidgets: -pthread;-lwx_baseu_net-3.2;-lwx_gtk3u_gl-3.2;-lwx_gtk3u_core-3.2;-lwx_baseu-3.2 (found version “3.2.4”)
– Searching for log4cxx/logger.h
– Searching for liblog4cxx
– Log4cxx_INCLUDE_DIR (missing: Log4cxx_LIBRARY)
– The host system is: Linux-6.1.69-1-lts.
– Project base dir is: /home/star/neumodvb
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Configuring done (18.6s)
– Generating done (0.1s)
– Build files have been written to: /home/star/neumodvb/build
[star@star-vostro3670 build]$

uyarı: python-3.11.6-1 güncel – yeniden kuruluyor
paket bağımlılıkları çözümleniyor…
varsa paketler arası çakışmalara bakılıyor…

Paket (1) Eski Sürüm Yeni Sürüm Değişiklik İndirme Boyutu

core/python 3.11.6-1 3.11.6-1 0,00 MiB 13,92 MiB
python up to date

Toplam İndirme Boyutu: 13,92 MiB
Toplam Kurulum Boyutu: 75,27 MiB
Güncelleme Boyutu: 0,00 MiB

:: Kuruluma onay veriyor musunuz? [E/h]

How can I view installed packages

[star@star-vostro3670 ~]$ sudo pacman -Si python
[sudo] password for star:
Depo : core
İsim : python
Sürüm : 3.11.6-1
Açıklama : The Python programming language
Mimari : x86_64
URL : https://www.python.org/
Lisanslar : custom
Gruplar : Hiçbiri
Sağlananlar : python3 python-externally-managed
Bağımlılıkları : bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib tzdata
Tercihli Bağımlılıklar : python-setuptools: for building Python packages using tooling that is usually bundled with Python
python-pip: for installing Python packages using tooling that is usually bundled with Python
python-pipx: for installing Python software not packaged on Arch Linux
sqlite: for a default database integration
mpdecimal: for decimal
xz: for lzma
tk: for tkinter
Çakışıyor : Hiçbiri
Değiştirilenler : python3 python-externally-managed
İndirme Boyutu : 13,92 MiB
Kurulum Boyutu : 75,27 MiB
Paketçi : Felix Yan felixonmars@archlinux.org
İnşa Tarihi : Sal 14 Kas 2023 12:36:21
Doğrulayan : MD5 Özeti SHA-256 Özeti İmza

[star@star-vostro3670 ~]$

I uninstalled python-pip (gives the same error )

[star@star-vostro3670 ~]$ sudo pacman -Si python-pip
Depo : extra
İsim : python-pip
Sürüm : 23.3.2-1
Açıklama : The PyPA recommended tool for installing Python packages
Mimari : any
URL : https://pip.pypa.io/
Lisanslar : MIT
Gruplar : Hiçbiri
Sağlananlar : Hiçbiri
Bağımlılıkları : python python-attrs python-cryptography python-wheel
Tercihli Bağımlılıklar : Hiçbiri
Çakışıyor : Hiçbiri
Değiştirilenler : Hiçbiri
İndirme Boyutu : 3,18 MiB
Kurulum Boyutu : 20,93 MiB
Paketçi : David Runge dvzrv@archlinux.org
İnşa Tarihi : Cts 23 Ara 2023 11:39:49
Doğrulayan : MD5 Özeti SHA-256 Özeti İmza

The instructions for Fedora list a large number of packages that must be installed first.

clang clang-tools-extra libtool boost-program-options \
boost-devel boost-regex boost-context curl-devel log4cxx log4cxx-devel libconfig libconfig-devel \
wxGTK3 wxGTK-devel gtk3-devel freeglut-devel librsvg2-devel libexif-devel libexif gobject-introspection \
expat-devel python3-wxpython4 python3-jinja2 python3-matplotlib-wx python3-sip-devel  python3-cachetools \
python3-gobject-base python3-configobj python3-regex python3-matplotlib-wx python3-scipy wxWidgets-devel \
wxBase3 wxBase-devel libX11-devel libglvnd-devel espeak mesa-dri-drivers mpv-libs-devel  libdvbcsa-devel \
ffmpeg-devel mpv-libs-devel tsduck fmt fmt-devel

You need to make sure that all the Arch equivalent of all these packages are installed.

How do I find their equivalents?
please help me.

Will it be found this way?

Yes, that is a good way. They might not have the exact same names.

Thank you very much

[star@star-vostro3670 ~]$ sudo pacman -S python-matplotlib
[sudo] password for star:
paket bağımlılıkları çözümleniyor…
varsa paketler arası çakışmalara bakılıyor…

Paket (13) Yeni Sürüm Değişiklik İndirme Boyutu

extra/blas 3.12.0-3 0,65 MiB 0,22 MiB
extra/cblas 3.12.0-3 0,34 MiB 0,06 MiB
extra/lapack 3.12.0-3 7,48 MiB 2,59 MiB
extra/python-contourpy 1.2.0-1 0,89 MiB 0,23 MiB
extra/python-cycler 0.12.1-1 0,07 MiB 0,02 MiB
extra/python-dateutil 2.8.2-6 1,06 MiB 0,32 MiB
extra/python-fonttools 4.47.0-1 19,71 MiB 2,68 MiB
extra/python-kiwisolver 1.4.5-1 0,14 MiB 0,05 MiB
extra/python-numpy 1.26.2-1 47,99 MiB 7,06 MiB
extra/python-pyparsing 3.1.1-1 1,36 MiB 0,21 MiB
extra/python-six 1.16.0-8 0,12 MiB 0,03 MiB
extra/qhull 2020.2-4 6,82 MiB 1,14 MiB
extra/python-matplotlib 3.8.1-1 27,85 MiB 5,77 MiB

Toplam İndirme Boyutu: 20,37 MiB
Toplam Kurulum Boyutu: 114,48 MiB

:: Kuruluma onay veriyor musunuz? [E/h] E
:: Paketler alınıyor…
qhull-2020.2-4-x86_64 1169,1 KiB 458 KiB/s 00:03 [------------------------------------] 100%
python-dateutil-2.8.2-6-any 326,5 KiB 227 KiB/s 00:01 [------------------------------------] 100%
python-contourpy-1.2.0-1-x86_64 233,1 KiB 245 KiB/s 00:01 [------------------------------------] 100%
python-fonttools-4.47.0-1-x86_64 2,7 MiB 525 KiB/s 00:05 [------------------------------------] 100%
lapack-3.12.0-3-x86_64 2,6 MiB 508 KiB/s 00:05 [------------------------------------] 100%
cblas-3.12.0-3-x86_64 57,9 KiB 272 KiB/s 00:00 [------------------------------------] 100%
python-pyparsing-3.1.1-1-any 214,1 KiB 476 KiB/s 00:00 [------------------------------------] 100%
blas-3.12.0-3-x86_64 230,2 KiB 426 KiB/s 00:01 [------------------------------------] 100%
python-kiwisolver-1.4.5-1-x86_64 50,8 KiB 289 KiB/s 00:00 [------------------------------------] 100%
python-six-1.16.0-8-any 28,4 KiB 203 KiB/s 00:00 [------------------------------------] 100%
python-cycler-0.12.1-1-any 16,9 KiB 127 KiB/s 00:00 [------------------------------------] 100%
python-matplotlib-3.8.1-1-x86_64 5,8 MiB 632 KiB/s 00:09 [------------------------------------] 100%
python-numpy-1.26.2-1-x86_64 7,1 MiB 747 KiB/s 00:10 [------------------------------------] 100%
Toplam (13/13) 20,4 MiB 2,08 MiB/s 00:10 [------------------------------------] 100%
(13/13) anahtarlıktaki anahtarlar kontrol ediliyor [------------------------------------] 100%
(13/13) paket bütünlüğü kontrol ediliyor [------------------------------------] 100%
(13/13) paket dosyaları yükleniyor [------------------------------------] 100%
(13/13) dosya çakışmaları kontrol ediliyor [------------------------------------] 100%
:: Paket değişiklikleri işleniyor…
( 1/13) yükleniyor blas [------------------------------------] 100%
( 2/13) yükleniyor cblas [------------------------------------] 100%
( 3/13) yükleniyor lapack [------------------------------------] 100%
( 4/13) yükleniyor python-numpy [------------------------------------] 100%
python-numpy için opsiyonel bağımlılık(lar)
blas-openblas: faster linear algebra
( 5/13) yükleniyor python-contourpy [------------------------------------] 100%
python-contourpy için opsiyonel bağımlılık(lar)
python-matplotlib: matplotlib renderer [beklemede]
( 6/13) yükleniyor python-cycler [------------------------------------] 100%
( 7/13) yükleniyor python-six [------------------------------------] 100%
( 8/13) yükleniyor python-dateutil [------------------------------------] 100%
( 9/13) yükleniyor python-fonttools [------------------------------------] 100%
python-fonttools için opsiyonel bağımlılık(lar)
python-brotli: to compress/decompress WOFF 2.0 web fonts
python-fs: to read/write UFO source files
python-lxml: faster backend for XML files reading/writing
python-lz4: for graphite type tables in ttLib/tables
python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [beklemede]
python-pyqt5: for drawing glyphs with Qt’s QPainterPath [kuruldu]
python-reportlab: to drawing glyphs as PNG images [kuruldu]
python-scipy: for finding wrong contour/component order between different masters
python-sympy: for symbolic font statistics analysis
python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables
python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx
python-zopfli: faster backend fom WOFF 1.0 web fonts compression
(10/13) yükleniyor python-kiwisolver [------------------------------------] 100%
(11/13) yükleniyor python-pyparsing [------------------------------------] 100%
python-pyparsing için opsiyonel bağımlılık(lar)
python-railroad-diagrams: for generating Railroad Diagrams
python-jinja: for generating Railroad Diagrams
(12/13) yükleniyor qhull [------------------------------------] 100%
(13/13) yükleniyor python-matplotlib [------------------------------------] 100%
python-matplotlib için opsiyonel bağımlılık(lar)
tk: Tk{Agg,Cairo} backends
pyside2: alternative for Qt5{Agg,Cairo} backends
pyside6: alternative for Qt6{Agg,Cairo} backends
python-pyqt5: Qt5{Agg,Cairo} backends [kuruldu]
python-pyqt6: Qt6{Agg,Cairo} backends
python-gobject: for GTK{3,4}{Agg,Cairo} backend [kuruldu]
python-wxpython: WX{Agg,Cairo} backend
python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends [kuruldu]
python-cairocffi: alternative for Cairo backends
python-tornado: WebAgg backend
ffmpeg: for saving movies [kuruldu]
imagemagick: for saving animated gifs [kuruldu]
ghostscript: usetex dependencies [kuruldu]
texlive-binextra: usetex dependencies
texlive-fontsrecommended: usetex dependencies
texlive-latexrecommended: usetex usage with pdflatex
python-certifi: https support
:: Bağlantılı işlemler listesi çalışıyor…
(1/1) Arming ConditionNeedsUpdate…
[star@star-vostro3670 ~]$