You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Diptanu Choudhury <di...@gmail.com> on 2014/10/01 21:46:23 UTC

Mesos Compilation error

Hi Guys,

We are trying to build Mesos 0.20.1 and getting the following compilation
error -

In file included from ./linux/routing/filter/ip.hpp:36:0,
                 from
./slave/containerizer/isolators/network/port_mapping.hpp:42,
                 from slave/containerizer/mesos/containerizer.cpp:44:
./linux/routing/filter/filter.hpp:29:43: fatal error:
linux/routing/filter/handle.hpp: No such file or directory
 #include "linux/routing/filter/handle.hpp"


Any idea around what's going on here? Feels like I am missing some
development package which contains that header.

-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
I'll create a ticket for supporting customized libnl3 install location.

On Wed, Oct 1, 2014 at 3:07 PM, Jie Yu <yu...@gmail.com> wrote:

> configure.ac:
> LIBNL_CFLAGS=-I/usr/include/libnl3
>
> Is it possible to install your libnl3 to --prefix=/usr ?
>
> On Wed, Oct 1, 2014 at 3:06 PM, Jie Yu <yu...@gmail.com> wrote:
>
>> Hum, we expect libnl3 headers to be installed under /usr/include/libnl3:
>>
>>
>> On Wed, Oct 1, 2014 at 2:51 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> So my libnl3 headers are installed in - /usr/local/include/libnl3/netlink
>>>
>>> I had to compile libnl3 from source and do a make install because the
>>> ubuntu trusty package repo didn't have the libnl3 3.2.25, but had some
>>> older version.
>>>
>>>
>>> Any idea how I could fix it?
>>>
>>> On Wed, Oct 1, 2014 at 2:44 PM, Jie Yu <yu...@gmail.com> wrote:
>>>
>>>> Yeah, the header is from libnl3.
>>>>
>>>> Can you post the location where your libnl3 headers are installed?
>>>>
>>>> - Jie
>>>>
>>>>
>>>> On Wed, Oct 1, 2014 at 2:40 PM, Diptanu Choudhury <di...@gmail.com>
>>>> wrote:
>>>>
>>>>> So I am guessing that header comes from libnl, we have libnl 3.2.25
>>>>> installed on our build slave and the configure went through as well in the
>>>>> beginning of the build.
>>>>>
>>>>> On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> The compilation failed once again even when building from the 0.20.1
>>>>>> tag.
>>>>>>
>>>>>> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
>>>>>> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>>>>>>  #include <netlink/addr.h>
>>>>>>
>>>>>>
>>>>>> Any idea?
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <diptanuc@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>>>>>>
>>>>>>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <
>>>>>>> diptanuc@gmail.com> wrote:
>>>>>>>
>>>>>>>> Thanks, opening a ticket now. So I am trying to compile from -
>>>>>>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>>>>>>
>>>>>>>> Hopefully this would work. Wondering how did it work for others?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Just committed a fix to the master.
>>>>>>>>>
>>>>>>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I think this is a bug. We forgot to include that header file in
>>>>>>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>>>>>>
>>>>>>>>>> To workaround, you can checkout the source from git using tag
>>>>>>>>>> 0.20.1.
>>>>>>>>>>
>>>>>>>>>> - Jie
>>>>>>>>>>
>>>>>>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <
>>>>>>>>>> diptanuc@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Guys,
>>>>>>>>>>>
>>>>>>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>>>>>>> compilation error -
>>>>>>>>>>>
>>>>>>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Any idea around what's going on here? Feels like I am missing
>>>>>>>>>>> some development package which contains that header.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Diptanu Choudhury
>>>>>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks,
>>>>>>>> Diptanu Choudhury
>>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Diptanu Choudhury
>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Diptanu Choudhury
>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Diptanu Choudhury
>>>>> Web - www.linkedin.com/in/diptanu
>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
configure.ac:
LIBNL_CFLAGS=-I/usr/include/libnl3

Is it possible to install your libnl3 to --prefix=/usr ?

On Wed, Oct 1, 2014 at 3:06 PM, Jie Yu <yu...@gmail.com> wrote:

> Hum, we expect libnl3 headers to be installed under /usr/include/libnl3:
>
>
> On Wed, Oct 1, 2014 at 2:51 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> So my libnl3 headers are installed in - /usr/local/include/libnl3/netlink
>>
>> I had to compile libnl3 from source and do a make install because the
>> ubuntu trusty package repo didn't have the libnl3 3.2.25, but had some
>> older version.
>>
>>
>> Any idea how I could fix it?
>>
>> On Wed, Oct 1, 2014 at 2:44 PM, Jie Yu <yu...@gmail.com> wrote:
>>
>>> Yeah, the header is from libnl3.
>>>
>>> Can you post the location where your libnl3 headers are installed?
>>>
>>> - Jie
>>>
>>>
>>> On Wed, Oct 1, 2014 at 2:40 PM, Diptanu Choudhury <di...@gmail.com>
>>> wrote:
>>>
>>>> So I am guessing that header comes from libnl, we have libnl 3.2.25
>>>> installed on our build slave and the configure went through as well in the
>>>> beginning of the build.
>>>>
>>>> On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
>>>> wrote:
>>>>
>>>>> The compilation failed once again even when building from the 0.20.1
>>>>> tag.
>>>>>
>>>>> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
>>>>> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>>>>>  #include <netlink/addr.h>
>>>>>
>>>>>
>>>>> Any idea?
>>>>>
>>>>>
>>>>> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>>>>>
>>>>>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <diptanuc@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Thanks, opening a ticket now. So I am trying to compile from -
>>>>>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>>>>>
>>>>>>> Hopefully this would work. Wondering how did it work for others?
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Just committed a fix to the master.
>>>>>>>>
>>>>>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I think this is a bug. We forgot to include that header file in
>>>>>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>>>>>
>>>>>>>>> To workaround, you can checkout the source from git using tag
>>>>>>>>> 0.20.1.
>>>>>>>>>
>>>>>>>>> - Jie
>>>>>>>>>
>>>>>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <
>>>>>>>>> diptanuc@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Guys,
>>>>>>>>>>
>>>>>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>>>>>> compilation error -
>>>>>>>>>>
>>>>>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Any idea around what's going on here? Feels like I am missing
>>>>>>>>>> some development package which contains that header.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks,
>>>>>>>>>> Diptanu Choudhury
>>>>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Diptanu Choudhury
>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Diptanu Choudhury
>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Diptanu Choudhury
>>>>> Web - www.linkedin.com/in/diptanu
>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Diptanu Choudhury
>>>> Web - www.linkedin.com/in/diptanu
>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
Hum, we expect libnl3 headers to be installed under /usr/include/libnl3:


On Wed, Oct 1, 2014 at 2:51 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> So my libnl3 headers are installed in - /usr/local/include/libnl3/netlink
>
> I had to compile libnl3 from source and do a make install because the
> ubuntu trusty package repo didn't have the libnl3 3.2.25, but had some
> older version.
>
>
> Any idea how I could fix it?
>
> On Wed, Oct 1, 2014 at 2:44 PM, Jie Yu <yu...@gmail.com> wrote:
>
>> Yeah, the header is from libnl3.
>>
>> Can you post the location where your libnl3 headers are installed?
>>
>> - Jie
>>
>>
>> On Wed, Oct 1, 2014 at 2:40 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> So I am guessing that header comes from libnl, we have libnl 3.2.25
>>> installed on our build slave and the configure went through as well in the
>>> beginning of the build.
>>>
>>> On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
>>> wrote:
>>>
>>>> The compilation failed once again even when building from the 0.20.1
>>>> tag.
>>>>
>>>> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
>>>> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>>>>  #include <netlink/addr.h>
>>>>
>>>>
>>>> Any idea?
>>>>
>>>>
>>>> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
>>>> wrote:
>>>>
>>>>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>>>>
>>>>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thanks, opening a ticket now. So I am trying to compile from -
>>>>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>>>>
>>>>>> Hopefully this would work. Wondering how did it work for others?
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>>
>>>>>>> Just committed a fix to the master.
>>>>>>>
>>>>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>>>
>>>>>>>> I think this is a bug. We forgot to include that header file in
>>>>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>>>>
>>>>>>>> To workaround, you can checkout the source from git using tag
>>>>>>>> 0.20.1.
>>>>>>>>
>>>>>>>> - Jie
>>>>>>>>
>>>>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <
>>>>>>>> diptanuc@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Guys,
>>>>>>>>>
>>>>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>>>>> compilation error -
>>>>>>>>>
>>>>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Any idea around what's going on here? Feels like I am missing some
>>>>>>>>> development package which contains that header.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thanks,
>>>>>>>>> Diptanu Choudhury
>>>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Diptanu Choudhury
>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Diptanu Choudhury
>>>>> Web - www.linkedin.com/in/diptanu
>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Diptanu Choudhury
>>>> Web - www.linkedin.com/in/diptanu
>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>

Re: Mesos Compilation error

Posted by Diptanu Choudhury <di...@gmail.com>.
So my libnl3 headers are installed in - /usr/local/include/libnl3/netlink

I had to compile libnl3 from source and do a make install because the
ubuntu trusty package repo didn't have the libnl3 3.2.25, but had some
older version.


Any idea how I could fix it?

On Wed, Oct 1, 2014 at 2:44 PM, Jie Yu <yu...@gmail.com> wrote:

> Yeah, the header is from libnl3.
>
> Can you post the location where your libnl3 headers are installed?
>
> - Jie
>
>
> On Wed, Oct 1, 2014 at 2:40 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> So I am guessing that header comes from libnl, we have libnl 3.2.25
>> installed on our build slave and the configure went through as well in the
>> beginning of the build.
>>
>> On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> The compilation failed once again even when building from the 0.20.1
>>> tag.
>>>
>>> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
>>> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>>>  #include <netlink/addr.h>
>>>
>>>
>>> Any idea?
>>>
>>>
>>> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
>>> wrote:
>>>
>>>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>>>
>>>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks, opening a ticket now. So I am trying to compile from -
>>>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>>>
>>>>> Hopefully this would work. Wondering how did it work for others?
>>>>>
>>>>>
>>>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>
>>>>>> Just committed a fix to the master.
>>>>>>
>>>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>>
>>>>>>> I think this is a bug. We forgot to include that header file in
>>>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>>>
>>>>>>> To workaround, you can checkout the source from git using tag 0.20.1.
>>>>>>>
>>>>>>> - Jie
>>>>>>>
>>>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <
>>>>>>> diptanuc@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Guys,
>>>>>>>>
>>>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>>>> compilation error -
>>>>>>>>
>>>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>>>
>>>>>>>>
>>>>>>>> Any idea around what's going on here? Feels like I am missing some
>>>>>>>> development package which contains that header.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks,
>>>>>>>> Diptanu Choudhury
>>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Diptanu Choudhury
>>>>> Web - www.linkedin.com/in/diptanu
>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Diptanu Choudhury
>>>> Web - www.linkedin.com/in/diptanu
>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>


-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
Yeah, the header is from libnl3.

Can you post the location where your libnl3 headers are installed?

- Jie

On Wed, Oct 1, 2014 at 2:40 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> So I am guessing that header comes from libnl, we have libnl 3.2.25
> installed on our build slave and the configure went through as well in the
> beginning of the build.
>
> On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> The compilation failed once again even when building from the 0.20.1 tag.
>>
>> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
>> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>>  #include <netlink/addr.h>
>>
>>
>> Any idea?
>>
>>
>> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>>
>>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
>>> wrote:
>>>
>>>> Thanks, opening a ticket now. So I am trying to compile from -
>>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>>
>>>> Hopefully this would work. Wondering how did it work for others?
>>>>
>>>>
>>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>
>>>>> Just committed a fix to the master.
>>>>>
>>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>>
>>>>>> I think this is a bug. We forgot to include that header file in
>>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>>
>>>>>> To workaround, you can checkout the source from git using tag 0.20.1.
>>>>>>
>>>>>> - Jie
>>>>>>
>>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <
>>>>>> diptanuc@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Guys,
>>>>>>>
>>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>>> compilation error -
>>>>>>>
>>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>>
>>>>>>>
>>>>>>> Any idea around what's going on here? Feels like I am missing some
>>>>>>> development package which contains that header.
>>>>>>>
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Diptanu Choudhury
>>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Diptanu Choudhury
>>>> Web - www.linkedin.com/in/diptanu
>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>

Re: Mesos Compilation error

Posted by Diptanu Choudhury <di...@gmail.com>.
So I am guessing that header comes from libnl, we have libnl 3.2.25
installed on our build slave and the configure went through as well in the
beginning of the build.

On Wed, Oct 1, 2014 at 2:32 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> The compilation failed once again even when building from the 0.20.1 tag.
>
> linux/routing/.libs/libmesos_no_3rdparty_la-route.o
> linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such file or directory
>  #include <netlink/addr.h>
>
>
> Any idea?
>
>
> On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> Created - https://issues.apache.org/jira/browse/MESOS-1855
>>
>> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> Thanks, opening a ticket now. So I am trying to compile from -
>>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>>
>>> Hopefully this would work. Wondering how did it work for others?
>>>
>>>
>>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>>
>>>> Just committed a fix to the master.
>>>>
>>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>>>
>>>>> I think this is a bug. We forgot to include that header file in
>>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>>
>>>>> To workaround, you can checkout the source from git using tag 0.20.1.
>>>>>
>>>>> - Jie
>>>>>
>>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <diptanuc@gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>>> compilation error -
>>>>>>
>>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>>
>>>>>>
>>>>>> Any idea around what's going on here? Feels like I am missing some
>>>>>> development package which contains that header.
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Diptanu Choudhury
>>>>>> Web - www.linkedin.com/in/diptanu
>>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>



-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Diptanu Choudhury <di...@gmail.com>.
The compilation failed once again even when building from the 0.20.1 tag.

linux/routing/.libs/libmesos_no_3rdparty_la-route.o
linux/routing/route.cpp:23:26: fatal error: netlink/addr.h: No such
file or directory
 #include <netlink/addr.h>


Any idea?


On Wed, Oct 1, 2014 at 1:25 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> Created - https://issues.apache.org/jira/browse/MESOS-1855
>
> On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> Thanks, opening a ticket now. So I am trying to compile from -
>> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>>
>> Hopefully this would work. Wondering how did it work for others?
>>
>>
>> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>>
>>> Just committed a fix to the master.
>>>
>>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>>
>>>> I think this is a bug. We forgot to include that header file in
>>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>>
>>>> To workaround, you can checkout the source from git using tag 0.20.1.
>>>>
>>>> - Jie
>>>>
>>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <di...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Guys,
>>>>>
>>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>>> compilation error -
>>>>>
>>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>>  #include "linux/routing/filter/handle.hpp"
>>>>>
>>>>>
>>>>> Any idea around what's going on here? Feels like I am missing some
>>>>> development package which contains that header.
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Diptanu Choudhury
>>>>> Web - www.linkedin.com/in/diptanu
>>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>



-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Diptanu Choudhury <di...@gmail.com>.
Created - https://issues.apache.org/jira/browse/MESOS-1855

On Wed, Oct 1, 2014 at 1:20 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> Thanks, opening a ticket now. So I am trying to compile from -
> https://github.com/apache/mesos/archive/0.20.1.tar.gz
>
> Hopefully this would work. Wondering how did it work for others?
>
>
> On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:
>
>> Just committed a fix to the master.
>>
>> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>>
>>> I think this is a bug. We forgot to include that header file in
>>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>>
>>> To workaround, you can checkout the source from git using tag 0.20.1.
>>>
>>> - Jie
>>>
>>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <di...@gmail.com>
>>> wrote:
>>>
>>>> Hi Guys,
>>>>
>>>> We are trying to build Mesos 0.20.1 and getting the following
>>>> compilation error -
>>>>
>>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>>  #include "linux/routing/filter/handle.hpp"
>>>>
>>>>
>>>> Any idea around what's going on here? Feels like I am missing some
>>>> development package which contains that header.
>>>>
>>>> --
>>>> Thanks,
>>>> Diptanu Choudhury
>>>> Web - www.linkedin.com/in/diptanu
>>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>>
>>>
>>>
>>
>
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>



-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Diptanu Choudhury <di...@gmail.com>.
Thanks, opening a ticket now. So I am trying to compile from -
https://github.com/apache/mesos/archive/0.20.1.tar.gz

Hopefully this would work. Wondering how did it work for others?


On Wed, Oct 1, 2014 at 12:59 PM, Jie Yu <yu...@gmail.com> wrote:

> Just committed a fix to the master.
>
> On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:
>
>> I think this is a bug. We forgot to include that header file in
>> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>>
>> To workaround, you can checkout the source from git using tag 0.20.1.
>>
>> - Jie
>>
>> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <di...@gmail.com>
>> wrote:
>>
>>> Hi Guys,
>>>
>>> We are trying to build Mesos 0.20.1 and getting the following
>>> compilation error -
>>>
>>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>>  #include "linux/routing/filter/handle.hpp"
>>>
>>>
>>> Any idea around what's going on here? Feels like I am missing some
>>> development package which contains that header.
>>>
>>> --
>>> Thanks,
>>> Diptanu Choudhury
>>> Web - www.linkedin.com/in/diptanu
>>> Twitter - @diptanu <http://twitter.com/diptanu>
>>>
>>
>>
>


-- 
Thanks,
Diptanu Choudhury
Web - www.linkedin.com/in/diptanu
Twitter - @diptanu <http://twitter.com/diptanu>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
Just committed a fix to the master.

On Wed, Oct 1, 2014 at 12:50 PM, Jie Yu <yu...@gmail.com> wrote:

> I think this is a bug. We forgot to include that header file in
> libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?
>
> To workaround, you can checkout the source from git using tag 0.20.1.
>
> - Jie
>
> On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <di...@gmail.com>
> wrote:
>
>> Hi Guys,
>>
>> We are trying to build Mesos 0.20.1 and getting the following compilation
>> error -
>>
>> In file included from ./linux/routing/filter/ip.hpp:36:0,
>>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>>                  from slave/containerizer/mesos/containerizer.cpp:44:
>> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>>  #include "linux/routing/filter/handle.hpp"
>>
>>
>> Any idea around what's going on here? Feels like I am missing some
>> development package which contains that header.
>>
>> --
>> Thanks,
>> Diptanu Choudhury
>> Web - www.linkedin.com/in/diptanu
>> Twitter - @diptanu <http://twitter.com/diptanu>
>>
>
>

Re: Mesos Compilation error

Posted by Jie Yu <yu...@gmail.com>.
I think this is a bug. We forgot to include that header file in
libmesos_no_3rdparty_la_SOURCES. Could you please open a ticket?

To workaround, you can checkout the source from git using tag 0.20.1.

- Jie

On Wed, Oct 1, 2014 at 12:46 PM, Diptanu Choudhury <di...@gmail.com>
wrote:

> Hi Guys,
>
> We are trying to build Mesos 0.20.1 and getting the following compilation
> error -
>
> In file included from ./linux/routing/filter/ip.hpp:36:0,
>                  from ./slave/containerizer/isolators/network/port_mapping.hpp:42,
>                  from slave/containerizer/mesos/containerizer.cpp:44:
> ./linux/routing/filter/filter.hpp:29:43: fatal error: linux/routing/filter/handle.hpp: No such file or directory
>  #include "linux/routing/filter/handle.hpp"
>
>
> Any idea around what's going on here? Feels like I am missing some
> development package which contains that header.
>
> --
> Thanks,
> Diptanu Choudhury
> Web - www.linkedin.com/in/diptanu
> Twitter - @diptanu <http://twitter.com/diptanu>
>