Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

(c) 2016#42

Open
kriskowal wants to merge 1 commit intomasterfrom
c2016
Open

(c) 2016#42
kriskowal wants to merge 1 commit intomasterfrom
c2016

Conversation

@kriskowal
Copy link
Contributor

No description provided.

@HelloGrayson
Copy link

hmmm

make: Entering directory `/home/travis/build/uber/tcap/node_modules/pcap/build'
  CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
make: Leaving directory `/home/travis/build/uber/tcap/node_modules/pcap/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/v0.10.44/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.13.0-40-generic
gyp ERR! command "node" "/home/travis/.nvm/v0.10.44/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/travis/build/uber/tcap/node_modules/pcap
gyp ERR! node -v v0.10.44
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
npm WARN tcap@5.6.1 No license field.
npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "node" "/home/travis/.nvm/v0.10.44/bin/npm" "install"
npm ERR! node v0.10.44
npm ERR! npm  v3.8.5
npm ERR! code ELIFECYCLE
npm ERR! pcap@2.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pcap@2.0.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 pcap 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 pcap
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pcap
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/uber/tcap/npm-debug.log
The command "eval npm install " failed 3 times.

@Raynos
Copy link
Contributor

Raynos commented Apr 4, 2016

Run sudo apt-get install libpcap-dev in a pre travis hook to make sure travis has pcap headers installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants