vanillahsu/node-memcache — Issue #10: debian issues (waf)
Author: tobsn
Created: 2012-02-23 23:23:24+00:00
State: open

on squeeze

- nodejs-dev doesnt exist but node-waf is already installed (prob. from hand compiling 0.6.11 last night)

- 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 /usr/local/lib/node/
Checking for node prefix : ok /usr/local
Checking for program pkg-config : /usr/bin/pkg-config
'configure' finished successfully (0.388s)

- node-waf:
Waf: Entering directory `/root/node-memcache/build'
[1/2] cxx: src/binding.cc -> build/Release/src/binding_1.o
../src/binding.cc: In static member function ‘static v8::Handle Connection::get(const v8::Arguments&)’:
../src/binding.cc:233: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:233: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/binding.cc: In static member function ‘static v8::Handle Connection::set(const v8::Arguments&)’:
../src/binding.cc:357: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:357: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/binding.cc: In static member function ‘static v8::Handle Connection::incr(const v8::Arguments&)’:
../src/binding.cc:462: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:462: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/binding.cc: In static member function ‘static v8::Handle Connection::cas(const v8::Arguments&)’:
../src/binding.cc:528: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:528: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/binding.cc: In static member function ‘static v8::Handle Connection::remove(const v8::Arguments&)’:
../src/binding.cc:615: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:615: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/binding.cc: In static member function ‘static v8::Handle Connection::flush(const v8::Arguments&)’:
../src/binding.cc:694: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/binding.cc:694: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
Waf: Leaving directory `/root/node-memcache/build'
Build failed: -> task failed (err #1):
{task: cxx binding.cc -> binding_1.o}