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

Build Error On OS X El Capitan 10.11.6  #55

@BobCochran

Description

@BobCochran

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! oniguruma@5.1.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the oniguruma@5.1.2 install script 'node-gyp rebuild'.

npmdebug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions