【问题标题】:I can't install mongodb in line with manjaro?不能按照manjaro安装mongodb?
【发布时间】:2022-10-15 17:09:04
【问题描述】:

错误:使用高于可用 cpu 的 -j 时未启用冰淇淋。使用 --force-jobs 覆盖。 ==> 错误:构建()中发生故障。 中止... -> 错误:mongodb

【问题讨论】:

  • 请提供足够的代码,以便其他人更好地理解或重现问题。

标签: mongodb archlinux manjaro


【解决方案1】:

遇到了同样的问题,在我看来,这是 MAKEFLAGS 环境变量的默认值将其设置为“-j$(($(nproc)+1))”的结果。

我在 /etc/makepkg.conf 中手动将变量的值更改为“-j4”(我认为任何低于实际 CPU 数量的都可以),这为我解决了这个问题。

【讨论】:

    猜你喜欢
    • 2020-04-14
    • 2019-03-08
    • 2020-06-28
    • 2020-07-11
    • 2019-05-20
    • 2021-12-20
    • 1970-01-01
    • 2023-03-06
    • 2020-05-03
    相关资源
    最近更新 更多