Created
May 20, 2011 15:05
-
-
Save Wizek/983102 to your computer and use it in GitHub Desktop.
err
This file contains hidden or 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
$ npm install -g dev | |
> [email protected] install /home/Wizek/local/node-0.4.7/lib/node_modules/dev/node_modules/inotify | |
> node-waf configure build | |
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /home/Wizek/local/node-0.4.7 | |
Checking for program node : /home/Wizek/local/node-0.4.7/bin/node | |
Checking for function inotify_init : not found | |
'configure' finished successfully (0.478s) | |
Waf: Entering directory `/home/Wizek/local/node-0.4.7/lib/node_modules/dev/node_modules/inotify/buil | |
d' | |
[1/3] cxx: src/bindings.cc -> build/default/src/bindings_1.o | |
[2/3] cxx: src/node_inotify.cc -> build/default/src/node_inotify_1.o | |
In file included from ../src/bindings.h:4, | |
from ../src/bindings.cc:2: | |
../src/node_inotify.h:7:25: sys/inotify.h: No such file or directory | |
In file included from ../src/bindings.h:4, | |
from ../src/node_inotify.cc:2: | |
../src/node_inotify.h:7:25: sys/inotify.h: No such file or directory | |
../src/bindings.cc: In static member function `static void NodeInotify::Inotify::Initialize(v8::Hand | |
le<v8::Object>)': | |
../src/bindings.cc:34: error: `IN_ACCESS' undeclared (first use this function) | |
../src/bindings.cc:34: error: (Each undeclared identifier is reported only once for each function it | |
appears in.) | |
../src/bindings.cc:35: error: `IN_ATTRIB' undeclared (first use this function) | |
../src/bindings.cc:38: error: `IN_CLOSE_WRITE' undeclared (first use this function) | |
../src/bindings.cc:39: error: `IN_CLOSE_NOWRITE' undeclared (first use this function) | |
../src/bindings.cc:40: error: `IN_CREATE' undeclared (first use this function) | |
../src/bindings.cc:41: error: `IN_DELETE' undeclared (first use this function) | |
../src/bindings.cc:42: error: `IN_DELETE_SELF' undeclared (first use this function) | |
../src/bindings.cc:43: error: `IN_MODIFY' undeclared (first use this function) | |
../src/bindings.cc:44: error: `IN_MOVE_SELF' undeclared (first use this function) | |
../src/bindings.cc:45: error: `IN_MOVED_FROM' undeclared (first use this function) | |
../src/bindings.cc:46: error: `IN_MOVED_TO' undeclared (first use this function) | |
../src/bindings.cc:47: error: `IN_OPEN' undeclared (first use this function) | |
../src/bindings.cc:48: error: `IN_IGNORED' undeclared (first use this function) | |
../src/bindings.cc:51: error: `IN_ISDIR' undeclared (first use this function) | |
../src/bindings.cc:52: error: `IN_Q_OVERFLOW' undeclared (first use this function) | |
../src/bindings.cc:53: error: `IN_UNMOUNT' undeclared (first use this function) | |
../src/bindings.cc:54: error: `IN_ALL_EVENTS' undeclared (first use this function) | |
../src/bindings.cc:56: error: `IN_ONLYDIR' undeclared (first use this function) | |
../src/bindings.cc:57: error: `IN_DONT_FOLLOW' undeclared (first use this function) | |
../src/bindings.cc:58: error: `IN_ONESHOT' undeclared (first use this function) | |
../src/bindings.cc:59: error: `IN_MASK_ADD' undeclared (first use this function) | |
../src/bindings.cc:62: error: `IN_CLOSE' undeclared (first use this function) | |
../src/bindings.cc:63: error: `IN_MOVE' undeclared (first use this function) | |
../src/bindings.cc: In static member function `static v8::Handle<v8::Value> NodeInotify::Inotify::Ne | |
w(const v8::Arguments&)': | |
../src/bindings.cc:113: error: `IN_NONBLOCK' undeclared (first use this function) | |
../src/bindings.cc:113: error: `IN_CLOEXEC' undeclared (first use this function) | |
../src/bindings.cc:113: error: `inotify_init1' undeclared (first use this function) | |
../src/bindings.cc: In static member function `static v8::Handle<v8::Value> NodeInotify::Inotify::Ad | |
dWatch(const v8::Arguments&)': | |
../src/bindings.cc:162: error: `IN_ALL_EVENTS' undeclared (first use this function) | |
../src/bindings.cc:180: error: `inotify_add_watch' undeclared (first use this function) | |
../src/bindings.cc: In static member function `static v8::Handle<v8::Value> NodeInotify::Inotify::Re | |
moveWatch(const v8::Arguments&)': | |
../src/bindings.cc:203: error: `inotify_rm_watch' undeclared (first use this function) | |
../src/bindings.cc: In static member function `static void NodeInotify::Inotify::Callback(ev_io*, in | |
t)': | |
../src/bindings.cc:245: error: invalid application of `sizeof' to incomplete type `NodeInotify::inot | |
ify_event' | |
../src/bindings.cc:247: error: invalid application of `sizeof' to incomplete type `NodeInotify::inot | |
ify_event' | |
../src/bindings.cc:258: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:259: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:260: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:262: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:263: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:268: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:274: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:274: error: `IN_IGNORED' undeclared (first use this function) | |
../src/bindings.cc:276: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
../src/bindings.cc:284: error: invalid application of `sizeof' to incomplete type `NodeInotify::inot | |
ify_event' | |
../src/bindings.cc:284: error: invalid use of undefined type `struct NodeInotify::inotify_event' | |
../src/bindings.cc:245: error: forward declaration of `struct NodeInotify::inotify_event' | |
Waf: Leaving directory `/home/Wizek/local/node-0.4.7/lib/node_modules/dev/node_modules/inotify/build | |
' | |
Build failed: | |
-> task failed (err #1): | |
{task: cxx node_inotify.cc -> node_inotify_1.o} | |
-> task failed (err #1): | |
{task: cxx bindings.cc -> bindings_1.o} | |
npm ERR! error installing [email protected] Error: [email protected] install: `node-waf configure build` | |
npm ERR! error installing [email protected] `sh "-c" "node-waf configure build"` failed with 1 | |
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/local/lib/node_modules | |
/npm/lib/utils/exec.js:49:20) | |
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12) | |
npm ERR! error installing [email protected] Error: [email protected] install: `node-waf configure build` | |
npm ERR! error installing [email protected] `sh "-c" "node-waf configure build"` failed with 1 | |
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm | |
/lib/utils/exec.js:49:20) | |
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12) | |
npm ERR! [email protected] install: `node-waf configure build` | |
npm ERR! `sh "-c" "node-waf configure build"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] install script. | |
npm ERR! This is most likely a problem with the inotify package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-waf configure build | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls inotify | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System CYGWIN_NT-6.1-WOW64 1.7.9(0.237/5/3) | |
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "dev" | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /home/Wizek/wac/HumaniaServer/npm-debug.log | |
npm not ok |
hum, it seems that you are using CYGWIN. You can't use node-inotify there. Sorry. http://cygwin.com/ml/cygwin/2007-03/msg00786.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
c4milo/node-inotify#11 (comment)