Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Build Error On OS X El Capitan 10.11.6 #55

Open
BobCochran opened this issue Aug 13, 2016 · 0 comments
Open

Build Error On OS X El Capitan 10.11.6 #55

BobCochran opened this issue Aug 13, 2016 · 0 comments

Comments

@BobCochran
Copy link

I am attempting to build the latest Atom from source code on Mac OS X El Capitan, 10.11.6. Using Node v6.3.1. I am attaching a zip file containing nam-debug.log. The build fails.

When I say I attempted to build "the latest Atom" I mean I performed a 'git pull' within the atom directory just before building. I used this command to build the code with:

./script/build --install-dir ~/local/bin/Atom.app

The attached log will give more detail but this was the output I saw on the command line within a few seconds:

Node: v6.3.1
npm: v3.10.5
Installing build modules...
=> Took 3108ms.

Installing apm...
libtool:   error: unrecognised option: '-static'
make: *** [Release/oniguruma.a] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (     /Users/gbwk/Downloads/atom/build/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/Users/gbwk/local/bin/node"     "/Users/gbwk/Downloads/atom/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/gbwk/Downloads/atom/apm/node_modules/atom-package-    manager/node_modules/oniguruma
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/gbwk/local/bin/node" "    /Users/gbwk/Downloads/atom/build/node_modules/.bin/npm" "--userconfig=/Users/gbwk/Downloads/atom/build/.npmrc" "--target=4.4.5" "--global-style" "install" "-    -loglevel" "error"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.

npmdebug.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant