c4milo/node-inotify — Issue #23: build fail under osx 10.7 node 0.6.10
Author: sjerrys
Created: 2012-02-08 10:57:23+00:00
State: open

Here is the config.log:

# project node-inotify (0.2.2) configured on Wed Feb 8 18:32:43 2012 by
# waf 1.5.16 (abi 7, python 20701f0 on darwin)
# using /usr/local/bin/node-waf configure build
#

----------------------------------------
Checking for program g++ or c++
find program=['g++', 'c++'] paths=[] var='CXX'
-> '/usr/bin/g++'

----------------------------------------
Checking for program cpp
find program=['cpp'] paths=[] var='CPP'
-> '/usr/bin/cpp'

----------------------------------------
Checking for program ar
find program=['ar'] paths=[] var='AR'
-> '/usr/bin/ar'

----------------------------------------
Checking for program ranlib
find program=['ranlib'] paths=[] var='RANLIB'
-> '/usr/bin/ranlib'

----------------------------------------
Checking for g++
ok

----------------------------------------
Checking for node path
not found

----------------------------------------
Checking for node prefix
ok /usr/local

----------------------------------------
Checking for program node
find program=['node'] paths=[] var='NODE'
-> '/usr/local/bin/node'

----------------------------------------
Checking for function inotify_init
==>
#include

int main() {
void *p;
p=(void*)(inotify_init);
return 0;
}

<==
[1/2] [32mcxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/Release/test_1.o
[0m../test.cpp:1:25: error: sys/inotify.h: No such file or directory
../test.cpp: In function ‘int main()’:
../test.cpp:5: error: ‘inotify_init’ was not declared in this scope
['/usr/bin/g++', '-g', '../test.cpp', '-c', '-o', 'Release/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx test.cpp -> test_1.o}'not found