Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install needs to be tweaked? #59

Open
coderofsalvation opened this issue May 19, 2015 · 1 comment
Open

npm install needs to be tweaked? #59

coderofsalvation opened this issue May 19, 2015 · 1 comment

Comments

@coderofsalvation
Copy link

$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

$ uname -a
Linux kiwi 3.18.7-rt1 #1 SMP PREEMPT RT Mon Feb 23 07:43:39 CET 2015 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

$ npm --version
1.4.3

$ node --version
v0.10.26

$ npm install termbox
npm http GET https://registry.npmjs.org/termbox
npm http 200 https://registry.npmjs.org/termbox
npm http GET https://registry.npmjs.org/termbox/-/termbox-0.1.0.tgz
npm http 200 https://registry.npmjs.org/termbox/-/termbox-0.1.0.tgz

> [email protected] install /tmp/node_modules/termbox
> node-gyp rebuild

make: Entering directory `/tmp/node_modules/termbox/build'
  CXX(target) Release/obj.target/termbox/src/termbox.o
../src/termbox.cpp:13:21: fatal error: termbox.h: No such file or directory
 #include <termbox.h>
                     ^
compilation terminated.
make: *** [Release/obj.target/termbox/src/termbox.o] Error 1
make: Leaving directory `/tmp/node_modules/termbox/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/mnt/data/opt/node-v0.10.26-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.18.7-rt1
gyp ERR! command "node" "/mnt/data/opt/node-v0.10.26-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/node_modules/termbox
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the termbox 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 their info via:
npm ERR!     npm owner ls termbox
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.18.7-rt1
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "termbox"
npm ERR! cwd /tmp
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/npm-debug.log
npm ERR! not ok code 0
@nsf
Copy link
Owner

nsf commented May 19, 2015

Sure, but I'm not the author of that npm package. Have no idea if he follows this github repo or not. Better contact him directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants