twitter/cassandra — Issue #133: Cassandra gem dependencies
Author: chaitanyav
Created: 2011-12-06 23:50:06+00:00
State: open

Please update the thrift dependencies for the cassandra gem if this issue was fixed in later version of thrift, thrift 0.7.0 errors out while installation with this message.

Error installing cassandra:
ERROR: Failed to build gem native extension.

checking for strlcpy() in string.h... no
creating Makefile
/home/chaitanyav/development/tools_64/include/ruby-1.9.1/ruby/missing.h:157:20: note: previous declaration of ‘strlcpy’ was here
make: *** [struct.o] Error 1
make: *** Waiting for unfinished jobs....
make

I had to apply the patch (https://issues.apache.org/jira/browse/THRIFT-1382) and do a gem build then install the them locally.