簡體   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