Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Building bitshares on centos6 with boost non static libaries  (Read 650 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

Building bitshares on centos6 with boost non static libaries
« on: November 02, 2014, 10:37:33 AM »

I've been following this guide: http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX trying to get the bitshares client to build on centos 6.

The version of boost I have (1.55.0) didn't install static libraries (only .so files), so I've been setting the cmake variable "-DBoost_USE_STATIC_LIBS=" to disable looking for them, but this only seems to take effect in one place and not in others.

Here is my command line:

Code: [Select]
cmake -DBOOST_ROOT="/usr/local/boost/1.55.0" -DCMAKE_BUILD_TYPE=Release -DBoost_DEBUG= -DBoost_NO_SYSTEM_PATHS=ON ..cmake -DBOOST_ROOT="/usr/local/boost/1.55.0" -DCMAKE_BUILD_TYPE=Release -DBoost_DEBUG=ON -DBoost_NO_SYSTEM_PATHS=ON -DBoost_USE_MULTITHREADED= -DBoost_USE_STATIC_LIBS= .. >out.txt 2>&1
Here is the output:

Code: [Select]
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/local/bin/cc
-- Check for working C compiler: /usr/local/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:634 ] Include debugging info:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:636 ]   _boost_INCLUDE_SEARCH_DIRS = /usr/local/boost/1.55.0/include;/usr/local/boost/1.55.0;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:638 ]   _boost_PATH_SUFFIXES = boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path: /usr/local/boost/1.55.0/include

  The following Boost libraries could not be found:

          boost_thread
          boost_date_time
          boost_system
          boost_filesystem
          boost_program_options
          boost_signals
          boost_serialization
          boost_chrono
          boost_unit_test_framework
          boost_context
          boost_locale

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:55 (FIND_PACKAGE)


-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path: /usr/local/boost/1.55.0/include

  The following Boost libraries could not be found:

          boost_coroutine

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:59 (FIND_PACKAGE)


-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Configuring project fc located in: /root/bitsharesx/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for IOSTREAMS_LIBRARY_RELEASE: boost_iostreams-gcc48-1_55;boost_iostreams-gcc48;boost_iostreams-1_55;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for IOSTREAMS_LIBRARY_DEBUG: boost_iostreams-gcc48-d-1_55;boost_iostreams-gcc48-d;boost_iostreams-d-1_55;boost_iostreams-d;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
--   coroutine
-- Found OpenSSL: /usr/lib64/libssl.a;/usr/lib64/libcrypto.a (found version "1.0.1e")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Could NOT find Readline (missing:  Readline_INCLUDE_DIR Readline_LIBRARY)
-- Configuring incomplete, errors occurred!
See also "/root/bitsharesx/build/CMakeFiles/CMakeOutput.log".

Notice Boost_USE_STATIC_LIBS = ON in most of the output, except the last block.

I'd appreciate any advice you can give!

Cheers, Paul.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Building bitshares on centos6 with boost non static libaries
« Reply #1 on: November 02, 2014, 10:41:35 AM »
Code: [Select]
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Could NOT find Readline (missing:  Readline_INCLUDE_DIR Readline_LIBRARY)

please install "ncurses" and "readline" .. depending on your distribution it might be also called "libncurses" or "libreadline" ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline monsterer

Re: Building bitshares on centos6 with boost non static libaries
« Reply #2 on: November 02, 2014, 11:23:53 AM »
Thanks for taking a look at this :)

Here is the new output:

Code: [Select]
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/local/bin/cc
-- Check for working C compiler: /usr/local/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:634 ] Include debugging info:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:636 ]   _boost_INCLUDE_SEARCH_DIRS = /usr/local/boost/1.55.0/include;/usr/local/boost/1.55.0;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:638 ]   _boost_PATH_SUFFIXES = boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path: /usr/local/boost/1.55.0/include

  The following Boost libraries could not be found:

          boost_thread
          boost_date_time
          boost_system
          boost_filesystem
          boost_program_options
          boost_signals
          boost_serialization
          boost_chrono
          boost_unit_test_framework
          boost_context
          boost_locale

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:55 (FIND_PACKAGE)


-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path: /usr/local/boost/1.55.0/include

  The following Boost libraries could not be found:

          boost_coroutine

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:59 (FIND_PACKAGE)


-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Configuring project fc located in: /root/bitsharesx/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for IOSTREAMS_LIBRARY_RELEASE: boost_iostreams-gcc48-1_55;boost_iostreams-gcc48;boost_iostreams-1_55;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for IOSTREAMS_LIBRARY_DEBUG: boost_iostreams-gcc48-d-1_55;boost_iostreams-gcc48-d;boost_iostreams-d-1_55;boost_iostreams-d;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
--   coroutine
-- Found OpenSSL: /usr/lib64/libssl.a;/usr/lib64/libcrypto.a (found version "1.0.1e")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Found Curses: /usr/lib64/libcurses.so 
-- Found Readline: /usr/include 
-- Configuring incomplete, errors occurred!
See also "/root/bitsharesx/build/CMakeFiles/CMakeOutput.log".


I still think the core problem is with boost?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Building bitshares on centos6 with boost non static libaries
« Reply #3 on: November 02, 2014, 11:31:16 AM »
to this this seems to be a cmake configuration issue ..
Unfortunately I am not a coder and have no real clue about cmake.

could you add this to the bitshares github issue tracker?
https://github.com/BitShares/bitshares/issues

paging @vikram @modprobe
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline monsterer

Re: Building bitshares on centos6 with boost non static libaries
« Reply #4 on: November 02, 2014, 03:45:10 PM »
Got a little bit further - past cmake now and onto make

(in order to do so I had to hardcode Boost_USE_STATIC_LIBS to off inside the .cmake file)

cmake output:

Code: [Select]
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/local/bin/cc
-- Check for working C compiler: /usr/local/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:634 ] Include debugging info:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:636 ]   _boost_INCLUDE_SEARCH_DIRS = /usr/local/boost/1.55.0/include;/usr/local/boost/1.55.0;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:638 ]   _boost_PATH_SUFFIXES = boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:760 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:770 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:815 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:864 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;/usr/local/boost/1.55.0/stage/lib;/usr/local/boost/1.55.0/include/lib;/usr/local/boost/1.55.0/include/../lib;/usr/local/boost/1.55.0/include/../lib/;/usr/local/boost/1.55.0/include/stage/lib;NO_CMAKE_SYSTEM_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1039 ] Boost_FOUND = 1
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = 0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:760 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:770 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:815 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:864 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;NO_DEFAULT_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1039 ] Boost_FOUND = 1
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   coroutine
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Configuring project fc located in: /root/bitsharesx/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS = ON
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:559 ]   BOOST_ROOT = /usr/local/boost/1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:561 ]   BOOST_INCLUDEDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:563 ]   BOOST_LIBRARYDIR =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: /usr/local/boost/1.55.0/include/boost/version.hpp
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.55.0
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:760 ] guessed _boost_COMPILER = -gcc48
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:770 ] _boost_MULTITHREADED =
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_RELEASE_ABI_TAG = -
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:815 ] _boost_DEBUG_ABI_TAG = -d
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:864 ] _boost_LIBRARY_SEARCH_DIRS = /usr/local/boost/1.55.0/lib;NO_DEFAULT_PATH
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc48-1_55;boost_thread-gcc48;boost_thread-1_55;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc48-d-1_55;boost_thread-gcc48-d;boost_thread-d-1_55;boost_thread-d;boost_thread;boost_thread
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc48-1_55;boost_date_time-gcc48;boost_date_time-1_55;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc48-d-1_55;boost_date_time-gcc48-d;boost_date_time-d-1_55;boost_date_time-d;boost_date_time;boost_date_time
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-1_55;boost_system-gcc48;boost_system-1_55;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-d-1_55;boost_system-gcc48-d;boost_system-d-1_55;boost_system-d;boost_system;boost_system
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc48-1_55;boost_filesystem-gcc48;boost_filesystem-1_55;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc48-d-1_55;boost_filesystem-gcc48-d;boost_filesystem-d-1_55;boost_filesystem-d;boost_filesystem;boost_filesystem
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-1_55;boost_program_options-gcc48;boost_program_options-1_55;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-d-1_55;boost_program_options-gcc48-d;boost_program_options-d-1_55;boost_program_options-d;boost_program_options;boost_program_options
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SIGNALS_LIBRARY_RELEASE: boost_signals-gcc48-1_55;boost_signals-gcc48;boost_signals-1_55;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SIGNALS_LIBRARY_DEBUG: boost_signals-gcc48-d-1_55;boost_signals-gcc48-d;boost_signals-d-1_55;boost_signals-d;boost_signals;boost_signals
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for SERIALIZATION_LIBRARY_RELEASE: boost_serialization-gcc48-1_55;boost_serialization-gcc48;boost_serialization-1_55;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for SERIALIZATION_LIBRARY_DEBUG: boost_serialization-gcc48-d-1_55;boost_serialization-gcc48-d;boost_serialization-d-1_55;boost_serialization-d;boost_serialization;boost_serialization
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc48-1_55;boost_chrono-gcc48;boost_chrono-1_55;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc48-d-1_55;boost_chrono-gcc48-d;boost_chrono-d-1_55;boost_chrono-d;boost_chrono;boost_chrono
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE: boost_unit_test_framework-gcc48-1_55;boost_unit_test_framework-gcc48;boost_unit_test_framework-1_55;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG: boost_unit_test_framework-gcc48-d-1_55;boost_unit_test_framework-gcc48-d;boost_unit_test_framework-d-1_55;boost_unit_test_framework-d;boost_unit_test_framework;boost_unit_test_framework
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for CONTEXT_LIBRARY_RELEASE: boost_context-gcc48-1_55;boost_context-gcc48;boost_context-1_55;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for CONTEXT_LIBRARY_DEBUG: boost_context-gcc48-d-1_55;boost_context-gcc48-d;boost_context-d-1_55;boost_context-d;boost_context;boost_context
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for LOCALE_LIBRARY_RELEASE: boost_locale-gcc48-1_55;boost_locale-gcc48;boost_locale-1_55;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for LOCALE_LIBRARY_DEBUG: boost_locale-gcc48-d-1_55;boost_locale-gcc48-d;boost_locale-d-1_55;boost_locale-d;boost_locale;boost_locale
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for IOSTREAMS_LIBRARY_RELEASE: boost_iostreams-gcc48-1_55;boost_iostreams-gcc48;boost_iostreams-1_55;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for IOSTREAMS_LIBRARY_DEBUG: boost_iostreams-gcc48-d-1_55;boost_iostreams-gcc48-d;boost_iostreams-d-1_55;boost_iostreams-d;boost_iostreams;boost_iostreams
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:952 ] Searching for COROUTINE_LIBRARY_RELEASE: boost_coroutine-gcc48-1_55;boost_coroutine-gcc48;boost_coroutine-1_55;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:988 ] Searching for COROUTINE_LIBRARY_DEBUG: boost_coroutine-gcc48-d-1_55;boost_coroutine-gcc48-d;boost_coroutine-d-1_55;boost_coroutine-d;boost_coroutine;boost_coroutine
-- [ /root/bitsharesx/libraries/fc/CMakeModules/FindBoost.cmake:1039 ] Boost_FOUND = 1
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
--   coroutine
-- Found OpenSSL: /usr/lib64/libssl.a;/usr/lib64/libcrypto.a (found version "1.0.1e")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib64/libdb_cxx.sooptimized/usr/lib64/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
-- Found Curses: /usr/lib64/libcurses.so 
-- Found Readline: /usr/include 
-- Configuring done
-- Generating done
-- Build files have been written to: /root/bitsharesx/build

make output:

Code: [Select]
[[email protected] build]# make
Scanning dependencies of target leveldb
[  0%] Building CXX object vendor/leveldb-1.12.0/CMakeFiles/leveldb.dir/db/builder.cc.o
[  0%] Building CXX object vendor/leveldb-1.12.0/CMakeFiles/leveldb.dir/db/c.cc.o
/tmp/cchd85Il.s: Assembler messages:
/tmp/cchd85Il.s:44: Error: expecting string instruction after `rep'
/tmp/cchd85Il.s:56: Error: expecting string instruction after `rep'
/tmp/cchd85Il.s:177: Error: expecting string instruction after `rep'
/tmp/cchd85Il.s:3296: Error: expecting string instruction after `rep'
/tmp/cchd85Il.s:3362: Error: expecting string instruction after `rep'
make[2]: *** [vendor/leveldb-1.12.0/CMakeFiles/leveldb.dir/db/c.cc.o] Error 1
make[1]: *** [vendor/leveldb-1.12.0/CMakeFiles/leveldb.dir/all] Error 2
make: *** [all] Error 2

Any idea what to make of this?
« Last Edit: November 02, 2014, 05:16:48 PM by monsterer »
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline monsterer

Re: Building bitshares on centos6 with boost non static libaries
« Reply #5 on: November 02, 2014, 04:34:09 PM »
Ok, the previous error was due to having an old version on binutils on the path before the new one.

Now I've got what appears to be a compile error:

Code: [Select]
Scanning dependencies of target real128_test
[ 60%] Building CXX object libraries/fc/CMakeFiles/real128_test.dir/tests/real128_test.cpp.o
Linking CXX executable real128_test
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: *** [libraries/fc/real128_test] Error 1
make[1]: *** [libraries/fc/CMakeFiles/real128_test.dir/all] Error 2
make: *** [all] Error 2

Seems that the unit tests have the wrong include path for the definition of the boost unit test marco BOOST_AUTO_TEST_CASE, it should be:

Code: [Select]
#include <boost/test/included/unit_test.hpp>
not

Code: [Select]
#include <boost/test/unit_test.hpp>
In files:

bitsharesx/libraries/fc/tests/task_cancel.cpp
bitsharesx/libraries/fc/tests/real128_test.cpp
bitsharesx/tests/deterministic_signature_test.cpp
bitsharesx/tests/dev_tests.cpp
bitsharesx/tests/nathan_tests.cpp
bitsharesx/tests/wallet_tests.cpp
bitsharesx/tests/bitcoin/wallet_import_tests.cpp

However, after these issues were fixed up, I am now in business :)


Cheers, Paul.
« Last Edit: November 02, 2014, 05:14:40 PM by monsterer »
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

 

Google+