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
➜ zipkin-query git:(master) ✗ bundle install
Fetching gem metadata from https://rubygems.org/..
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/tyler/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20150705-17740-1e3zhpw.rb extconf.rb
checking for strlcpy() in string.h... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling binary_protocol_accelerated.c
compiling compact_protocol.c
compiling thrift_native.c
compiling memory_buffer.c
compiling protocol.c
compiling struct.c
struct.c:28:1: error: static declaration of ‘strlcpy’ follows non-static declaration
strlcpy (char *dst, const char *src, size_t dst_sz)
^
In file included from /home/tyler/.rvm/rubies/ruby-2.1.5/include/ruby-2.1.0/ruby/defines.h:68:0,
from /home/tyler/.rvm/rubies/ruby-2.1.5/include/ruby-2.1.0/ruby/ruby.h:29,
from /home/tyler/.rvm/rubies/ruby-2.1.5/include/ruby-2.1.0/ruby.h:33,
from struct.h:22,
from struct.c:20:
/home/tyler/.rvm/rubies/ruby-2.1.5/include/ruby-2.1.0/ruby/missing.h:207:20: note: previous declaration of ‘strlcpy’ was here
RUBY_EXTERN size_t strlcpy(char *, const char*, size_t);
^
Makefile:224: recipe for target 'struct.o' failed
make: *** [struct.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/tyler/.rvm/gems/ruby-2.1.5@rubygems/gems/thrift-0.6.0 for inspection.
Results logged to /home/tyler/.rvm/gems/ruby-2.1.5@rubygems/extensions/x86_64-linux/2.1.0/thrift-0.6.0/gem_make.out
An error occurred while installing thrift (0.6.0), and Bundler cannot continue.
Make sure that `gem install thrift -v '0.6.0'` succeeds before bundling.
➜ zipkin-query git:(master) ✗
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: