kuno / GeoIP

GeoIP binding for nodejs(>=0.10) and iojs
GNU Lesser General Public License v2.1
414 stars 129 forks source link

Could not install #12

Closed alessioalex closed 13 years ago

alessioalex commented 13 years ago

Nothing to clean (project not configured) 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 : not found Checking for node prefix : ok /usr/local 'configure' finished successfully (0.047s) Waf: Entering directory /home/alessio/Desktop/www/node_modules/geoip/build' [1/9] cxx: src/init.cc -> build/default/src/init_1.o [2/9] cxx: src/netspeed.cc -> build/default/src/netspeed_1.o In file included from ../src/netspeed.h:12:0, from ../src/netspeed.cc:7: ../src/node_geoip.h:7:19: fatal error: GeoIP.h: No such file or directory compilation terminated. In file included from ../src/netspeed.h:12:0, from ../src/init.cc:7: ../src/node_geoip.h:7:19: fatal error: GeoIP.h: No such file or directory compilation terminated. Waf: Leaving directory/home/alessio/Desktop/www/node_modules/geoip/build' Build failed: -> task failed (err #1): {task: cxx netspeed.cc -> netspeed_1.o} -> task failed (err #1): {task: cxx init.cc -> init_1.o} npm ERR! error installing geoip@0.4.1 Error: geoip@0.4.1 preinstall: node-waf clean || true; node-waf configure build npm ERR! error installing geoip@0.4.1 sh "-c" "node-waf clean || true; node-waf configure build" failed with 1 npm ERR! error installing geoip@0.4.1 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20) npm ERR! error installing geoip@0.4.1 at ChildProcess.emit (events.js:67:17) npm ERR! error installing geoip@0.4.1 at ChildProcess.onexit (child_process.js:192:12) npm ERR! geoip@0.4.1 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.1 preinstall script. npm ERR! This is most likely a problem with the geoip package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-waf clean || true; node-waf configure build npm ERR! You can get their info via: npm ERR! npm owner ls geoip npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Linux 2.6.38-8-generic npm ERR! command "node" "/usr/local/bin/npm" "install" "geoip" npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/alessio/Desktop/www/npm-debug.log npm not ok

I have followed the instruction for the module (installed the GeoIP c package), but the install of the module just fails. Can you help please?

alessioalex commented 13 years ago

Oh sorry it seems the GeoIP c package didn't install properly the first time.

All ok