rtbkit: Error compiling on ubuntu 14

Hi, this is the third time I tried installing and building rtbkit on ubuntu 14 lts on AWS. However, I’m failing when running make all inside platform-deps folder: After like 15 minutes:

In file included from ./boost/config.hpp:57:0,
                 from ./boost/detail/workaround.hpp:41,
                 from ./boost/test/utils/basic_cstring/basic_cstring_fwd.hpp:19,
                 from ./boost/test/utils/basic_cstring/basic_cstring.hpp:20,
                 from ./boost/test/detail/global_typedef.hpp:18,
                 from ./boost/test/detail/unit_test_parameters.hpp:18,
                 from ./boost/test/impl/unit_test_parameters.ipp:22,
                 from libs/test/src/unit_test_parameters.cpp:16:
./boost/lexical_cast.hpp: In member function ‘bool boost::detail::lexical_stream_limited_src<CharT, Traits, RequiresStringbuffer>::shl_char(T)’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_1286’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/static_assert.hpp:23:45: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
 #  define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
                                             ^
./boost/lexical_cast.hpp:1284:17: note: in expansion of macro ‘BOOST_STATIC_ASSERT_MSG’
                 BOOST_STATIC_ASSERT_MSG(( sizeof(T) <= sizeof(CharT)) ,
                 ^
./boost/lexical_cast.hpp: In member function ‘bool boost::detail::lexical_stream_limited_src<CharT, Traits, RequiresStringbuffer>::shl_char_array(const T*)’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_1311’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/static_assert.hpp:23:45: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
 #  define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
                                             ^
./boost/lexical_cast.hpp:1309:17: note: in expansion of macro ‘BOOST_STATIC_ASSERT_MSG’
                 BOOST_STATIC_ASSERT_MSG(( sizeof(T) <= sizeof(CharT)),
                 ^
./boost/lexical_cast.hpp: In member function ‘bool boost::detail::lexical_stream_limited_src<CharT, Traits, RequiresStringbuffer>::shr_xchar(T&)’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_1739’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/static_assert.hpp:23:45: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
 #  define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
                                             ^
./boost/lexical_cast.hpp:1737:17: note: in expansion of macro ‘BOOST_STATIC_ASSERT_MSG’
                 BOOST_STATIC_ASSERT_MSG(( sizeof(CharT) == sizeof(T) ),
                 ^
gcc.archive bin.v2/libs/test/build/gcc-4.8/release/link-static/threading-multi/libboost_test_exec_monitor.a
common.copy /home/ubuntu/local/lib/libboost_test_exec_monitor.a
...failed updating 2 targets...
...skipped 6 targets...
...updated 10322 targets...
make: *** [install_boost] Error 1

(these are last few lines)

After this I tried:

sudo apt-get install libboost-all-dev

then I get:

/usr/include/x86_64-linux-gnu/unicode/numfmt.h:333:20: note: icu_52::UnicodeString& icu_52::NumberFormat::format(int32_t, icu_52::UnicodeString&) const
     UnicodeString& format(  int32_t number,
                    ^
/usr/include/x86_64-linux-gnu/unicode/numfmt.h:346:20: note: icu_52::UnicodeString& icu_52::NumberFormat::format(int64_t, icu_52::UnicodeString&) const
     UnicodeString& format(  int64_t number,
                    ^

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_LOCALE_DYN_LINK=1 -DBOOST_LOCALE_NO_WINAPI_BACKEND=1 -DBOOST_LOCALE_WITH_ICONV=1 -DBOOST_LOCALE_WITH_ICU=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_NO_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/locale/build/gcc-4.8/release/threading-multi/icu/formatter.o" "libs/locale/src/icu/formatter.cpp"

...failed gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.8/release/threading-multi/icu/formatter.o...
...skipped <pbin.v2/libs/locale/build/gcc-4.8/release/threading-multi>libboost_locale.so.1.52.0 for lack of <pbin.v2/libs/locale/build/gcc-4.8/release/threading-multi>icu/formatter.o...
...skipped <p/home/ubuntu/local/lib>libboost_locale.so.1.52.0 for lack of <pbin.v2/libs/locale/build/gcc-4.8/release/threading-multi>libboost_locale.so.1.52.0...
...skipped <p/home/ubuntu/local/lib>libboost_locale.so for lack of <p/home/ubuntu/local/lib>libboost_locale.so.1.52.0...
...failed updating 2 targets...
...skipped 6 targets...
make: *** [install_boost] Error 1

HELP!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@mikeburkat : Updated comment. Still having issues…