mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Scholten <fr...@frankscholten.nl>
Subject Re: CMake and CLion
Date Mon, 30 May 2016 14:38:53 GMT
Cool, building it as we speak.

On Thu, May 26, 2016 at 1:20 PM, Juan Larriba <jlarriba@gmail.com> wrote:
> -Hi Frank,
>
> sorry for the delay, but my patch was submittede yestarday. Currently the
> mesos agent is building using CMake either with gcc and clang. To build the
> agent in Ubuntu or CentOS, you just have to create a new dir outside the
> /mesos directory you cloned:
>
> mkdir mesos_build
>
> cd to it:
> cd mesos_build
>
> launch cmake on the mesos source dir:
> cmake ../mesos
>
> and then, make:
>
> make
>
> This will generate the agent, if you want to test it,
>
> make check.
>
> Cheers!
>
> On 18 May 2016 at 15:06, Frank Scholten <frank@frankscholten.nl> wrote:
>
>> Ok, thx. I pinged Alex on Twitter and I will ask him how I can help.
>>
>> On Wed, May 18, 2016 at 2:40 PM, Jan Schlicht <jan@mesosphere.io> wrote:
>> > Alex Clemmer is probably the right person to talk to regarding tasks for
>> > improving the CMake build. Most (probably all?) devs still use
>> > autoconf/automake for their every day work while MESOS-898 is still in
>> > progress. That would also explain why certain things don't work yet. The
>> > things that do work, though, should compile just fine. Judging from the
>> > `CMakeLists.txt` that should be creating the `libmesos.so` library and
>> its
>> > dependencies but no agent yet.
>> >
>> > On Wed, May 18, 2016 at 1:21 PM, Frank Scholten <frank@frankscholten.nl>
>> > wrote:
>> >
>> >> How can I build the agent? I can't find an add_executable definition
>> >> in the CMakeLists.txt
>> >>
>> >> I added this to src/CMakeLists.txt
>> >>
>> >> {code}
>> >> # Agent executable
>> >> ######################################################
>> >> add_executable(${AGENT_TARGET} ${AGENT_SRC})
>> >> {code}
>> >>
>> >> however it fails to build when I run
>> >>
>> >> $ make mesos-agent
>> >>
>> >> Also if I first run
>> >>
>> >> $ make mesos-0.29.0
>> >>
>> >> I get a lot of undefined references errors.
>> >>
>> >>
>> >> On Wed, May 18, 2016 at 11:42 AM, haosdent <haosdent@gmail.com> wrote:
>> >> > I think you could refer to Bplotka's repo:
>> >> > https://github.com/Bplotka/docker-mesos-clion
>> >> >
>> >> > Juan have a patch to show how build Mesos via CMake as well.
>> >> > https://reviews.apache.org/r/45668/
>> >> >
>> >> > Noted that so far CMake only could build the Mesos Agent(Slave)
>> >> component,
>> >> > don't include Mesos Master.
>> >> >
>> >> > On Wed, May 18, 2016 at 4:58 PM, Frank Scholten <
>> frank@frankscholten.nl>
>> >> > wrote:
>> >> >
>> >> >> Hi all,
>> >> >>
>> >> >> How can I help out with the CMake build of Mesos? This seems to
be
>> the
>> >> >> epic related to it https://issues.apache.org/jira/browse/MESOS-898
>> >> >>
>> >> >> Are there specific issues I can look at? I run Ubuntu 16.04
>> >> >>
>> >> >> Cheers,
>> >> >>
>> >> >> Frank
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Best Regards,
>> >> > Haosdent Huang
>> >>
>> >
>> >
>> >
>> > --
>> > *Jan Schlicht*
>> > Distributed Systems Engineer, Mesosphere
>>

Mime
View raw message