You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Traiano Welcome <tr...@gmail.com> on 2017/07/28 16:45:18 UTC

Latest Mesos (1.4.0) Fails to Build on Ubuntu 14.04.5

Hi All

The latest version of mesos fails to build on Ubuntu 14.04.5. make fails
with the following error:

-----
.
.
.
cp: cannot stat '../../src/python/cli/src/mesos/__init__.py': No such file
or directory
make[2]: *** [python/cli/src/mesos/__init__.py] Error 1
make[2]: Leaving directory `/opt/mesos/build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/mesos/build/src'
make: *** [all-recursive] Error 1
-----

Installation steps leading up to the make failure:


sudo apt-get update
sudo apt-get install -y tar wget git

git clone https://git-wip-us.apache.org/repos/asf/mesos.git

sudo apt-get install -y openjdk-7-jdk
sudo apt-get install -y autoconf libtool
sudo apt-get -y install build-essential python-dev python-six
python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven
libapr1-dev libsvn-dev
cd mesos

mkdir build
../configure
make



Does anyone know how to fix this?

Thanks,
Traiano

Re: Latest Mesos (1.4.0) Fails to Build on Ubuntu 14.04.5

Posted by Benjamin Mahler <bm...@apache.org>.
That file path looks valid from what I can tell:

/opt/mesos/build/src/../../src/python/cli/src/mesos/__init__.py

Is the file not there? Is the directory not there?

On Fri, Jul 28, 2017 at 9:45 AM, Traiano Welcome <tr...@gmail.com> wrote:

> Hi All
>
> The latest version of mesos fails to build on Ubuntu 14.04.5. make fails
> with the following error:
>
> -----
> .
> .
> .
> cp: cannot stat '../../src/python/cli/src/mesos/__init__.py': No such
> file or directory
> make[2]: *** [python/cli/src/mesos/__init__.py] Error 1
> make[2]: Leaving directory `/opt/mesos/build/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/mesos/build/src'
> make: *** [all-recursive] Error 1
> -----
>
> Installation steps leading up to the make failure:
>
>
> sudo apt-get update
> sudo apt-get install -y tar wget git
>
> git clone https://git-wip-us.apache.org/repos/asf/mesos.git
>
> sudo apt-get install -y openjdk-7-jdk
> sudo apt-get install -y autoconf libtool
> sudo apt-get -y install build-essential python-dev python-six python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev
> cd mesos
>
> mkdir build
> ../configure
> make
>
>
>
> Does anyone know how to fix this?
>
> Thanks,
> Traiano
>