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
sudo gem install kdtree
Building native extensions. This could take a while...
ERROR: Error installing kdtree:
ERROR: Failed to build gem native extension.
/Users/jero/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling kdtree.c
In file included from kdtree.c:1:
In file included from /Users/jero/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby.h:33:
/Users/jero/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/ruby.h:51:11: fatal error: 'string.h' file not found
# include <string.h>
^
1 error generated.
make: *** [kdtree.o] Error 1
The text was updated successfully, but these errors were encountered:
That's strange. It's working fine for me on Mavericks. The ruby.h header can't find <string.h>, which is stdlib. Could it be a problem with Xcode / xcode-select? I'm not an expert, but maybe you could try this?
Thanks for you help. You were right, it was an issue with xcode. I've upgraded to Xcode 5.0.1 and installed latest developer tools with xcode-select. After accepting the license using 'xcode -license' I was able to install your gem.
Before upgrading to Mavericks it was working fine, hence I assumed it might be some kind of compatibility problem. Sorry for wasting your time.
The text was updated successfully, but these errors were encountered: