Linking fails when building Electron from source


#1

When running npm run build, ninja fails during linking.
I’m using Arch Linux, and I’ve uploaded my log to https://drive.google.com/file/d/0B_6Z-WVm6ivHcWRkbEFnZ0I5ZnM/view?usp=sharing.

I’m not sure where to progress from here. The error log is incredibly long, and nothing near the top/bottom seemed to be the cause.


#2

Were you able to resolve this? I am facing a similar if not the exact same error. Only difference is my environment is a clean Ubuntu 15.x desktop.

Incredibly frustrating to have 1570 steps pass and 1 fail.


#3

I was somewhat able to fix this, just yesterday, in fact.

I’m still unable to build 0.36.11 and before, but 0.37.0 and above build properly.

I started following https://github.com/atom/electron/blob/master/docs/development/build-instructions-linux.md

So, run two scripts:
./script/bootstrap.py -v
./script/build.py -c D


#4

Thank you @mitchhentges !
I managed to get 0.37.x as well :slight_smile: