Hi,

we had problems with building it recently.
See https://github.com/mesos/modules/pull/4

Regards,
Kamil

2015-09-17 15:49 GMT+02:00 Kapil Arya <ka...@mesosphere.io>:

> Hello Qian,
>
> Please follow the instructions on https://github.com/mesos/modules to get
> up and running with building a mesos module. Apparently, building mesos
> modules requires you to build Mesos without bundled protobuf, glog and
> boost libraries. Thus, you need to have them installed system wide. The
> above repo has a readme and a few test modules that you can play with.
>
> Please let us know if you need any more help.
>
> Kapil
>
> On Thu, Sep 17, 2015 at 9:20 AM, Qian AZ Zhang <zhang...@cn.ibm.com>
> wrote:
>
> >
> >
> > Hi all,
> >
> > I am trying to follow the doc (
> >
> >
> https://github.com/apache/mesos/blob/master/docs/modules.md#writing-mesos-modules
> > ) to implement a test module, but when I built the module, I got the
> > following error:
> >     user1@test1:~/mesos/src/examples$ g++ -lmesos -fpic -o test_module.o
> > test_module.cpp
> >     In file included from /usr/local/include/mesos/mesos.hpp:22:0,
> >                      from test_module.hpp:22,
> >                      from test_module.cpp:2:
> >     /usr/local/include/mesos/mesos.pb.h:9:42: fatal error:
> > google/protobuf/stubs/common.h: No such file or directory
> >      #include <google/protobuf/stubs/common.h>
> > ^
> >     compilation terminated.
> >
> > It seems it can not find the header file:
> google/protobuf/stubs/common.h. I
> > see this header file is in the Mesos source code tree, but not in
> > /usr/local/include/mesos ( I have done "make install" after building
> Mesos
> > source code).
> >
> > Any help will be appreciated, thanks!
> >
> >
> > Regards,
> > Qian Zhang
>

Reply via email to