Re: installing GeoIP

2012-03-05 Thread Ade Lovett
On 3/5/2012 12:05, Norman Khine wrote: so the problem is not my freebsd box but the package GeoIP that does not buid on my box? as when i do this: $ npm install geoip 'npm' (whatever the hell that is) has precisely nothing to do with FreeBSD ports/ -- go bug the maintainers. [snip] so, w

Re: installing GeoIP

2012-03-05 Thread Norman Khine
so the problem is not my freebsd box but the package GeoIP that does not buid on my box? as when i do this: $ npm install geoip npm WARN node-static@0.5.9 dependencies field should be hash of : pairs npm WARN riak-js@0.4.1 package.json: bugs['web'] should probably be bugs['url'] npm h

Re: installing GeoIP

2012-03-05 Thread Ade Lovett
On 3/5/2012 10:32, Norman Khine wrote: when i run $ /usr/bin/ld -lGeoIP /usr/bin/ld: cannot find -lGeoIP perhaps i have a problem with the settings of my location of the headers in my linker path. how do i verify this? As has already been explained. -I/usr/local/include (to find the header

Re: installing GeoIP

2012-03-05 Thread Norman Khine
when i run $ /usr/bin/ld -lGeoIP /usr/bin/ld: cannot find -lGeoIP perhaps i have a problem with the settings of my location of the headers in my linker path. how do i verify this? or is it a problem with https://github.com/kuno/GeoIP ? On Mon, Mar 5, 2012 at 7:16 PM, Norman Khine wrote: > hi

Re: installing GeoIP

2012-03-05 Thread Norman Khine
hi thank you for this. so in order to build https://github.com/kuno/GeoIP into freebsd, as i get this issue: https://github.com/kuno/GeoIP/issues/33 i am really not sure why that is not working. On Mon, Mar 5, 2012 at 6:51 PM, Mel Flynn wrote: > On 3/5/2012 18:37, Norman Khine wrote: > >> $ g

Re: installing GeoIP

2012-03-05 Thread Mel Flynn
On 3/5/2012 18:37, Norman Khine wrote: > $ gcc -lGeoIP example.c > example.c:1:19: error: GeoIP.h: No such file or directory > what am i missing? Basic compiling flags when working with software that does not install into default search paths: cc -I/usr/local/include -L/usr/local/lib -o example

installing GeoIP

2012-03-05 Thread Norman Khine
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: 'GeoI