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
I've tried to build it with both the installed package and by installing from source (after removing the deb package) but it fails with the same error:
Given that gem install failed I tried doing it manually:
# cd /usr/local/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/capn_proto-0.0.1.alpha.5/ext/capn_proto
# make distclean
# ruby extconf.rb setup
creating Makefile
# make
compiling class_builder.cc
In file included from class_builder.cc:1:0:
ruby_capn_proto.h:17:26: fatal error: capnp/object.h: No such file or directory
#include <capnp/object.h>
^
compilation terminated.
make: *** [class_builder.o] Error 1
I looked to see if there was an object.h anywhere in capnproto but I couldn't see one. So I tried commenting out the #include <capnp/object.h> line but that didn't get me very far. No surprise there really!
Activity
filterfish commentedon Jan 10, 2014
I had include files in /use/local/include, presumably from me trying to compile from scratch. Anyway I removed these files and it compiled properly.
FYI I tried installing using: ```gem install capn_proto --pre''' which failed however building from git HEAD works. I'm building against 0.4.0.
breaking changes cstrahan#2