-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Install fails on ARM (Raspberry Pi) #43
Comments
This is because it defaults to the optimized (SSE2 enabled) version of argon2, yet only the reference one compiles on RPi. I've yet to find an easy way to detect and switch them, I'll focus on it now. |
Could you check that 0865b21 works for you? It's on branch rpi and it worked for me. |
Ok, great, building it from source works, thanks! One thing though, executing > node-gyp rebuild
make: Entering directory '/home/pi/node-test/node_modules/argon2/build'
make: *** No rule to make target 'Release/obj.target/libargon2/argon2/src/ref.o', needed by 'Release/obj.target/argon2.a'. Stop.
make: Leaving directory '/home/pi/node-test/node_modules/argon2/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2 Am I doing something wrong? |
Yes, I think the needed file is still in the npmignore, and I will fix it. |
Great, gonna close this then (clicked wrong just before). Thanks for the help. |
Thanks! If no more issues appear until Wednesday it will be launched as 0.12.0 |
Steps to reproduce
Actual behaviour
Environment
Operating system:
Raspbian GNU/Linux 8 (jessie) (Linux 4.4.9)
Node version:
v.4.2.1
Compiler version:
gcc version 4.9.2 (Raspbian 4.9.2-10)
Building argon2 itself without node-gyp works just fine, but I can't seem to get the library-file linked with the node-module. Maybe changing the bindings and build parameters for ARM (leaving out the msse and msse2 parameters) would solve this?
The text was updated successfully, but these errors were encountered: