Comments (5)
Compiler version:
You probably do not have the required compiler version. You'll either need gcc 4.8+ or clang 3.3+ (better bet since you're on OSX).
I'm trying to configure Travis to build with OSX too so those errors will be prevented.
from node-argon2.
Thanks! I'm not terribly familiar with this :(
I just went ahead and made sure I had all the latest xcode stuff, which I do, but that's apparently not enough to build this any longer.
I did some research, and was able to get gcc 5.3.0 installed via homebrew, by doing:
$ brew install gcc
But -- this only gives you a gcc-5
binary, so building this library still fails with errors since it's using the gcc
binary and not gcc-5
(which isn't anyone's fault, except brew maybe =p).
I don't suppose you know of a good way to get either GCC / Clang installed on OSX to make things work? It might also be worth it to mention the compiler dependencies in the readme.
from node-argon2.
You can use env CXX=g++-5 npm install
instead which will select g++-5 as the compiler for C++ (CXX). Change accordingly if g++ is not called g++, sometimes it's gcc-c++
from node-argon2.
That worked perfectly, thank you!
Want a PR to include some of this in the README? I'd be happy to submit, although I'm not terribly familiar with all the different options / etc., so not sure if you want me to take a stab at it or not ^^
from node-argon2.
Please do, I'm currently trying to fix #25 so I'm focused. I'll comment if there's anything out of order :P
from node-argon2.
Related Issues (20)
- Vulnerable downstream dependency HOT 6
- Hash in .Net and Verify in node.js HOT 6
- Cannot build anymore from yesterday: Cannot find module './**/*' HOT 8
- How to cache the Argon2 binary for CI? HOT 1
- Bun support HOT 1
- how to install with local argon2.node HOT 1
- v0.40.0-alpha.2 raises ts errors HOT 2
- node18.14.0 node-gyp10.0.1 Error message reported during installation of argon2 HOT 2
- How to hash without salt? HOT 2
- Feat request: synchronous version HOT 5
- Crash with docker HOT 2
- `defaults` is no longer exported in v0.40.0 HOT 2
- Mismatching version numbers on github releases and npm (0.40.0 vs 0.40.1) HOT 2
- node-gyp-build error HOT 4
- Doesn't work in the node:20-alpine image docker HOT 24
- Type regression between v0.31.2 and v0.40.1 HOT 5
- ReferenceError: require is not defined HOT 1
- Centos8 error: "symbol lookup error: undefined symbol: argon2_ctx" HOT 1
- Invalid argument on verify method HOT 4
- 0.40 prebuild fails on Debian bullseye arm64 linux as GLIBC 2.34 is required HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-argon2.