tsekityam / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Unable to install on OSX 10.9 (Mavericks) with XCode Command Line Tools installed #383

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Xcode Command Line Tools
2. Install node-gyp under OSX 10.9 (Mavericks)

What is the expected output? What do you see instead?

Expected - Gyp and node-gyp would install successfully.

However, instead we get:

    > hiredis@0.1.15 install /Users/victorhooi/code/collaborative-markdown/node_modules/derby/node_modules/racer/node_modules/share/node_modules/livedb/node_modules/hiredis
    > node-gyp rebuild

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    gyp: Error 1 running xcodebuild
    gyp ERR! configure error
    gyp ERR! stack Error: `gyp` failed with exit code: 1
    gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:467:16)
    gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
    gyp ERR! System Darwin 13.0.0
    gyp ERR! command "node" "/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /Users/victorhooi/code/collaborative-markdown/node_modules/derby/node_modules/racer/node_modules/share/node_modules/livedb/node_modules/hiredis
    gyp ERR! node -v v0.10.22
    gyp ERR! node-gyp -v v0.11.0
    gyp ERR! not ok
    npm WARN optional dep failed, continuing hiredis@0.1.15

What version of the product are you using? On what operating system?

Please provide any additional information below.

We've raised an issue with the node-gyp:

https://github.com/TooTallNate/node-gyp/issues/341

However, the maintainer there said that this was an upstream issue with gyp, 
and to raise it here:

https://github.com/TooTallNate/node-gyp/issues/341#issuecomment-28724845

Original issue reported on code.google.com by victorh...@gmail.com on 21 Nov 2013 at 11:44