You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by vonPuh fonPuhendorf <vo...@gmail.com> on 2013/02/04 18:03:21 UTC

Any help on this

libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
-DPACKAGE_VERSION=\"0.12.0\" "-DPACKAGE_STRING=\"mesos 0.12.0\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
-DVERSION=\"0.12.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 -DMESOS_HAS_JAVA=1
-DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1
-DHAVE_LIBCURL=1 -I. -Wall -Werror
-DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
-DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
-I../third_party/libprocess/include -I../include
-I../third_party/boost-1.51.0 -I../third_party/protobuf-2.4.1/src
-I../third_party/glog-0.3.1/src
-I../third_party/zookeeper-3.3.4/src/c/include
-I../third_party/zookeeper-3.3.4/src/c/generated -pthread -g2 -O2 -MT
local/libmesos_no_third_party_la-local.lo -MD -MP -MF
local/.deps/libmesos_no_third_party_la-local.Tpo -c local/local.cpp  -fPIC
-DPIC -o local/.libs/libmesos_no_third_party_la-local.o
In file included from ./master/master.hpp:37:0,
                 from ./master/hierarchical_allocator_process.hpp:32,
                 from local/local.cpp:38:
../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
of 'hashset<Value> multihashmap<K, V>::get(const K&) const [with K =
mesos::FrameworkID; V = mesos::internal::master::Filter*]':
./master/hierarchical_allocator_process.hpp:300:3:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
local/local.cpp:181:1:   required from here
../third_party/libprocess/include/stout/multihashmap.hpp:44:3: error:
'equal_range' was not declared in this scope, and no declarations were
found by argument-dependent lookup at the point of instantiation
[-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:44:3: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:44:3: note: use
'this->equal_range' instead
../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
of 'bool multihashmap<K, V>::remove(const K&, const V&) [with K =
mesos::FrameworkID; V = mesos::internal::master::Filter*]':
./master/hierarchical_allocator_process.hpp:301:5:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
local/local.cpp:181:1:   required from here
../third_party/libprocess/include/stout/multihashmap.hpp:66:21: error:
'find' was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:66:21: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:66:21: note: use
'this->find' instead
../third_party/libprocess/include/stout/multihashmap.hpp:68:7: error:
'erase' was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:68:7: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:68:7: note: use
'this->erase' instead
../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
of 'bool multihashmap<K, V>::remove(const K&) [with K = mesos::FrameworkID;
V = mesos::internal::master::Filter*]':
./master/hierarchical_allocator_process.hpp:308:3:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
local/local.cpp:181:1:   required from here
../third_party/libprocess/include/stout/multihashmap.hpp:58:23: error:
'erase' was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:58:23: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:58:23: note: use
'this->erase' instead
../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
of 'void multihashmap<K, V>::put(const K&, const V&) [with K =
mesos::FrameworkID; V = mesos::internal::master::Filter*]':
./master/hierarchical_allocator_process.hpp:503:5:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::resourcesUnused(const mesos::FrameworkID&, const
mesos::SlaveID&, const mesos::internal::Resources&, const
Option<mesos::Filters>&) [with UserSorter =
mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
local/local.cpp:181:1:   required from here
../third_party/libprocess/include/stout/multihashmap.hpp:32:3: error:
'insert' was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:32:3: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:32:3: note: use
'this->insert' instead
../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
of 'bool multihashmap<K, V>::contains(const K&, const V&) const [with K =
mesos::FrameworkID; V = mesos::internal::master::Filter*]':
./master/hierarchical_allocator_process.hpp:723:3:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::expire(const mesos::FrameworkID&,
mesos::internal::master::Filter*) [with UserSorter =
mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
./master/hierarchical_allocator_process.hpp:505:5:   required from 'void
mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
FrameworkSorter>::resourcesUnused(const mesos::FrameworkID&, const
mesos::SlaveID&, const mesos::internal::Resources&, const
Option<mesos::Filters>&) [with UserSorter =
mesos::internal::master::DRFSorter; FrameworkSorter =
mesos::internal::master::DRFSorter]'
local/local.cpp:181:1:   required from here
../third_party/libprocess/include/stout/multihashmap.hpp:88:21: error:
'find' was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../third_party/libprocess/include/stout/multihashmap.hpp:88:21: note:
declarations in dependent base
'boost::unordered::unordered_multimap<mesos::FrameworkID,
mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
unqualified lookup
../third_party/libprocess/include/stout/multihashmap.hpp:88:21: note: use
'this->find' instead
make[2]: *** [local/libmesos_no_third_party_la-local.lo] Error 1
make[2]: Leaving directory `/media/datastore/Projects/Mesos/mesos-trunk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/datastore/Projects/Mesos/mesos-trunk/src'
make: *** [all-recursive] Error 1

Re: Any help on this

Posted by Vinod Kone <vi...@twitter.com>.
Hi,

Could you explain a bit more clearly what your setup is and what you are
trying to achieve? That would help us better answer your question.


@vinodkone


On Fri, Feb 8, 2013 at 7:02 AM, vonPuh fonPuhendorf <
vonpuhfonpuhendorf@gmail.com> wrote:

> One more question. Since Mesos distribute the tasks to random server like
> in example of haproxy+apache  if the proxy is spawned in random
> location(therfore random ip) how this plays with the dns. Is the dns
> load-balancing strategy helps by register all available ips from cluster or
> is it something else.
>

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
One more question. Since Mesos distribute the tasks to random server like
in example of haproxy+apache  if the proxy is spawned in random
location(therfore random ip) how this plays with the dns. Is the dns
load-balancing strategy helps by register all available ips from cluster or
is it something else.

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
got it compiled .. with 4.4 thank you for the help

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
presume it require python 2.6 ?


Making all in src
make[1]: Entering directory
`/media/datastore/Projects/Mesos/mesos-trunk/src'
make  all-am
make[2]: Entering directory
`/media/datastore/Projects/Mesos/mesos-trunk/src'
Building Mesos Python egg ...
WARNING: '.' not a valid package name; please use only.-separated package
names in setup.py
running bdist_egg
running egg_info
writing requirements to src/mesos.egg-info/requires.txt
writing src/mesos.egg-info/PKG-INFO
writing top-level names to src/mesos.egg-info/top_level.txt
writing dependency_links to src/mesos.egg-info/dependency_links.txt
package init file 'src/__init__.py' not found (or not a regular file)
reading manifest file 'src/mesos.egg-info/SOURCES.txt'
writing manifest file 'src/mesos.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building '_mesos' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/src
-I/media/datastore/Projects/Mesos/mesos-trunk/src/python/native
-I/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src
-I/usr/include/python2.7 -c native/proxy_scheduler.cpp -o
build/temp.linux-x86_64-2.7/native/proxy_scheduler.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from /usr/include/python2.7/Python.h:8,
                 from native/proxy_scheduler.hpp:22,
                 from native/proxy_scheduler.cpp:21:
/usr/include/python2.7/pyconfig.h:1161: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:164: note: this is the location of the previous
definition
/usr/include/python2.7/pyconfig.h:1183: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:166: note: this is the location of the previous
definition
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/src
-I/media/datastore/Projects/Mesos/mesos-trunk/src/python/native
-I/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src
-I/usr/include/python2.7 -c native/mesos_scheduler_driver_impl.cpp -o
build/temp.linux-x86_64-2.7/native/mesos_scheduler_driver_impl.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/src
-I/media/datastore/Projects/Mesos/mesos-trunk/src/python/native
-I/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src
-I/usr/include/python2.7 -c native/mesos_executor_driver_impl.cpp -o
build/temp.linux-x86_64-2.7/native/mesos_executor_driver_impl.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/src
-I/media/datastore/Projects/Mesos/mesos-trunk/src/python/native
-I/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src
-I/usr/include/python2.7 -c native/module.cpp -o
build/temp.linux-x86_64-2.7/native/module.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/include
-I/media/datastore/Projects/Mesos/mesos-trunk/src
-I/media/datastore/Projects/Mesos/mesos-trunk/src/python/native
-I/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src
-I/usr/include/python2.7 -c native/proxy_executor.cpp -o
build/temp.linux-x86_64-2.7/native/proxy_executor.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from /usr/include/python2.7/Python.h:8,
                 from native/proxy_executor.hpp:22,
                 from native/proxy_executor.cpp:21:
/usr/include/python2.7/pyconfig.h:1161: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:164: note: this is the location of the previous
definition
/usr/include/python2.7/pyconfig.h:1183: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:166: note: this is the location of the previous
definition
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro
build/temp.linux-x86_64-2.7/native/proxy_schedd/temp.linux-x86_64-2.7/native/mesos_scheduler_driver_impl.o
build/temp.linux-x86_64-2.7/native/mesos_executor_driver_impl.o
build/temp.li2.7/native/module.o
build/temp.linux-x86_64-2.7/native/proxy_executor.o
/media/datastore/Projects/Mesos/mesos-trunk/src/.libs/libmesos_no_.a
/media/datastore/Projects/Mesos/mesos-trunk/third_party/protobuf-2.4.1/src/.libs/libprotobuf.a
/media/datastore/Projects/Mesos/mesos-trarty/glog-0.3.1/.libs/libglog.a
/media/datastore/Projects/Mesos/mesos-trunk/third_party/leveldb/libleveldb.a
/media/datastore/Projects/Mesunk/third_party/zookeeper-3.3.4/src/c/.libs/libzookeeper_mt.a
/media/datastore/Projects/Mesos/mesos-trunk/third_party/libprocess/.libs/libmedia/datastore/Projects/Mesos/mesos-trunk/third_party/libprocess/third_party/libev-3.8/.libs/libev.a
/media/datastore/Projects/Mesos/mesord_party/libprocess/third_party/gperftools-2.0/.libs/libprofiler.a
-o build/lib.linux-x86_64-2.7/_mesos.so -lcurl -lssl -lcrypto -lz -lrt
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/_mesos.so -> build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/mesos_pb2.py ->
build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-2.7/mesos.py -> build/bdist.linux-x86_64/egg
byte-compiling build/bdist.linux-x86_64/egg/mesos_pb2.py to mesos_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/mesos.py to mesos.pyc
creating stub loader for _mesos.so
byte-compiling build/bdist.linux-x86_64/egg/_mesos.py to _mesos.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying src/mesos.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/mesos.egg-info/SOURCES.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying src/mesos.egg-info/dependency_links.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying src/mesos.egg-info/requires.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying src/mesos.egg-info/top_level.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/mesos-0.12.0-py2.7-linux-x86_64.egg' and adding
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
make[2]: Leaving directory `/media/datastore/Projects/Mesos/mesos-trunk/src'
make[1]: Leaving directory `/media/datastore/Projects/Mesos/mesos-trunk/src'
Making all in ec2
make[1]: Entering directory
`/media/datastore/Projects/Mesos/mesos-trunk/ec2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/media/datastore/Projects/Mesos/mesos-trunk/ec2'
Making all in hadoop
make[1]: Entering directory
`/media/datastore/Projects/Mesos/mesos-trunk/hadoop'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/media/datastore/Projects/Mesos/mesos-trunk/hadoop'

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
i see installed lowest i can find in apt  gcc4.4 have to set it. will ask
if i get stuck thnak you

Re: Any help on this

Posted by Benjamin Mahler <bm...@twitter.com>.
Please provide the commands you are running.

You will need to install an older version of gcc on your machine, I showed
the commands to run, provided you have gcc-4.2 already installed.


On Mon, Feb 4, 2013 at 1:35 PM, vonPuh fonPuhendorf <
vonpuhfonpuhendorf@gmail.com> wrote:

> 2013/2/4 vonPuh fonPuhendorf <vo...@gmail.com>
>
> > em.. cant seem to find 4.2 to install it when try to build it givmes me $
> > not found
> >
> > checking build system type... x86_64-unknown-linux-gnu
> > checking host system type... x86_64-unknown-linux-gnu
> > checking target system type... x86_64-unknown-linux-gnu
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for a thread-safe mkdir -p... /bin/mkdir -p
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking for style of include used by make... GNU
> > checking whether the C++ compiler works... no
> > configure: error: in `/media/datastore/Projects/Mesos/mesos-trunk':
> > configure: error: C++ compiler cannot create executables
> > See `config.log' for more details
> >
> > i running on linux mint kde 41
>

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
2013/2/4 vonPuh fonPuhendorf <vo...@gmail.com>

> em.. cant seem to find 4.2 to install it when try to build it givmes me $
> not found
>
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking whether the C++ compiler works... no
> configure: error: in `/media/datastore/Projects/Mesos/mesos-trunk':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
>
> i running on linux mint kde 41

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
em.. cant seem to find 4.2 to install it when try to build it givmes me $
not found

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether the C++ compiler works... no
configure: error: in `/media/datastore/Projects/Mesos/mesos-trunk':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
thanks..

Re: Any help on this

Posted by Benjamin Mahler <bm...@twitter.com>.
When running configure:

$ CC=gcc-4.2 CXX=g++-4.2 ./configure


On Mon, Feb 4, 2013 at 1:21 PM, vonPuh fonPuhendorf <
vonpuhfonpuhendorf@gmail.com> wrote:

> wich version and how to set the flags when set CC=gcc-x.x it complains
> somehting about pthread
>

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
wich version and how to set the flags when set CC=gcc-x.x it complains
somehting about pthread

Re: Any help on this

Posted by Benjamin Mahler <bm...@twitter.com>.
Unfortunately, mesos currently does not compile with gcc 4.7.

So for now, I'd recommend compiling with an older version of gcc.

On Mon, Feb 4, 2013 at 12:09 PM, vonPuh fonPuhendorf <
vonpuhfonpuhendorf@gmail.com> wrote:

> yes its trunk gcc 4.7 i saw that have some issues.. replaced boost library
> 1.51 but hit that error
>

Re: Any help on this

Posted by vonPuh fonPuhendorf <vo...@gmail.com>.
yes its trunk gcc 4.7 i saw that have some issues.. replaced boost library
1.51 but hit that error

Re: Any help on this

Posted by Benjamin Mahler <bm...@twitter.com>.
Is this building off trunk?
What version of gcc are you using?


On Mon, Feb 4, 2013 at 9:03 AM, vonPuh fonPuhendorf <
vonpuhfonpuhendorf@gmail.com> wrote:

> libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
> -DPACKAGE_VERSION=\"0.12.0\" "-DPACKAGE_STRING=\"mesos 0.12.0\""
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
> -DVERSION=\"0.12.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 -DMESOS_HAS_JAVA=1
> -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1
> -DHAVE_LIBCURL=1 -I. -Wall -Werror
> -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
> -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
> -I../third_party/libprocess/include -I../include
> -I../third_party/boost-1.51.0 -I../third_party/protobuf-2.4.1/src
> -I../third_party/glog-0.3.1/src
> -I../third_party/zookeeper-3.3.4/src/c/include
> -I../third_party/zookeeper-3.3.4/src/c/generated -pthread -g2 -O2 -MT
> local/libmesos_no_third_party_la-local.lo -MD -MP -MF
> local/.deps/libmesos_no_third_party_la-local.Tpo -c local/local.cpp  -fPIC
> -DPIC -o local/.libs/libmesos_no_third_party_la-local.o
> In file included from ./master/master.hpp:37:0,
>                  from ./master/hierarchical_allocator_process.hpp:32,
>                  from local/local.cpp:38:
> ../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
> of 'hashset<Value> multihashmap<K, V>::get(const K&) const [with K =
> mesos::FrameworkID; V = mesos::internal::master::Filter*]':
> ./master/hierarchical_allocator_process.hpp:300:3:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
> UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> local/local.cpp:181:1:   required from here
> ../third_party/libprocess/include/stout/multihashmap.hpp:44:3: error:
> 'equal_range' was not declared in this scope, and no declarations were
> found by argument-dependent lookup at the point of instantiation
> [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:44:3: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:44:3: note: use
> 'this->equal_range' instead
> ../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
> of 'bool multihashmap<K, V>::remove(const K&, const V&) [with K =
> mesos::FrameworkID; V = mesos::internal::master::Filter*]':
> ./master/hierarchical_allocator_process.hpp:301:5:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
> UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> local/local.cpp:181:1:   required from here
> ../third_party/libprocess/include/stout/multihashmap.hpp:66:21: error:
> 'find' was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:66:21: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:66:21: note: use
> 'this->find' instead
> ../third_party/libprocess/include/stout/multihashmap.hpp:68:7: error:
> 'erase' was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:68:7: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:68:7: note: use
> 'this->erase' instead
> ../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
> of 'bool multihashmap<K, V>::remove(const K&) [with K = mesos::FrameworkID;
> V = mesos::internal::master::Filter*]':
> ./master/hierarchical_allocator_process.hpp:308:3:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::frameworkRemoved(const mesos::FrameworkID&) [with
> UserSorter = mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> local/local.cpp:181:1:   required from here
> ../third_party/libprocess/include/stout/multihashmap.hpp:58:23: error:
> 'erase' was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:58:23: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:58:23: note: use
> 'this->erase' instead
> ../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
> of 'void multihashmap<K, V>::put(const K&, const V&) [with K =
> mesos::FrameworkID; V = mesos::internal::master::Filter*]':
> ./master/hierarchical_allocator_process.hpp:503:5:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::resourcesUnused(const mesos::FrameworkID&, const
> mesos::SlaveID&, const mesos::internal::Resources&, const
> Option<mesos::Filters>&) [with UserSorter =
> mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> local/local.cpp:181:1:   required from here
> ../third_party/libprocess/include/stout/multihashmap.hpp:32:3: error:
> 'insert' was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:32:3: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:32:3: note: use
> 'this->insert' instead
> ../third_party/libprocess/include/stout/multihashmap.hpp: In instantiation
> of 'bool multihashmap<K, V>::contains(const K&, const V&) const [with K =
> mesos::FrameworkID; V = mesos::internal::master::Filter*]':
> ./master/hierarchical_allocator_process.hpp:723:3:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::expire(const mesos::FrameworkID&,
> mesos::internal::master::Filter*) [with UserSorter =
> mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> ./master/hierarchical_allocator_process.hpp:505:5:   required from 'void
> mesos::internal::master::HierarchicalAllocatorProcess<UserSorter,
> FrameworkSorter>::resourcesUnused(const mesos::FrameworkID&, const
> mesos::SlaveID&, const mesos::internal::Resources&, const
> Option<mesos::Filters>&) [with UserSorter =
> mesos::internal::master::DRFSorter; FrameworkSorter =
> mesos::internal::master::DRFSorter]'
> local/local.cpp:181:1:   required from here
> ../third_party/libprocess/include/stout/multihashmap.hpp:88:21: error:
> 'find' was not declared in this scope, and no declarations were found by
> argument-dependent lookup at the point of instantiation [-fpermissive]
> ../third_party/libprocess/include/stout/multihashmap.hpp:88:21: note:
> declarations in dependent base
> 'boost::unordered::unordered_multimap<mesos::FrameworkID,
> mesos::internal::master::Filter*, boost::hash<mesos::FrameworkID>,
> std::equal_to<mesos::FrameworkID>, std::allocator<std::pair<const
> mesos::FrameworkID, mesos::internal::master::Filter*> > >' are not found by
> unqualified lookup
> ../third_party/libprocess/include/stout/multihashmap.hpp:88:21: note: use
> 'this->find' instead
> make[2]: *** [local/libmesos_no_third_party_la-local.lo] Error 1
> make[2]: Leaving directory
> `/media/datastore/Projects/Mesos/mesos-trunk/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/media/datastore/Projects/Mesos/mesos-trunk/src'
> make: *** [all-recursive] Error 1
>