【问题标题】:"Could not find triehash executable" error“找不到 triehash 可执行文件”错误
【发布时间】:2019-09-27 05:53:26
【问题描述】:

我正在尝试构建apt repository,但在运行cmake .. 时遇到以下错误:

CMake Error at CMakeLists.txt:44 (message):
  Could not find triehash executable

我该如何解决这个问题?

【问题讨论】:

    标签: cmake ubuntu-18.04 apt


    【解决方案1】:

    此 cmake 尝试在您的系统中查找 triehash 实用程序。安装了吗?如果不用sudo apt install triehash

    【讨论】:

    • 不起作用,给出错误 - E: Unable to locate package triehash
    • 好的。然后你可以尝试从repo手动构建它
    • 这似乎是一个单独的 perl 文件,没有办法构建它。我弄错了吗?
    • 您需要将triehash.pl 文件放在您的PATH 中的某个位置,而不需要pl 扩展名并使其可执行。像这样的东西:wget https://raw.githubusercontent.com/julian-klode/triehash/master/triehash.pl -O triehash && chmod a+x triehash && sudo mv triehash /usr/bin
    猜你喜欢
    • 2013-11-28
    • 2017-07-03
    • 1970-01-01
    • 2011-01-21
    • 1970-01-01
    • 1970-01-01
    • 2017-11-22
    • 2015-03-02
    相关资源
    最近更新 更多