-
-
Save tmpvar/afaba28371281c980021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@108ac9ba-932c-47e3-b0ae-57ff4b593a46 ~]# npm install pcap | |
npm http GET https://registry.npmjs.org/pcap | |
npm http 304 https://registry.npmjs.org/pcap | |
> pcap@0.3.0 install /root/node_modules/pcap | |
> node-waf configure clean build | |
Checking for program g++ or c++ : /opt/local/bin/g++ | |
Checking for program cpp : /opt/local/bin/cpp | |
Checking for program ar : /opt/local/bin/ar | |
Checking for program ranlib : /opt/local/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /opt/local | |
Checking for library pcap : not found | |
/root/node_modules/pcap/wscript:12: error: libpcap C library not found on this system. | |
npm ERR! pcap@0.3.0 install: `node-waf configure clean build` | |
npm ERR! `sh "-c" "node-waf configure clean build"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the pcap@0.3.0 install script. | |
npm ERR! 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-waf configure clean build | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls pcap | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System SunOS 5.11 | |
npm ERR! command "node" "/opt/local/bin/npm" "install" "pcap" | |
npm ERR! cwd /root | |
npm ERR! node -v v0.6.19 | |
npm ERR! npm -v 1.1.24 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message pcap@0.3.0 install: `node-waf configure clean build` | |
npm ERR! message `sh "-c" "node-waf configure clean build"` failed with 1 | |
npm ERR! errno {} | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /root/npm-debug.log | |
npm not ok | |
npm not ok | |
[root@108ac9ba-932c-47e3-b0ae-57ff4b593a46 ~]# pkgin install libpcap | |
calculating dependencies... done. | |
nothing to do. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<57ff4b593a46 ~/node_pcap]# node-waf configure --verbose | |
Checking for program g++ or c++ : /opt/local/bin/g++ | |
Checking for program cpp : /opt/local/bin/cpp | |
Checking for program ar : /opt/local/bin/ar | |
Checking for program ranlib : /opt/local/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /opt/local | |
Checking for library libpcap : 20:48:57 runner system command -> ['/opt/local/bin/g++', '-g', '../test.cpp', '-c', '-o', 'Release/test_1.o'] | |
20:48:57 runner system command -> ['/opt/local/bin/g++', 'Release/test_1.o', '-o', '/root/node_pcap/build/.conf_check_0/testbuild/Release/testprog', '-Wl,-Bdynamic', '-llibpcap'] | |
not found | |
/root/node_pcap/wscript:12: error: libpcap C library not found on this system. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment