Beyond Linux from scrap 11.3 p11-kit 不使用 Freebl 库安装

Beyond Linux from scrap 11.3 p11-kit 不使用 Freebl 库安装

我正在阅读 BLFS 手册。我成功安装了p11-kit-0.24.1。然后我也成功安装了 NSS-3.88.1。当我回去安装 p11-kit 以使用 NSS 时,ninja 失败了。

p11 构建过程(使用 NSS):将 tar cd 提取到目录中

mkdir p11-build &&
cd    p11-build &&

meson --prefix=/usr       \
      --buildtype=release \
      -Dtrust_paths=/etc/pki/anchors \
      -Dhash_impl=freebl

输出:

Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
../bash-completion/meson.build:7: WARNING: Will not install bash completion due to missing dependencies!
Build targets in project: 176

p11-kit 0.24.1

  User defined options
    buildtype  : release
    prefix     : /usr
    hash_impl  : freebl
    trust_paths: /etc/pki/anchors

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

然后运行ninja并收到ninja: build stopped: subcommand failed. 还收到FAILED: trust/test-digest, FAILED: trust/trust, FAILED: trust/test-x509, 和FAILED: trust/test-index

我不确定还有哪些其他相关信息,但如果需要,可以提取大量输出。

谢谢

(这是我的第一个 lfs/blfs 构建,我在计算机科学和 Linux 方面有几年的经验,但从未做过这么低级别的事情)

如果使用 NSS 运行 p11-kit 并不重要,那么我可以跳过该部分,但据我所知,就安全性而言,这是非常重要的一步。

相关内容