You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tryba damn, I don’t remember what actual parameters I was passing and if they mattered of if i was having the crash on any encode operation. I still installed your version of the gem and tried an encode and a decode and it worked.
I actually can’t get the current version of the gem (1.0.1) to build on my mac, but your fork builds.
➜ mbp ~ gem install geohash
Building native extensions. This could take a while...
ERROR: Error installing geohash:
ERROR: Failed to build gem native extension.
/Users/patrick/.rubies/ruby-2.1.2/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling geohash_native.c
geohash_native.c: In function ‘decode_geohash_bbox’:
geohash_native.c:51: warning: implicit conversion shortens 64-bit value into a 32-bit value
geohash_native.c: In function ‘encode’:
geohash_native.c:130: error: ‘struct RFloat’ has no member named ‘value’
geohash_native.c:130: error: ‘struct RFloat’ has no member named ‘value’
geohash_native.c: In function ‘decode_bbox’:
geohash_native.c:142: error: ‘struct RString’ has no member named ‘ptr’
geohash_native.c: In function ‘decode’:
geohash_native.c:165: error: ‘struct RString’ has no member named ‘ptr’
make: *** [geohash_native.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/patrick/.gem/ruby/2.1.2/gems/geohash-1.0.1 for inspection.
Results logged to /Users/patrick/.gem/ruby/2.1.2/extensions/x86_64-darwin-13/2.1.0-static/geohash-1.0.1/gem_make.out
The text was updated successfully, but these errors were encountered: