Source build does not run


#1

$ atom
nohup: failed to run command `/tmp/atom-build/Atom/atom’: No such file or directory

This build was performed following the instructions on
[ATOM_BUILD_INSTRUCTION_FROM_GITHUB]
for building atom
and
[STACKEXCHANGE]whats-the-currently-recommended-way-to-install-node-js-on-debian
for building node-js

specifically, I did the following;

apt-get install python g++ wget libssl-dev
mkdir ~/Desktop/nodejs && cd ~/Desktop/nodejs
wget [NODEJS_WEBSITE]node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
make
make test
make install

$ node -v
v0.12.4

$ npm -v
2.10.1

sudo apt-get install build-essential git libgnome-keyring-dev fakeroot
mkdir ~/Desktop/atom && cd ~/Desktop/atom
git clone [ATOM_REPO]
cd atom
git fetch -p
git checkout $(git describe --tags git rev-list --tags --max-count=1)
script/build
sudo script/grunt install

$ atom
nohup: failed to run command `/tmp/atom-build/Atom/atom’: No such file or directory
^C


#2

adding echo “$ATOM_PATH” before [ -x “$ATOM_PATH” ] || ATOM_PATH="TMPDIR/atom-build/Atom/atom" gives /usr/local/bin/atom
/usr/local/share/atom/atom

/usr/local/share/atom does not exist