You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kapil Arya (JIRA)" <ji...@apache.org> on 2016/04/21 23:02:13 UTC
[jira] [Created] (MESOS-5244) Compilation failure on Ubuntu 16.04
Kapil Arya created MESOS-5244:
---------------------------------
Summary: Compilation failure on Ubuntu 16.04
Key: MESOS-5244
URL: https://issues.apache.org/jira/browse/MESOS-5244
Project: Mesos
Issue Type: Bug
Components: python api
Reporter: Kapil Arya
Priority: Blocker
Fix For: 0.29.0
I saw the following error when trying to compile Mesos on Ubuntu 16.04:
{code}
dekaksi:...mesos/build/src> make ../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg
Building protobuf Python egg ...
cd ../3rdparty/protobuf-2.6.1/python && \
CC="gcc" \
CXX="g++" \
CFLAGS="-g -O2 -Wno-unused-local-typedefs -g1 -O0" \
CXXFLAGS="-g -O2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -g1 -O0" \
PYTHONPATH=/home/kapil/mesos/build/3rdparty/distribute-0.6.26 \
/usr/bin/python setup.py build bdist_egg
Traceback (most recent call last):
File "setup.py", line 11, in <module>
from setuptools import setup, Extension
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/extension.py", line 5, in <module>
from setuptools.dist import _get_unpatched
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/dist.py", line 6, in <module>
from setuptools.command.install import install
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 704, in subscribe
callback(dist)
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2731, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2231, in activate
self.insert_on(path)
File "/home/kapil/mesos/build/3rdparty/distribute-0.6.26/pkg_resources.py", line 2332, in insert_on
"with distribute. Found one at %s" % str(self.location))
ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages
Makefile:10869: recipe for target '../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg' failed
make: *** [../3rdparty/protobuf-2.6.1/python/dist/protobuf-2.6.1-py2.7.egg] Error 1
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)