Using Elixirs project management tool mix I get an error make: g++: Command not found make: *** [Makefile:69: prometheus_process_collector_nif.o] Error 127 on compilation.
Here is the build output:
===> Compiling prometheus_process_collector
make: Entering directory '/app/deps/prometheus_process_collector/c_src'
g++ -O3 -finline-functions -fPIC -I /usr/lib/erlang/erts-9.3/include/ -I /usr/lib/erlang/lib/erl_interface-3.10.2/include -std=c++11 -Wall -c -o prometheus_process_collector_nif.o prometheus_process_collector_nif.cc
make: g++: Command not found
make: *** [Makefile:69: prometheus_process_collector_nif.o] Error 127
make: Leaving directory '/app/deps/prometheus_process_collector/c_src'
===> Hook for compile failed!
==> my_app
** (Mix) Could not compile dependency :prometheus_process_collector, "/root/.mix/rebar3 bare compile --paths "/app/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile prometheus_process_collector", update it with "mix deps.update prometheus_process_collector" or clean it with "mix deps.clean prometheus_process_collector"
This error only occurs since Version 1.4.0 using Elixir 1.7.3 and Erlang/OTP 20
Using Elixirs project management tool
mix
I get an errormake: g++: Command not found make: *** [Makefile:69: prometheus_process_collector_nif.o] Error 127
on compilation.Here is the build output:
This error only occurs since Version 1.4.0 using Elixir 1.7.3 and Erlang/OTP 20