Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation #41

Closed
akumar1503 opened this issue Jun 4, 2018 · 2 comments
Closed

Error during installation #41

akumar1503 opened this issue Jun 4, 2018 · 2 comments

Comments

@akumar1503
Copy link

Hello, i'm getting below error during compilation using mix. I have included {:meeseeks, "~> 0.9.2"} in my mix.exs deps and ran {:meeseeks, "~> 0.9.2"}.
Now running mix compile gives this:

==> meeseeks_html5ever
Compiling NIF crate :meeseeks_html5ever_nif (native/meeseeks_html5ever_nif)...
could not compile dependency :meeseeks_html5ever, "mix compile" failed. You can recompile this dependency with "mix deps.compile meeseeks_html5ever", update it with "mix deps.update meeseeks_html5ever" or clean it with "mix deps.clean meeseeks_html5ever"
** (ErlangError) Erlang error: :enoent
    (elixir) lib/system.ex:622: System.cmd("cargo", ["rustc", "--no-default-features", "--release"], [cd: "/home/baldor/df/tph/deps/meeseeks_html5ever/native/meeseeks_html5ever_nif", stderr_to_stdout: true, env: [{"CARGO_TARGET_DIR", "/home/baldor/df/tph/_build/dev/rustler_crates/meeseeks_html5ever_nif"}], into: %IO.Stream{device: :standard_io, line_or_bytes: :line, raw: false}])
    lib/mix/tasks/compile.rustler.ex:51: Mix.Tasks.Compile.Rustler.compile_crate/1
    (elixir) lib/enum.ex:1294: Enum."-map/2-lists^map/1-0-"/2
    lib/mix/tasks/compile.rustler.ex:14: Mix.Tasks.Compile.Rustler.run/1
    (mix) lib/mix/task.ex:314: Mix.Task.run_task/3
    (mix) lib/mix/tasks/compile.all.ex:63: Mix.Tasks.Compile.All.run_compiler/2
    (mix) lib/mix/tasks/compile.all.ex:47: Mix.Tasks.Compile.All.do_compile/4
    (mix) lib/mix/tasks/compile.all.ex:18: anonymous fn/1 in Mix.Tasks.Compile.All.run/1
@mischov
Copy link
Owner

mischov commented Jun 4, 2018

I need to know what versions of Rust, Erlang/OTP, and Elixir you're using to try recreating the problem.

Is your Rust/Cargo setup working right?

@akumar1503
Copy link
Author

sorry, I didn't have Rust installed earlier.
Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants