Raspberry pi 上的 "probe: numa" 手刹介子配置失败 4

Handbrake meson configuring fails at "probe: numa" on the Raspberry pi 4

使用提供的配置文件在我的 Raspberry pi 4 上配置 Handbrake (https://github.com/HandBrake/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.

我正在使用 Raspberry pi 4 版本的 Manjaro (https://manjaro.org/download/arm/raspebery-pi-4/arm8-raspberry-pi-4-xfce/) 我的系统已更新,但我在 repos 或 aur 中找不到 numa。 Handbrake 使用介子构建系统,所有配置脚本所做的就是在检查是否存在 python 解释器后打开此 >https://github.com/HandBrake/HandBrake/blob/master/make/configure.py< python 脚本。 编辑: echo $PKG_CONFIG_PATH returns 一个空白换行符。

这意味着没有安装所有依赖项,特别是至少有 libnuma-dev 缺失,所以你需要:

sudo apt-get install libnuma-dev

或者,实际上,对于您的 Manjaro:

sudo pacman -S libnuma-dev

检查 this 以获得完整列表。

我能够通过从源代码构建 libnuma 自己解决这个问题。 但是我还是不知道为什么我在仓库里找不到合适的包。