freebsd 9.0 install fails #42

Closed
nkhine opened this Issue Aug 15, 2012 · 6 comments

Comments

Projects
None yet
2 participants

nkhine commented Aug 15, 2012

hello,

i have node v0.8.4 and npm v1.1.45 and my package.json is like:

cat package.json
{
"author": "Norman Khine norman@khine.net (http://khine.net)",
"name": "parallax",
"description": "Node.js application for the ZMGC project used to handle all 'realtime' events. The event is in my eye, but I am also the event!",
"version": "0.0.1-1",
"homepage": "http://parallax.zmgc.net",
"repository": {
"type": "git",
"url": "git://github.com/nkhine/parallax.git"
},
"subdomain": "parallax",
"engines": {
"node": " >=0.8.0"
},
"scripts": {
"start": "server.js"
},
"dependencies": {
"d3": ">=2.9.2",
"now": ">=0.8.0",
"node-static": "0.5.9",
"geoip": "0.4.6",
"validator": ">=0.3.9"
},
"devDependencies": {},
"optionalDependencies": {}
}

when i run:

$ npm install geoip, i get this:

npm install geoip
npm http GET https://registry.npmjs.org/geoip/0.4.6
npm http 304 https://registry.npmjs.org/geoip/0.4.6
npm WARN package.json geoip@0.4.6 No README.md file found!

> geoip@0.4.6 install /home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip
> node-gyp rebuild

gyp http GET http://nodejs.org/dist/v0.8.4/node-v0.8.4.tar.gz
gyp http 200 http://nodejs.org/dist/v0.8.4/node-v0.8.4.tar.gz
gmake: Entering directory `/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip/build'
  CXX(target) Release/obj.target/geoip/src/global.o
  CXX(target) Release/obj.target/geoip/src/init.o
In file included from ../src/netspeed.h:12,
                 from ../src/init.cc:7:
../src/node_geoip.h:7:19: warning: GeoIP.h: No such file or directory
../src/node_geoip.h:8:23: warning: GeoIPCity.h: No such file or directory
In file included from ../src/netspeed.h:12,
                 from ../src/init.cc:7:
../src/node_geoip.h:20: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:21: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:23: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:24: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:25: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:27: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:28: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:29: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:31: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:32: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:38: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:39: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:40: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:41: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:42: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:43: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:44: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:45: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:46: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:47: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:48: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:49: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:50: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:51: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:52: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:55: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:56: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:57: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:59: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:60: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:61: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:62: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:63: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:64: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:67: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:68: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:69: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:73: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:74: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:75: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:77: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:78: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:79: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:81: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:82: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:83: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:85: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:86: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:87: error: 'GEOIP_API' does not name a type
../src/node_geoip.h:90: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:92: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:94: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:97: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:98: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:99: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:101: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:102: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:103: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:106: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:109: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:112: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:115: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:118: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:121: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:124: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:126: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:127: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:129: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:130: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:131: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:132: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:134: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:135: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:136: error: expected constructor, destructor, or type conversion before 'void'
../src/node_geoip.h:139: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:142: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:145: error: expected constructor, destructor, or type conversion before 'unsigned'
../src/node_geoip.h:146: error: expected constructor, destructor, or type conversion before 'char'
../src/node_geoip.h:153: error: expected constructor, destructor, or type conversion before 'int'
../src/node_geoip.h:156: error: expected constructor, destructor, or type conversion before 'const'
../src/node_geoip.h:160: error: expected constructor, destructor, or type conversion before '*' token
../src/node_geoip.h:161: error: expected constructor, destructor, or type conversion before '*' token
../src/node_geoip.h:163: error: expected constructor, destructor, or type conversion before '*' token
In file included from ../src/init.cc:7:
../src/netspeed.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/netspeed.h:21: error: expected ';' before '*' token
In file included from ../src/init.cc:8:
../src/country6.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/country6.h:21: error: expected ';' before '*' token
../src/country6.h:49: error: 'geoipv6_t' does not name a type
In file included from ../src/init.cc:9:
../src/country.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/country.h:21: error: expected ';' before '*' token
In file included from ../src/init.cc:10:
../src/region.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/region.h:21: error: expected ';' before '*' token
../src/region.h:49: error: ISO C++ forbids declaration of 'GeoIPRegion' with no type
../src/region.h:49: error: expected ';' before '*' token
In file included from ../src/init.cc:11:
../src/city6.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/city6.h:21: error: expected ';' before '*' token
../src/city6.h:50: error: ISO C++ forbids declaration of 'GeoIPRecord' with no type
../src/city6.h:50: error: expected ';' before '*' token
../src/city6.h:51: error: 'geoipv6_t' does not name a type
In file included from ../src/init.cc:12:
../src/city.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/city.h:21: error: expected ';' before '*' token
../src/city.h:50: error: ISO C++ forbids declaration of 'GeoIPRecord' with no type
../src/city.h:50: error: expected ';' before '*' token
In file included from ../src/init.cc:13:
../src/org.h:21: error: ISO C++ forbids declaration of 'GeoIP' with no type
../src/org.h:21: error: expected ';' before '*' token
../src/init.cc: In function 'void init(v8::Handle<v8::Object>)':
../src/init.cc:34: error: 'GeoIP_lib_version' was not declared in this scope
gmake: *** [Release/obj.target/geoip/src/init.o] Error 1
gmake: Leaving directory `/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:215:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System FreeBSD 9.0-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip
gyp ERR! node -v v0.8.4
gyp ERR! node-gyp -v v0.6.1
gyp ERR! not ok 
npm ERR! geoip@0.4.6 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! 
npm ERR! Failed at the geoip@0.4.6 install 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-gyp rebuild
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! System FreeBSD 9.0-RELEASE
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "geoip"
npm ERR! cwd /home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node
npm ERR! node -v v0.8.4
npm ERR! npm -v 1.1.45
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/npm-debug.log
npm ERR! not ok code 0
Owner

kuno commented Aug 15, 2012

It seems there are no libgeoip c lib on you system.
I dont know freebsd, but if you cant not install libgeoip by your package manager, probably you need build by your self.

See detials in here

nkhine commented Aug 15, 2012

hi,
i have libgeoip c

pkg_version -v

GeoIP-1.4.8_2 = up-to-date with port

as i had a running version of this node package running before but wanted to have the same on both my mac and the server (which is running freebsd)

also, i just tried running the geoip-static on the server and this worked

here is the output

[khine@ns230183:~/tmp] npm install geoip-static
npm http GET https://registry.npmjs.org/geoip-static
npm http 304 https://registry.npmjs.org/geoip-static
npm WARN package.json geoip-static@0.4.6 No README.md file found!

> geoip-static@0.4.6 install /home/khine/tmp/node_modules/geoip-static
> node-waf clean ; node-waf configure build

'clean' finished successfully (0.012s)
Checking for program g++ or c++          : /usr/bin/g++ 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/local/bin/ar 
Checking for program ranlib              : /usr/local/bin/ranlib 
Checking for g++                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local 
configuring internal geoip dep 
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking build system type... x86_64-unknown-freebsd9.0
checking host system type... x86_64-unknown-freebsd9.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for byte... no
checking for ushort... yes
checking for ulong... no
checking for u16... no
checking for u32... no
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gettimeofday... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating GeoIP.spec
config.status: creating libGeoIP/Makefile
config.status: creating apps/Makefile
config.status: creating conf/Makefile
config.status: creating data/Makefile
config.status: creating man/Makefile
config.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
'configure' finished successfully (2.648s)
Waf: Entering directory `/home/khine/tmp/node_modules/geoip-static/build'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/missing --run aclocal-1.11 
/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/missing: aclocal-1.11: not found
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/missing --run automake-1.11 --gnu
/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/missing: automake-1.11: not found
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/missing --run autoconf
aclocal.m4:16: warning: this file was generated for autoconf 2.65.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.in:11: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5268: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.in:11: the top level
configure.in:11: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5268: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.in:11: the top level
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --disable-dependency-tracking --enable-static --disable-shared CFLAGS= -fPIC -O3 -DNDEBUG -Wall --no-create --no-recursion
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking build system type... x86_64-unknown-freebsd9.0
checking host system type... x86_64-unknown-freebsd9.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for byte... no
checking for ushort... yes
checking for ulong... no
checking for u16... no
checking for u32... no
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gettimeofday... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating GeoIP.spec
config.status: creating libGeoIP/Makefile
config.status: creating apps/Makefile
config.status: creating conf/Makefile
config.status: creating data/Makefile
config.status: creating man/Makefile
config.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in libGeoIP
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o GeoIP.lo GeoIP.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c GeoIP.c -o GeoIP.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o GeoIPCity.lo GeoIPCity.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c GeoIPCity.c -o GeoIPCity.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o regionName.lo regionName.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c regionName.c -o regionName.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o timeZone.lo timeZone.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c timeZone.c -o timeZone.o
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall -version-info 5:8:4  -o libGeoIP.la -rpath /usr/local/lib GeoIP.lo GeoIPCity.lo regionName.lo timeZone.lo  
libtool: link: ar cru .libs/libGeoIP.a  GeoIP.o GeoIPCity.o regionName.o timeZone.o
libtool: link: ranlib .libs/libGeoIP.a
libtool: link: ( cd ".libs" && rm -f "libGeoIP.la" && ln -s "../libGeoIP.la" "libGeoIP.la" )
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o GeoIPUpdate.lo GeoIPUpdate.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c GeoIPUpdate.c -o GeoIPUpdate.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I.  -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c -o md5.lo md5.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" "-DPACKAGE_STRING=\"GeoIP 1.4.8\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -fPIC -O3 -DNDEBUG -Wall -c md5.c -o md5.o
md5.c:324: warning: 'md5_read' defined but not used
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o libGeoIPUpdate.la -rpath /usr/local/lib GeoIPUpdate.lo md5.lo -lz libGeoIP.la 
libtool: link: ar cru .libs/libGeoIPUpdate.a  GeoIPUpdate.o md5.o
libtool: link: ranlib .libs/libGeoIPUpdate.a
libtool: link: ( cd ".libs" && rm -f "libGeoIPUpdate.la" && ln -s "../libGeoIPUpdate.la" "libGeoIPUpdate.la" )
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP'
Making all in apps
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/apps'
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSYSCONFDIR=\"/usr/local/etc\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c geoiplookup.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o geoiplookup geoiplookup.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o geoiplookup geoiplookup.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSYSCONFDIR=\"/usr/local/etc\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c geoiplookup6.c
geoiplookup6.c: In function 'geoiplookup':
geoiplookup6.c:125: warning: unused variable 'org'
geoiplookup6.c:123: warning: unused variable 'region'
geoiplookup6.c:121: warning: unused variable 'netspeed'
geoiplookup6.c:119: warning: unused variable 'domain_name'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o geoiplookup6 geoiplookup6.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o geoiplookup6 geoiplookup6.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSYSCONFDIR=\"/usr/local/etc\" -Wall   -fPIC -O3 -DNDEBUG -Wall -c geoipupdate.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o geoipupdate geoipupdate.o ../libGeoIP/libGeoIPUpdate.la ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o geoipupdate geoipupdate.o  ../libGeoIP/.libs/libGeoIPUpdate.a -lz /home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/.libs/libGeoIP.a ../libGeoIP/.libs/libGeoIP.a
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/apps'
Making all in conf
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/conf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/conf'
Making all in data
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/data'
Making all in test
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/test'
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c benchmark.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o benchmark benchmark.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o benchmark benchmark.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-region.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-region test-geoip-region.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-region test-geoip-region.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-city.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-city test-geoip-city.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-city test-geoip-city.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-org.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-org test-geoip-org.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-org test-geoip-org.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-asnum.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-asnum test-geoip-asnum.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-asnum test-geoip-asnum.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-isp.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-isp test-geoip-isp.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-isp test-geoip-isp.o  ../libGeoIP/.libs/libGeoIP.a
gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.4.8\" -DPACKAGE_STRING=\"GeoIP\ 1.4.8\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.4.8\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_USHORT_TYPEDEF=1 -DLITTLE_ENDIAN_HOST=1 -DHAVE_STDINT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../libGeoIP -Wall -DSRCDIR=\"..\"   -fPIC -O3 -DNDEBUG -Wall -c test-geoip-netspeed.c
/bin/sh ../libtool --tag=CC   --mode=link gcc  -fPIC -O3 -DNDEBUG -Wall   -o test-geoip-netspeed test-geoip-netspeed.o ../libGeoIP/libGeoIP.la 
libtool: link: gcc -fPIC -O3 -DNDEBUG -Wall -o test-geoip-netspeed test-geoip-netspeed.o  ../libGeoIP/.libs/libGeoIP.a
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/test'
Making all in man
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/man'
rm -f geoipupdate.1 geoipupdate.1.tmp
sed -e 's|DATADIR|/usr/local/share/GeoIP|g' -e 's|CONF_DIR|/usr/local/etc|g' './geoipupdate.1.in' >geoipupdate.1.tmp
mv geoipupdate.1.tmp geoipupdate.1
rm -f geoiplookup6.1 geoiplookup6.1.tmp
sed -e 's|DATADIR|/usr/local/share/GeoIP|g' -e 's|CONF_DIR|/usr/local/etc|g' './geoiplookup6.1.in' >geoiplookup6.1.tmp
mv geoiplookup6.1.tmp geoiplookup6.1
rm -f geoiplookup.1 geoiplookup.1.tmp
sed -e 's|DATADIR|/usr/local/share/GeoIP|g' -e 's|CONF_DIR|/usr/local/etc|g' './geoiplookup.1.in' >geoiplookup.1.tmp
mv geoiplookup.1.tmp geoiplookup.1
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8/man'
make[1]: Entering directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/khine/tmp/node_modules/geoip-static/deps/GeoIP-1.4.8'
[ 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
[ 8/11] cxx: src/org.cc -> build/Release/src/org_1.o
[ 9/11] cxx: src/utils.cc -> build/Release/src/utils_1.o
[10/11] cxx: src/global.cc -> build/Release/src/global_1.o
[11/11] cxx_link: build/Release/src/init_1.o build/Release/src/netspeed_1.o build/Release/src/country6_1.o build/Release/src/country_1.o build/Release/src/region_1.o build/Release/src/city6_1.o build/Release/src/city_1.o build/Release/src/org_1.o build/Release/src/utils_1.o build/Release/src/global_1.o -> build/Release/geoip.node
Waf: Leaving directory `/home/khine/tmp/node_modules/geoip-static/build'
'build' finished successfully (8.940s)
geoip-static@0.4.6 node_modules/geoip-static
Owner

kuno commented Aug 15, 2012

some version of bsd and some distribution of linux separated the geoip two packages, and naming theme differently, eg. 'geoip' for command line tools, such as geoiplookup, geoiplookup6, geoipupdate, 'libgeoip/geoip-dev' for c library.

Here we need c library, so we can compile our node module. Please make sure there are three c header files GeoIP.h, GeoIPCity.h and GeoIPUpdate.h in you system.

nkhine commented Aug 16, 2012

these files are on my system

$ locate GeoIPUpdate.h GeoIP.h GeoIP.h
/home/khine/sandboxes/zeitgeist/livestats/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIPUpdate.h
/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIPUpdate.h
/usr/local/include/GeoIPUpdate.h
/home/khine/sandboxes/zeitgeist/livestats/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIP.h
/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIP.h
/usr/local/include/GeoIP.h
/home/khine/sandboxes/zeitgeist/livestats/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIP.h
/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/node_modules/geoip-static/deps/GeoIP-1.4.8/libGeoIP/GeoIP.h
/usr/local/include/GeoIP.h

nkhine commented Sep 10, 2012

any update on this?

Owner

kuno commented Sep 11, 2012

If you actually with geoip installed on your system, then this probably is a node-gyp problem, it failed to found the header files in system wild range.

I found a work around maybe useful for you, copy the GeoIP*.h header files (mostly in /usr/include or /usr/local/include folder) into ~/.node-gyp/x.x.x/src (replace x.x.x with your node version) folder.

This would allow node-gyp to found these header fies that building geoip needs.

@kuno kuno closed this Mar 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment