You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "fhyfufangyu (JIRA)" <ji...@apache.org> on 2015/12/11 05:46:11 UTC

[jira] [Commented] (MESOS-2203) Old Centos 6.5 kernels/headers not sufficient for building Mesos

    [ https://issues.apache.org/jira/browse/MESOS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052163#comment-15052163 ] 

fhyfufangyu commented on MESOS-2203:
------------------------------------

Yes,this works.

> Old Centos 6.5 kernels/headers not sufficient for building Mesos
> ----------------------------------------------------------------
>
>                 Key: MESOS-2203
>                 URL: https://issues.apache.org/jira/browse/MESOS-2203
>             Project: Mesos
>          Issue Type: Documentation
>    Affects Versions: 0.21.0
>         Environment: E.g. Centos 6.5 with kernel 2.6.32-279.14.1 
>            Reporter: Hans van den Bogert
>            Priority: Minor
>
> Old kernels are not sufficient for building Mesos:
> bq. 
> Error:
> bq. libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.21.0\" "-DPACKAGE_STRING=\"mesos 0.21.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.21.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.6\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Wall -Werror -DLIBDIR=\"/var/scratch/vdbogert/lib\" -DPKGLIBEXECDIR=\"/var/scratch/vdbogert/libexec/mesos\" -DPKGDATADIR=\"/var/scratch/vdbogert/share/mesos\" -I../../include -I../../3rdparty/libprocess/include -I../../3rdparty/libprocess/3rdparty/stout/include -I../include -I../include/mesos -I../3rdparty/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/picojson-4f93734 -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include -I../3rdparty/zookeeper-3.4.5/src/c/generated -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src -I/var/scratch/vdbogert//include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT slave/containerizer/isolators/namespaces/libmesos_no_3rdparty_la-pid.lo -MD -MP -MF slave/containerizer/isolators/namespaces/.deps/libmesos_no_3rdparty_la-pid.Tpo -c ../../src/slave/containerizer/isolators/namespaces/pid.cpp  -fPIC -DPIC -o slave/containerizer/isolators/namespaces/.libs/libmesos_no_3rdparty_la-pid.o
> In file included from /usr/include/sys/syscall.h:32:0,
>                  from ../../src/linux/ns.hpp:26,
>                  from ../../src/slave/containerizer/isolators/namespaces/pid.cpp:31:
> ../../src/linux/ns.hpp: In function 'Try<Nothing> ns::setns(const string&, const string&)':
> ../../src/linux/ns.hpp:167:23: error: '__NR_setns' was not declared in this scope
>    int ret = ::syscall(SYS_setns, fd.get(), nstype.get());
>                        ^
> Perhaps this should be stated on:
> http://mesos.apache.org/gettingstarted/ because taking myself as example, this has cost me a lot of time to pinpoint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)