Building on Linux
See original GitHub issueWhen building on linux following the README.md I get the following issue, I think its related to the node/nodejs package name issues…
user@computer oncoscape/server/ # npm install
> rstats@0.3.1 install /home/user/Development/Oncoscape/server/node_modules/rstats
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.10.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/user/Development/Oncoscape/server/node_modules/rstats/.node-gyp"
make: Entering directory `/home/user/Development/Oncoscape/server/node_modules/rstats/build'
CXX(target) Release/obj.target/R/src/rl.o
CXX(target) Release/obj.target/R/src/rlink.o
SOLINK_MODULE(target) Release/obj.target/R.node
/usr/bin/ld: cannot find -llzma
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
make: *** [Release/obj.target/R.node] Error 1
make: Leaving directory `/home/user/Development/Oncoscape/server/node_modules/rstats/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 4.2.0-25-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/Development/Oncoscape/server/node_modules/rstats
gyp ERR! node -v v5.10.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN oncoscape@15.0.0 No repository field.
npm ERR! Linux 4.2.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v5.10.0
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! rstats@0.3.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rstats@0.3.1 install script '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 rstats package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs rstats
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls rstats
npm ERR! There is likely additional logging output above.
Issue Analytics
- State:
- Created 7 years ago
- Comments:27 (8 by maintainers)
Top Results From Across the Web
Building and Installing Software Packages for Linux: Using Make
The Makefile is the key to the build process. In its simplest form, a Makefile is a script for compiling or building the...
Read more >Welcome to Linux From Scratch!
Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own custom Linux system, entirely from source...
Read more >Building On Linux - GnuCash
Build using CMake and Ninja ; install/local, install in /usr/local (requires admin privileges - prefix with sudo) ; check, build and run the...
Read more >Build Your Own Linux: Presented by Linux Academy
"Build Your Own Linux (From Scratch)" walks users through building a basic Linux distribution. Presented by Linux Academy & Cloud Assessments.
Read more >A Tutorial on Building Custom Linux Appliances - USENIX
There are many tutorials online to build your own Linux kernel and a root filesystem used for booting the kernel, often called the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just wanted to check in and see how things are going. Let us know if there is anything we can do to help.
I am doing fine, tied up in other dev projects. I will attempt to join back in development on Oncoscape this summer sometime! Thanks for all the help @mzager