Closed yojimbo87 closed 13 years ago
You need install geoip c library first through either the package manager of your system or building by yourself:
wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.7.tar.gz tar -xvzf GeoIP-1.4.7.tar.gz cd GeoIP-1.4.7 ./configure --prefix=/usr make sudo make install
First I tried to install geoip-bin and geoip-database packages using apt-get in Ubuntu, but it seems that it works only if I build it myself from source as you suggested. Thanks for help.
I am having the same problem even after installing the geoip c library first (I did it by building it myself via the steps suggested by kuno above).
And then I get:
npm install geoip
npm ERR! failed to fetch https://registry.npmjs.org/geoip/-/geoip-0.4.3.tgz
npm ERR! Error: 404 { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
npm ERR! date: 'Wed, 03 Aug 2011 17:14:25 GMT',
npm ERR! 'content-type': 'text/plain;charset=utf-8',
npm ERR! 'content-length': '64',
npm ERR! 'cache-control': 'must-revalidate' }
npm ERR! at ClientRequest.
Any other ideas on what I can try? Thanks!
-Hugh
When I try to install geoip module with
npm install geoip
I get this:When I try to install previous version through
npm install geoip@0.4.1
I get this:Am I doing something wrong or the problem is in the npm module?