chrisa/node-dtrace-provider — Issue #2: node-dtrace doesn't builds - node.h: No such file or directory
Author: brunoqc
Created: 2011-11-14 15:26:27+00:00
State: open

I'm using node 0.6.1

bbigras@ubuntu:~/dtrace/node-dtrace-provider$ node-waf configure
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 /usr
'configure' finished successfully (0.112s)
bbigras@ubuntu:~/dtrace/node-dtrace-provider$ node-waf build
Waf: Entering directory `/home/bbigras/dtrace/node-dtrace-provider/build'
[1/3] cxx: dtrace_provider.cc -> build/Release/dtrace_provider_1.o
[2/3] cxx: dtrace_dof.cc -> build/Release/dtrace_dof_1.o
In file included from ../dtrace_provider.cc:1:
../dtrace_provider.h:1:18: error: node.h: No such file or directory
../dtrace_provider.h:2:30: error: node_object_wrap.h: No such file or directory
../dtrace_provider.h:3:16: error: v8.h: No such file or directory
In file included from ../dtrace_dof.cc:1:
../dtrace_provider.h:1:18: error: node.h: No such file or directory
../dtrace_provider.h:2:30: error: node_object_wrap.h: No such file or directory
../dtrace_provider.h:3:16: error: v8.h: No such file or directory
Waf: Leaving directory `/home/bbigras/dtrace/node-dtrace-provider/build'
Build failed:
-> task failed (err #1):
{task: cxx dtrace_provider.cc -> dtrace_provider_1.o}
-> task failed (err #1):
{task: cxx dtrace_dof.cc -> dtrace_dof_1.o}