philcruz
philcruz

Reputation: 8445

"Error: not found: make" installing Meteorite on OS X

I'm trying to install meteorite on OS X 10.8.4. When I run this

sudo -H npm install -g meteorite

I see

[email protected] install /usr/local/share/npm/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)

Looking at the builderror.log I see

gyp http GET http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at F (/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:43:28) gyp ERR! stack at E (/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp ERR! stack at /usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Darwin 12.4.0 gyp ERR! command "node" "/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/share/npm/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws gyp ERR! node -v v0.10.15 gyp ERR! node-gyp -v v0.10.6 gyp ERR! not ok

What could be the problem?

Upvotes: 0

Views: 1432

Answers (2)

tresf
tresf

Reputation: 7922

Assuming "install the command line tools" is the answer, in Xcode 5.1.1, xcode-select --install was not yet available. Here's how you do it in Xcode 5.1.1 (also works with older versions)

  • Applications
  • Xcode (Launch the IDE from your Apps)
  • Xcode Preferences menu (Top left, next to Apple logo)
  • Downloads tab
  • Components: Command Line Tools
  • Install (Download Arrow)

Upvotes: 0

Nick Veys
Nick Veys

Reputation: 23949

Do you have the native build tools installed? If not, install them. This can be done using Xcode very easily. In the Xcode "Downloads" preference window.

Here's what appears to be your exact issue on another package: https://github.com/JustinTulloss/zeromq.node/issues/142

Upvotes: 1

Related Questions