Skip to content

Instantly share code, notes, and snippets.

@thbar
Created August 30, 2010 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thbar/557237 to your computer and use it in GitHub Desktop.
Save thbar/557237 to your computer and use it in GitHub Desktop.
~/git/hackerbooks[master*]$ gem install sunspot --pre
Building native extensions. This could take a while...
ERROR: Error installing sunspot:
ERROR: Failed to build gem native extension.
/Users/thbar/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
creating Makefile
make
Makefile:165: warning: overriding commands for target `/Users/thbar/.rvm/gems/ruby-1.9.2-p0/gems/geohash-1.0.1/lib'
Makefile:163: warning: ignoring old commands for target `/Users/thbar/.rvm/gems/ruby-1.9.2-p0/gems/geohash-1.0.1/lib'
gcc -I. -I/Users/thbar/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/Users/thbar/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/thbar/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o geohash_native.o -c 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
Gem files will remain installed in /Users/thbar/.rvm/gems/ruby-1.9.2-p0/gems/geohash-1.0.1 for inspection.
Results logged to /Users/thbar/.rvm/gems/ruby-1.9.2-p0/gems/geohash-1.0.1/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment