kuno/GeoIP — Issue #22: Error installing using npm
Author: dip00dip
Created: 2011-10-16 15:33:24+00:00
State: open

node -v v0.5.10-pre
npm -v 1.0.99

../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::lookup(const v8::Arguments&)’:
../src/netspeed.cc:116: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/netspeed.cc:116: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/country.cc: In static member function ‘static v8::Handle geoip::Country::lookup(const v8::Arguments&)’:
../src/country.cc:112: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/country.cc:112: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::lookup(const v8::Arguments&)’:
../src/country6.cc:122: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/country6.cc:122: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
[ 5/11] cxx: src/region.cc -> build/Release/src/region_1.o
../src/region.cc: In static member function ‘static v8::Handle geoip::Region::lookup(const v8::Arguments&)’:
../src/region.cc:114: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/region.cc:114: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
Waf: Leaving directory `/var/www/hummingbird/node_modules/geoip/build'
Build failed:
-> task failed (err #1):
{task: cxx netspeed.cc -> netspeed_1.o}
-> task failed (err #1):
{task: cxx country.cc -> country_1.o}
-> task failed (err #1):
{task: cxx country6.cc -> country6_1.o}
-> task failed (err #1):
{task: cxx region.cc -> region_1.o}
npm ERR! error installing geoip@0.4.4 Error: geoip@0.4.4 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing geoip@0.4.4 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing geoip@0.4.4 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing geoip@0.4.4 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing geoip@0.4.4 at maybeExit (child_process.js:336:16)
npm ERR! error installing geoip@0.4.4 at Process.onexit (child_process.js:371:5)
npm ERR! geoip@0.4.4 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1