Created
March 8, 2018 15:26
-
-
Save andygrove/8abfa027fa29fb9f31efeab90043682c to your computer and use it in GitHub Desktop.
Trying to build Apache Arrow C++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andy@freedom:~/git/arrow/cpp/build$ env | grep -i boost | |
andy@freedom:~/git/arrow/cpp/build$ ls -l | |
total 0 | |
andy@freedom:~/git/arrow/cpp/build$ cmake -DARROW_VERBOSE_THIRDPARTY_BUILD=ON -G "Unix Makefiles" .. | |
clang-tidy not found | |
clang-format not found | |
infer not found | |
INFOCompiler command: /usr/bin/c++ | |
INFOCompiler version: Using built-in specs. | |
COLLECT_GCC=/usr/bin/c++ | |
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper | |
Target: x86_64-linux-gnu | |
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | |
Thread model: posix | |
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) | |
INFOCompiler id: GNU | |
Selected compiler gcc 5.4.0 | |
Configured for DEBUG build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...}) | |
-- Build Type: DEBUG | |
-- Found pthread: /usr/lib/x86_64-linux-gnu/libpthread.so | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:882 ] _boost_TEST_VERSIONS = 1.66.0;1.66;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.61;1.61.0;1.62;1.60.0;1.60;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:884 ] Boost_USE_MULTITHREADED = ON | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:886 ] Boost_USE_STATIC_LIBS = OFF | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:888 ] Boost_USE_STATIC_RUNTIME = | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:890 ] Boost_ADDITIONAL_VERSIONS = 1.66.0;1.66;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.61;1.61.0;1.62;1.60.0;1.60 | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:892 ] Boost_NO_SYSTEM_PATHS = | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:960 ] Declared as CMake or Environmental Variables: | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:962 ] BOOST_ROOT = | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:964 ] BOOST_INCLUDEDIR = | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:966 ] BOOST_LIBRARYDIR = | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:968 ] _boost_TEST_VERSIONS = 1.66.0;1.66;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.61;1.61.0;1.62;1.60.0;1.60;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1061 ] location of version.hpp: /home/andy/git/boost_1_66_0/boost/version.hpp | |
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1068 (file): | |
file STRINGS file "/home/andy/git/boost_1_66_0/boost/version.hpp" cannot be | |
read. | |
Call Stack (most recent call first): | |
cmake_modules/ThirdpartyToolchain.cmake:217 (find_package) | |
CMakeLists.txt:288 (include) | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1085 ] version.hpp reveals boost 0.0.0 | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1171 ] guessed _boost_COMPILER = -gcc | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1181 ] _boost_MULTITHREADED = -mt | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1224 ] _boost_RELEASE_ABI_TAG = - | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1226 ] _boost_DEBUG_ABI_TAG = -d | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1281 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): | |
Imported targets not available for Boost version 0 | |
Call Stack (most recent call first): | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) | |
cmake_modules/ThirdpartyToolchain.cmake:217 (find_package) | |
CMakeLists.txt:288 (include) | |
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): | |
Imported targets not available for Boost version 0 | |
Call Stack (most recent call first): | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) | |
cmake_modules/ThirdpartyToolchain.cmake:217 (find_package) | |
CMakeLists.txt:288 (include) | |
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): | |
Imported targets not available for Boost version 0 | |
Call Stack (most recent call first): | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) | |
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) | |
cmake_modules/ThirdpartyToolchain.cmake:217 (find_package) | |
CMakeLists.txt:288 (include) | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1404 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc-mt-;boost_system-gcc-mt;boost_system-mt-;boost_system-mt;boost_system | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1446 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc-mt-d-;boost_system-gcc-mt-d;boost_system-mt-d-;boost_system-mt-d;boost_system-mt;boost_system | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1404 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc-mt-;boost_filesystem-gcc-mt;boost_filesystem-mt-;boost_filesystem-mt;boost_filesystem | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1446 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc-mt-d-;boost_filesystem-gcc-mt-d;boost_filesystem-mt-d-;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1404 ] Searching for REGEX_LIBRARY_RELEASE: boost_regex-gcc-mt-;boost_regex-gcc-mt;boost_regex-mt-;boost_regex-mt;boost_regex | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_RELEASE = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1446 ] Searching for REGEX_LIBRARY_DEBUG: boost_regex-gcc-mt-d-;boost_regex-gcc-mt-d;boost_regex-mt-d-;boost_regex-mt-d;boost_regex-mt;boost_regex | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:378 ] Boost_LIBRARY_DIR_DEBUG = /usr/lib/x86_64-linux-gnu _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/lib/x86_64-linux-gnu;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH | |
-- [ /usr/share/cmake-3.5/Modules/FindBoost.cmake:1516 ] Boost_FOUND = 1 | |
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message): | |
Unable to find the requested Boost libraries. | |
Boost version: 0.0.0 | |
Boost include path: /home/andy/git/boost_1_66_0 | |
Could not find the following Boost libraries: | |
boost_regex | |
Some (but not all) of the required Boost libraries were found. You may | |
need to install these additional Boost libraries. Alternatively, set | |
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT | |
to the location of Boost. | |
Call Stack (most recent call first): | |
cmake_modules/ThirdpartyToolchain.cmake:217 (find_package) | |
CMakeLists.txt:288 (include) | |
-- Boost include dir: /home/andy/git/boost_1_66_0 | |
-- Boost libraries: | |
Added shared library dependency boost_system: /usr/lib/x86_64-linux-gnu/libboost_system.so | |
Added shared library dependency boost_filesystem: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so | |
CMake Error at cmake_modules/BuildUtils.cmake:88 (message): | |
No static or shared library provided for boost_regex | |
Call Stack (most recent call first): | |
cmake_modules/ThirdpartyToolchain.cmake:267 (ADD_THIRDPARTY_LIB) | |
CMakeLists.txt:288 (include) | |
-- Configuring incomplete, errors occurred! | |
See also "/home/andy/git/arrow/cpp/CMakeFiles/CMakeOutput.log". | |
See also "/home/andy/git/arrow/cpp/CMakeFiles/CMakeError.log". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How did you fix this?