编译 YARA 以在 Heroku Dyno 中使用

问题描述

希望复制 https://github.com/heroku/heroku-buildpack-yara,但要使用最新版本的 Yara (https://github.com/VirusTotal/yara/releases)。如何编译它以在 dyno 内部使用,就像为 heroku-buildpack-yara 所做的那样?我尝试 heroku run bash 运行此处显示的单个命令 https://yara.readthedocs.io/en/stable/gettingstarted.html#compiling-yara,但它抱怨缺少构建工具并且 apt get 在环境中不起作用。

~/yara-4.1.1 $ apt install automake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package automake is not available,but is referred to by another package.
This may mean that the package is missing,has been obsoleted,or
is only available from another source

W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Package 'automake' has no installation candidate

heroku 说明(到目前为止我已经找到了)有点不透明。

谢谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)