繁体   English   中英

无法编译依赖项:jiffy

[英]Could not compile dependency :jiffy

我正在尝试运行混合服务器:

...
Compiling c_src/decoder.c
sh: 1: exec: cc: not found
===> Hook for compile failed!

** (Mix) Could not compile dependency :jiffy, "/home/user/.mix/rebar3 bare compile --paths "/home/user/app_build/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile jiffy", update it with "mix deps.update jiffy" or clean it with "mix deps.clean jiffy"
...

这种情况有什么解决办法吗?

$ mix local.rebar
$ rm -rf deps
$ rm -rf _build
$ mix deps.get

没有帮助:-(

Erlang/OTP 22 Erts 10.4.2 上的钢筋 3.6.1

Elixir 1.8.2(使用 Erlang/OTP 20 编译)

Ubuntu 18.04.2 LTS

听起来您没有安装 C 编译器。 尝试$ apt-get install build-essential安装一个。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM