walmartlabs/thorax — Issue #12: Problem with clean installation on Mac
Author: greenido
Created: 2012-01-19 00:21:48+00:00
State: open

After running: npm install -g lumbar thorax

Here is what I got:

Nothing to clean (project not configured)
Setting srcdir to : /usr/local/lib/node_modules/lumbar/node_modules/jsdom/node_modules/contextify
Setting blddir to : /usr/local/lib/node_modules/lumbar/node_modules/jsdom/node_modules/contextify/build
Checking for program g++ or c++ : not found
/usr/local/lib/node_modules/lumbar/node_modules/jsdom/node_modules/contextify/wscript:11: error: could not configure a cxx compiler!
npm ERR! error installing contextify@0.0.7
npm ERR! error installing jsdom@0.2.10
npm ERR! error installing lumbar@1.0.0
npm ERR! contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the contextify@0.0.7 preinstall script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "lumbar" "thorax"
npm ERR! cwd /Applications/MAMP/htdocs
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! code ELIFECYCLE
npm ERR! message contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Applications/MAMP/htdocs/npm-debug.log