Closed dip00dip closed 13 years ago
This problem was caused by the change of api from node 0.4.x to 0.6. I just fixed it in the master branch, you can give it a try. But this only works with node >= 0.5.0. So it won't be released until node 0.6 is out.
Still have the same installation issue. Are you use this is fixed?
CentOS release 5.7 (Final)
$ npm -v 1.0.106
$ node -v v0.6.5
$ yum info GeoIP Loaded plugins: fastestmirror, priorities Installed Packages Name : GeoIP Arch : i386 Version : 1.4.8 Release : 1.el5 ...
-------------- Error -------------
Build failed:
-> task failed (err #1):
{task: cxx init.cc -> init_1.o}
-> task failed (err #1):
{task: cxx country6.cc -> country6_1.o}
-> task failed (err #1):
{task: cxx country.cc -> country_1.o}
-> task failed (err #1):
{task: cxx netspeed.cc -> netspeed_1.o}
npm ERR! geoip@0.4.5 preinstall: node-waf clean || true; node-waf configure build
npm ERR! sh "-c" "node-waf clean || true; node-waf configure build"
failed with 1
npm ERR!
npm ERR! Failed at the geoip@0.4.5 preinstall script.
I guess you don't have headers files installed on your system. Try this:
yum install GeoIP-devel
Success! Thanks for the quick reply.
On Fri, Dec 9, 2011 at 8:42 PM, kuno < reply@reply.github.com
wrote:
I guess you don't have headers files installed on your system. Try this:
yum install GeoIP-devel
Reply to this email directly or view it on GitHub: https://github.com/kuno/GeoIP/issues/22#issuecomment-3088576
I'm getting the same error on Debian. Did a apt-get install libgeoip-devel...Node 0.6.9
node -v v0.5.10-pre npm -v 1.0.99