【发布时间】: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
我正在尝试构建apt repository,但在运行cmake .. 时遇到以下错误:
CMake Error at CMakeLists.txt:44 (message):
Could not find triehash executable
我该如何解决这个问题?
【问题讨论】:
标签: cmake ubuntu-18.04 apt
此 cmake 尝试在您的系统中查找 triehash 实用程序。安装了吗?如果不用sudo apt install triehash
【讨论】:
E: Unable to locate package triehash。
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