Skip to content

Doesn't build on Debian unstable #2

Closed

Description

@filterfish

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

  1. filterfish commented on Jan 10, 2014

    @filterfish
    Author

    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.

  2. added a commit that references this issue on Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions