installing GeoIP
Norman Khine
norman at khine.net
Mon Mar 5 17:37:21 UTC 2012
Hello,
I have installed the GeoIP port from ports/net/GeoIP/, using:
# make all install clean
but when i run the example from the website, i get this error:
$ gcc -lGeoIP example.c
example.c:1:19: error: GeoIP.h: No such file or directory
example.c: In function 'main':
example.c:3: error: 'GeoIP' undeclared (first use in this function)
example.c:3: error: (Each undeclared identifier is reported only once
example.c:3: error: for each function it appears in.)
example.c:3: error: 'gi' undeclared (first use in this function)
example.c:4: error: 'GEOIP_STANDARD' undeclared (first use in this function)
example.c:5: warning: incompatible implicit declaration of built-in
function 'printf'
what am i missing?
thanks
--
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
More information about the freebsd-ports
mailing list