incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Malouf <>
Subject Issues building third party gperftools 2.0 from source on Centos 6.3
Date Fri, 21 Jun 2013 00:26:21 GMT
Hi everyone,

In order, to run chronos in our production environment, we are trying to
first compile and install mesos.  The steps I've taken are the following:

   1. Clone incubating-mesos
   2. checkout the 0.12.0 tag required for chronos
   3. run ./bootstrap
   4. mkdir build
   5. cd build
   6. ../configure
   7. make

The build breaks while trying to compile gperftools:

mv -f .deps/libtcmalloc_internal_la-memory_region_map.Tpo
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I./src  -I./src   -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -fno-builtin-malloc -fno-builtin-free
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc
-fno-builtin-pvalloc  -Wno-unused-result  -DNO_FRAME_POINTER -g -O2 -MT
stacktrace.lo -MD -MP -MF .deps/stacktrace.Tpo -c -o stacktrace.lo `test -f
'src/' || echo './'`src/
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc
-fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign
-fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result
-DNO_FRAME_POINTER -g -O2 -MT stacktrace.lo -MD -MP -MF
.deps/stacktrace.Tpo -c src/  -fPIC -DPIC -o stacktrace.o
In file included from src/
src/stacktrace_config.h:58:5: error: #error Cannnot calculate stack trace:
need either libunwind or frame-pointers (see INSTALL file)
src/ error: #error Cannot calculate stack trace: will
need to write for your environment
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make[6]: *** [stacktrace.lo] Error 1
make[6]: Leaving directory
make[5]: *** [gperftools-2.0-build-stamp] Error 2
make[5]: Leaving directory
make[4]: *** [all] Error 2
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vagrant/incubator-mesos/build/third_party'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vagrant/incubator-mesos/build/third_party'
make: *** [all-recursive] Error 1

I was able to quickly build it on my mac, but I've been battling a lot of
these types of issues all evening trying to get this running.

Thanks for any assistance,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message