Getting error when building manually on linux


#1

Any ideas? Here is the output:

[juel|tcsh]# script/build --build-dir ./build/atom/ [~/bin/atom]
Node: v0.12.0
npm: v2.5.1
Installing build modules…
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
cc1plus: error: unrecognized command line option "-std=c++0x"
make: *** [Release/obj.target/native_mate/node_modules/native-mate/vendor/src/native_mate/arguments.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/pri/juel/bin/node/node-v0.12.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 2.6.18-371.9.1.el5
gyp ERR! command “node” “/pri/juel/bin/node/node-v0.12.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /pri/juel/bin/atom/build/node_modules/grunt-atom-shell-installer/node_modules/asar/node_modules/chromium-pickle
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
child_process: customFds option is deprecated, use stdio instead.
npm ERR! Linux 2.6.18-371.9.1.el5
npm ERR! argv “/pri/juel/bin/node/node-v0.12.0-linux-x64/bin/node” “/pri/juel/bin/node/node-v0.12.0-linux-x64/bin/npm” “–userconfig=/pri/juel/bin/atom/build/.npmrc” “install” “–loglevel” "error"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! chromium-pickle@0.1.4 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromium-pickle@0.1.4 install script ‘node-gyp rebuild’.
npm ERR! This is most likely a problem with the chromium-pickle package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls chromium-pickle
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /pri/juel/bin/atom/build/npm-debug.log


#2

See the following in the log file:

1187 verbose stack Error: chromium-pickle@0.1.4 install: node-gyp rebuild
1187 verbose stack Exit status 1
1187 verbose stack at EventEmitter. (/pri/juel/bin/atom/build/node_modules/npm/lib/utils/lifecycle.js:213:16)
1187 verbose stack at EventEmitter.emit (events.js:110:17)
1187 verbose stack at ChildProcess. (/pri/juel/bin/atom/build/node_modules/npm/lib/utils/spawn.js:14:12)
1187 verbose stack at ChildProcess.emit (events.js:110:17)
1187 verbose stack at maybeClose (child_process.js:1008:16)
1187 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
1188 verbose pkgid chromium-pickle@0.1.4