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

Andreas Peters commented on MESOS-10213:
----------------------------------------

The whole working procedure with docker, you will find here: 
https://github.com/AVENTER-UG/mesos-build

The one (untested) without docker should be this one:


{code:java}

dnf install -y                  \
      curl                      \
      git                       \
      redhat-rpm-config         \
      rpm-build                 \
      yum-utils                 \
      cmake                     \
      dnf-plugins-core          \
      python2-devel             \
      boost                     \
      boost-devel               \
      glog                      \
      glog-devel                \
      rapidjson-devel           \
      leveldb-devel             \
      libarchive-devel          \
      golang                    \
      maven                     \
      subversion

echo -e 'export JAVA_HOME=/usr/lib/jvm/java-openjdk' >> 
/etc/profile.d/java-home.sh

yum makecache 

cd mesos
## this step is imporant, even if you dont create rpm's. but it would install 
all the requirements.
yum-builddep -D '__python /usr/bin/python3' -y 
support/packaging/centos/mesos.spec

./bootstrap

mkdir build
cd build
../configure \
    --enable-optimize \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib \
    --exec-prefix=/usr \
    --sbindir=/usr/bin \
    --enable-ssl \
    --enable-libevent \
    --with-boost=/usr \
    --with-leveldb=/usr \
    --with-libarchive=/usr \
    --with-rapidjson=/usr \
    --with-glog=/usr \
    --disable-java \
    --disable-python \
    --disable-werror \
    --with-network-isolator

make
{code}






> configure for Python 3 
> -----------------------
>
>                 Key: MESOS-10213
>                 URL: https://issues.apache.org/jira/browse/MESOS-10213
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Lutz Weischer
>            Priority: Trivial
>
> How to 'configure' for Python 3 exactly?: 
> configure: error: Mesos requires Python < 3.0
> -------------------------------------------------------------------
> The detected Python version is 3.9.
> If you already have Python 2.6+ installed (and it's the default python
> on the path), you might want to check if you have the PYTHON environment
> variable set to a version of Python greater than 3.0.
> -------------------------------------------------------------------
> Thanks. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to