geoip-ruby Mailing List for MaxMind GeoIP
Brought to you by:
tjmather
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|
From: Matt W. <mat...@fa...> - 2006-10-19 22:59:28
|
Hi people, I'm relatively new to unix/osx/ruby so be gentle if you can...! When I run ruby extconf.rb to try and install net-geoip-0.06 I keep getting the error 'extconf failure: need libiconv.' I'm pretty stuck with this. I have un-installed ruby and libiconv then reinstalled, all using DarwinPorts. If I run port installed i see the following: Vigor10:~/Documents/Downloads/net-geoip-0.06 matt$ port installed The following ports are currently installed: libiconv @1.11_0+darwin_8 (active) openssl @0.9.8b_0+darwin_8 (active) readline @5.1.004_0 (active) ruby @1.8.5_0 (active) sqlite2 @2.8.17_0+darwin_8 (active) sqlite3 @3.3.7_0+darwin_8 (active) swig @1.3.29_0+darwin_8 (active) zlib @1.2.3_0 (active) So that looks OK, right? In irb, if I require('mkmf') first, I can call have_library ('iconv','libiconv') and return true, but the line that fails in extconf.rb is looking for a function 'iconv_open', and indeed if i call find_library('iconv','iconv_open') in that same irb session, I get back false. I appreciate that this maybe isn't the right place to ask this question as it's not directly related to the net-geo library, but I'm hoping someone using the net-geoip library may have already hit this and know what to do. thanks in advance for any pointers, Matt |