bnoordhuis/node-profiler — Issue #1: cannot build
Author: dodo
Created: 2011-11-03 21:48:37+00:00
State: open

what am i doing wrong? :(

```
master//node-profiler » npm i .

> profiler@1.0.1 preinstall /home/dodo/code/javascript/libs/node-profiler
> 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 : ok /home/dodo/.node_libraries
Checking for node prefix : ok /usr
'configure' finished successfully (0.052s)

> profiler@1.0.1 install /home/dodo/code/javascript/libs/node-profiler
> node-waf build install

Waf: Entering directory `/home/dodo/code/javascript/libs/node-profiler/build'
[1/2] cxx: profiler.cc -> build/default/profiler_1.o
../profiler.cc: In function ‘v8::Handle {anonymous}::Resume(const v8::Arguments&)’:
../profiler.cc:29:3: error: ‘ResumeProfilerEx’ is not a member of ‘v8::V8’
../profiler.cc: In function ‘v8::Handle {anonymous}::Pause(const v8::Arguments&)’:
../profiler.cc:36:3: error: ‘PauseProfilerEx’ is not a member of ‘v8::V8’
../profiler.cc: In function ‘void {anonymous}::init(v8::Handle)’:
../profiler.cc:59:48: error: ‘PROFILER_MODULE_CPU’ was not declared in this scope
../profiler.cc:60:55: error: ‘PROFILER_MODULE_HEAP_STATS’ was not declared in this scope
../profiler.cc:61:58: error: ‘PROFILER_MODULE_HEAP_SNAPSHOT’ was not declared in this scope
../profiler.cc:62:60: error: ‘PROFILER_MODULE_JS_CONSTRUCTORS’ was not declared in this scope
Waf: Leaving directory `/home/dodo/code/javascript/libs/node-profiler/build'
Build failed: -> task failed (err #1):
{task: cxx profiler.cc -> profiler_1.o}
npm ERR! profiler@1.0.1 install: `node-waf build install`
npm ERR! `sh "-c" "node-waf build install"` failed with 1
npm ERR!
npm ERR! Failed at the profiler@1.0.1 install script.
npm ERR! This is most likely a problem with the profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf build install
npm ERR! You can get their info via:
npm ERR! npm owner ls profiler
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-2-amd64
npm ERR! command "node" "/home/dodo/local/bin/npm" "i" "."
npm ERR! cwd /home/dodo/code/javascript/libs/node-profiler
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.101
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/dodo/code/javascript/libs/node-profiler/npm-debug.log
npm not ok
```