Git Product home page Git Product logo

Comments (3)

life0fun avatar life0fun commented on July 18, 2024

problem solved!

  1. export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
  2. sudo visudo, add
    Defaults env_keep += "PKG_CONFIG_PATH"
  3. sudo npm install zmq -g

from zeromq.node.

ashearer avatar ashearer commented on July 18, 2024

Also reproduced on Lion (Mac OS X 10.7). Same solution as above, simplified to a one-liner:

sudo PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" npm install zmq -g

from zeromq.node.

nicerobot avatar nicerobot commented on July 18, 2024

I had this error and it was due to my version of pkg-config installed by the Mono.framework didn't know about MacPorts' /opt/local/lib path. I simply removed Mono but another alternative similar to the PKG_CONFIG_PATH solution might be

PATH=/opt/local/bin:${PATH} npm install zmq

from zeromq.node.

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.