Build fails on CentOS 5.8
davidmurdoch opened this issue · 3 comments
davidmurdoch commented
gyp info it worked if it ends with ok
gyp info using node-gyp@0.5.6
gyp info using node@0.8.1
gyp ERR! configure error Error: Command failed: Unknown option: --
gyp ERR! configure error Unknown option: -e
gyp ERR! configure error Unknown option: -r
gyp ERR! configure error Unknown option: -s
gyp ERR! configure error Unknown option: -o
gyp ERR! configure error Unknown option: -n
gyp ERR! configure error Unknown option: --
gyp ERR! configure error usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
gyp ERR! configure error Try `python -h' for more information.
gyp ERR! configure error
gyp ERR! configure error at ChildProcess.exithandler (child_process.js:536:15)
gyp ERR! configure error at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! configure error at maybeClose (child_process.js:634:16)
gyp ERR! configure error at Socket.ChildProcess.spawn.stdin (child_process.js:805:11)
gyp ERR! configure error at Socket.EventEmitter.emit (events.js:88:17)
gyp ERR! configure error at Socket._destroy.destroyed (net.js:358:10)
gyp ERR! configure error at process.startup.processNextTick.process._tickCallback (node.js:244:9)
gyp ERR! not ok
Let me know if you need more info
samshull commented
That appears to be a problem with node-gyp or the version of python that you are using.
davidmurdoch commented
When I run python -V
I get Python 2.7
davidmurdoch commented
While my previous statement is true, apparently node-gyp doesn't actually care and is using an older version anyway. Running PYTHON=/opt/python2.7/bin/python node-gyp build configure
worked.