Git Product home page Git Product logo

Comments (5)

ranisalt avatar ranisalt commented on August 15, 2024

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.

rdegges avatar rdegges commented on August 15, 2024

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.

ranisalt avatar ranisalt commented on August 15, 2024

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.

rdegges avatar rdegges commented on August 15, 2024

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.

ranisalt avatar ranisalt commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.