kuno/GeoIP — Issue #28: npm install fails on 0.6.7
Author: rschiavi
Created: 2012-01-17 23:02:15+00:00
State: open

Tried both:

% npm install geoip

and

% npm install https://github.com/kuno/geoip/tarball/master

Both failing on OSX, with this (compiled and successfully installed maxmind tools again )...

[ 1/11] cxx: src/init.cc -> build/Release/src/init_1.o
[ 2/11] cxx: src/netspeed.cc -> build/Release/src/netspeed_1.o
[ 3/11] cxx: src/country6.cc -> build/Release/src/country6_1.o
[ 4/11] cxx: src/country.cc -> build/Release/src/country_1.o
[ 5/11] cxx: src/region.cc -> build/Release/src/region_1.o
[ 6/11] cxx: src/city6.cc -> build/Release/src/city6_1.o
[ 7/11] cxx: src/city.cc -> build/Release/src/city_1.o
../src/city6.cc: In static member function ‘static v8::Handle geoip::City6::New(const v8::Arguments&)’:
../src/city6.cc:55: error: ‘GEOIP_CITY_EDITION_REV0_V6’ was not declared in this scope
../src/city6.cc:56: error: ‘GEOIP_CITY_EDITION_REV1_V6’ was not declared in this scope
../src/city6.cc: In static member function ‘static v8::Handle geoip::City6::update(const v8::Arguments&)’:
../src/city6.cc:274: error: ‘GEOIP_CITY_EDITION_REV0_V6’ was not declared in this scope
../src/city6.cc:275: error: ‘GEOIP_CITY_EDITION_REV1_V6’ was not declared in this scope