Comments (2)
Can you see if this patch fixes your issue? #7
from geohash.
@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
from geohash.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geohash.