Python 手制动介子配置在“时失败”;探头:numa“;关于覆盆子皮4

Python 手制动介子配置在“时失败”;探头:numa“;关于覆盆子皮4,python,compilation,raspberry-pi,meson-build,handbrake,Python,Compilation,Raspberry Pi,Meson Build,Handbrake,使用提供的配置文件在我的Raspberry pi 4上配置Handbrake()失败,因为它找不到numa [outeh@outeh-pi HandBrake]$ ./configure probe: build tuple...(pass) aarch64-unknown-linux-gnu find: ar...(pass) /usr/bin/ar find: cp...(pass) /usr/bin/cp find: gcc...(pass) /usr/bin/gcc find: gma

使用提供的配置文件在我的Raspberry pi 4上配置Handbrake()失败,因为它找不到numa

[outeh@outeh-pi HandBrake]$ ./configure 
probe: build tuple...(pass) aarch64-unknown-linux-gnu
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /usr/bin/cp
find: gcc...(pass) /usr/bin/gcc
find: gmake...(pass) /usr/bin/make
find: gm4...(pass) /usr/bin/m4
find: meson...(pass) /usr/bin/meson
find: mkdir...(pass) /usr/bin/mkdir
find: ninja-build...(pass) /usr/bin/ninja
find: gpatch...(pass) /usr/bin/patch
find: rm...(pass) /usr/bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /usr/bin/strip
find: gtar...(pass) /usr/bin/tar
find: nasm...(fail) not found
find: autoconf...(pass) /usr/bin/autoconf
find: automake...(pass) /usr/bin/automake
find: cmake...(pass) /usr/bin/cmake
find: libtool...(pass) /usr/bin/libtool
find: pkg-config...(pass) /usr/bin/pkg-config
find: xcodebuild...(fail) not found
find: lipo...(fail) not found
find: python3...(pass) /usr/bin/python3
compute: available architectures...(pass) aarch64
probe: number of CPU cores...(pass) 4
probe: repo info...(pass) https://github.com/HandBrake/HandBrake.git
compute: project data...(pass) HandBrake (developer)
compute: host tuple...(pass) aarch64-unknown-linux-gnu
probe: numa...(fail) code 1
  : b'Package numa was not found in the pkg-config search path.'
  : b"Perhaps you should add the directory containing `numa.pc'"
  : b'to the PKG_CONFIG_PATH environment variable'
  : b"Package 'numa', required by 'virtual:world', not found"
  : [b'conftest.c:2:10: schwerwiegender Fehler: numa.h: Datei oder Verzeichnis nicht gefunden', b'    2 | #include <numa.h>', b'      |          ^~~~~~~~', b'Kompilierung beendet.']
ERROR: unable to continue; configure stop.
[outeh@outeh-pi手制动器]$/配置
探测:构建元组…(通过)aarch64未知linux gnu
查找:ar…(通过)/usr/bin/ar
查找:cp…(通过)/usr/bin/cp
查找:gcc…(通过)/usr/bin/gcc
查找:gmake…(通过)/usr/bin/make
查找:gm4…(通过)/usr/bin/m4
查找:介子…(通过)/usr/bin/meson
查找:mkdir…(通过)/usr/bin/mkdir
查找:忍者建造…(通过)/usr/bin/ninja
查找:gpatch…(pass)/usr/bin/patch
查找:rm…(通过)/usr/bin/rm
查找:ranlib…(pass)/usr/bin/ranlib
查找:strip…(pass)/usr/bin/strip
查找:gtar…(通过)/usr/bin/tar
查找:nasm…(失败)未找到
查找:autoconf…(通过)/usr/bin/autoconf
查找:automake…(pass)/usr/bin/automake
查找:cmake…(通过)/usr/bin/cmake
查找:libtool…(通过)/usr/bin/libtool
查找:pkg config…(pass)/usr/bin/pkg config
查找:未找到xcodebuild…(失败)
查找:lipo…(失败)未找到
查找:python3…(pass)/usr/bin/python3
计算:可用架构…(通过)aarch64
探测:CPU核心数…(通过)4
探测:回购信息…(通过)https://github.com/HandBrake/HandBrake.git
计算:项目数据…(通过)手制动器(开发人员)
计算:主机元组…(通过)aarch64未知linux gnu
探测:numa…(失败)代码1
:b“在pkg配置搜索路径中未找到包numa。”
:b“也许您应该添加包含'numa.pc'的目录”
:b“到PKG\u CONFIG\u PATH环境变量”
:b“找不到“虚拟世界”所需的包“numa”
:[b'conftest.c:2:10:schwerwiegender-Fehler:numa.h:Datei order Verzeichnis nicht-gefunden',b'2 |#include',b'| ^ ~~~~~',b'Kompilierung-beendet.]
错误:无法继续;配置停止。
我使用的是Raspberry pi 4版本的Manjaro(),我的系统已更新,在回购协议或aur中找不到numa。 Handbrake使用介子构建系统,配置脚本所做的就是在检查python解释器是否存在后打开这个>
echo$PKG\u CONFIG\u PATH
返回一个空白换行。

这意味着并非所有依赖项都已安装,尤其是至少 libnuma dev缺失,因此您需要:

sudo apt-get install libnuma-dev
或者,实际上,对于你的Manjaro:

sudo pacman -S libnuma-dev

查看完整列表。

通过从源代码构建libnuma,我能够自己解决这个问题。
但我仍然不知道为什么我无法在repos中找到合适的包。

@outeh好的,然后检查pkg config正在搜索的位置,即,你能用pkg_config_PATH的内容更新你的问题吗?@outeh在这里搜索关键字“numa”,我只找到了“lib32 numactl”,但你有64位的arch,因此,aur中似乎没有合适的包。