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

** (Mix) NIF version 2.11 is not supported by Rustler. See https://github.com/hansihe/Rustler/blob/master/FAQ.md#unsuppored-nif-version #17

Closed
OvermindDL1 opened this issue Jul 26, 2016 · 13 comments

Comments

@OvermindDL1
Copy link

$ mix rustler.check
** (Mix) NIF version 2.11 is not supported by Rustler. See https://github.com/hansihe/Rustler/blob/master/FAQ.md#unsuppored-nif-version

And yet I have Erlang 19, definitely not old by any stretch, although has been out for a while now.

@goertzenator
Copy link
Contributor

Ref rusterlium/erlang_nif-sys#15

@OvermindDL1
Copy link
Author

Ah, waiting on that, no updates to that library in 26 days it seems?

@goertzenator
Copy link
Contributor

Today is my github catch-up day. I'm hoping to wrap that up within a few hours.

@goertzenator
Copy link
Contributor

erlang_nif-sys now properly supports erlang-19.0 and the 2.11 NIF API. I assume Rustler now needs a tweak to use this.

@hansihe
Copy link
Member

hansihe commented Jul 27, 2016

Nice work.
Will try to get Rustler updated later on today.

@hansihe
Copy link
Member

hansihe commented Jul 28, 2016

Everything should work on erlang-19 and the 2.11 NIF API now.

@OvermindDL1 Note that the getting started instructions have changed a bit. Since you have the old installer installed, you need to run mix archive.uninstall rustler_installer.ez before following the instructions.

@hansihe hansihe closed this as completed Jul 28, 2016
@OvermindDL1
Copy link
Author

Awesome, however to note the uninstall command for me had to be mix archive.uninstall rustler_installer without the .ez part.

@slashmili
Copy link
Contributor

I just installed the archive and I got the same error.

~/d/t/elixir $ mix archive.install https://github.com/hansihe/rustler_archives/raw/master/rustler_installer.ez
Are you sure you want to install archive "https://github.com/hansihe/rustler_archives/raw/master/rustler_installer.ez"? [Yn] y
* creating /Users/milad/.mix/archives/rustler_installer

I'm testing on:

Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

this is the output

~/d/t/e/tryout $ mix rustler.check
** (Mix) NIF version 2.11 is not supported by Rustler. See https://github.com/hansihe/Rustler/blob/master/FAQ.md#unsuppored-nif-version

@hansihe
Copy link
Member

hansihe commented Aug 13, 2016

Using the mix archive is an outdated method, and you should be using the :rustler mix dependency now. Follow the getting started guide in the readme to get started.

Because you have the mix archive installed, as mentioned above, you need to run mix archive.uninstall rustler_installer or mix archive.uninstall rustler_installer.ex for the new generator task to work.

@hansihe
Copy link
Member

hansihe commented Aug 13, 2016

I just realized that I forgot to publish the new documentation. I will do that as soon as I can.

@slashmili
Copy link
Contributor

Thanks for the update. Sure I'll try the alternative way.

You might as well update this page http://rustler.rustbridge.io/rustler/

@hansihe
Copy link
Member

hansihe commented Aug 13, 2016

Yep, I will do that as soon as I can.

@hansihe
Copy link
Member

hansihe commented Aug 22, 2016

Sorry for taking so long, I have been busy moving the last couple of days.

The documentation is now updated, and should be mostly consistent with the current state of the project.

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

4 participants