Hello
i try to install atom.io editor.
https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md
Requirements
git clone https://github.com/atom/atom
cd atom
script/build
i try to install atom.io editor.
https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md
Requirements
- FreeBSD
- pkg install node
- pkg install npm
- pkg install libgnome-keyring
- npm config set python /usr/local/bin/python2 -g to ensure that gyp uses Python 2
git clone https://github.com/atom/atom
cd atom
script/build
Code:
# script/build
Node: v6.11.1
Npm: v3.10.10
Installing script dependencies
prebuild-install info begin Prebuild-install version 2.2.2
prebuild-install info looking for local prebuild @ prebuilds/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/https-github.com-level-leveldown-releases-download-v1.8.0-leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install http request GET https://github.com/level/leveldown/releases/download/v1.8.0/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install http 404 https://github.com/level/leveldown/releases/download/v1.8.0/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=6.11.1 runtime=node arch=x64 platform=freebsd)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/usr/bin/python2", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System FreeBSD 11.1-RELEASE
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jento/atom/script/node_modules/leveldown
gyp ERR! node -v v6.11.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! FreeBSD 11.1-RELEASE
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "--loglevel=error" "install"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! leveldown@1.8.0 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@1.8.0 install script 'prebuild-install || node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild-install || node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs leveldown
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/home/jento/atom/script/npm-debug.log
child_process.js:504
throw err;
^
Error: Command failed: npm --loglevel=error install
prebuild-install info begin Prebuild-install version 2.2.2
prebuild-install info looking for local prebuild @ prebuilds/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/https-github.com-level-leveldown-releases-download-v1.8.0-leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install http request GET https://github.com/level/leveldown/releases/download/v1.8.0/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install http 404 https://github.com/level/leveldown/releases/download/v1.8.0/leveldown-v1.8.0-node-v48-freebsd-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=6.11.1 runtime=node arch=x64 platform=freebsd)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/usr/bin/python2", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System FreeBSD 11.1-RELEASE
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jento/atom/script/node_modules/leveldown
gyp ERR! node -v v6.11.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! FreeBSD 11.1-RELEASE
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "--loglevel=error" "install"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! leveldown@1.8.0 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@1.8.0 install script 'prebuild-install || node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild-install || node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs leveldown
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/home/jento/atom/script/npm-debug.log
at checkExecSyncError (child_process.js:481:13)
at Object.execFileSync (child_process.js:501:13)
at module.exports (/usr/home/jento/atom/script/lib/install-script-dependencies.js:9:16)
at Object.<anonymous> (/usr/home/jento/atom/script/bootstrap:28:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)