Can't get boost version 1.54.0 to compile (Debian Linux)
Hello. I'm quite new, and I've been needing Boost for something else I'm trying to compile... I've been trying to compile Boost, but it's giving me errors. Unfortunately, I can't use Debian's apt-get to get Boost, because I need version 1.5 or greater, and apt-get (for this version of Debian) only gets 1.49.0. I've put some feedback it gave me below. I've already run ./b2 (no arguments) before, so that's where the found targets are coming from. I'm not sure why I'm getting these errors...A whole bunch of header files are reported missing. I tried re-downloading Boost, and using a different format (tar.bz2 instead of tar.bz), but it still does the same thing. Building the Boost C++ Libraries. Performing configuration checks - 32-bit : yes (cached) - arm : no (cached) - mips1 : no (cached) - power : no (cached) - sparc : no (cached) - x86 : yes (cached) error: No best alternative for libs/coroutine/build/allocator_sources next alternative: required properties: <link>static <target-os>windows <threading>multi not matched next alternative: required properties: <link>static <segmented-stacks>on <threading>multi not matched next alternative: required properties: <link>static <threading>multi not matched - has_icu builds : yes (cached) warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam - zlib : yes (cached) - iconv (libc) : yes (cached) - icu : yes (cached) - compiler-supports-ssse3 : yes (cached) - compiler-supports-avx2 : yes (cached) - gcc visibility : yes (cached) - long double support : yes (cached) warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. - zlib : yes (cached) Component configuration: (All are building) ...patience... ...patience... ...patience... ...patience... ...patience... ...found 11439 targets... ...updating 70 targets... gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp" ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi/bzip2.o... ...skipped <pbin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi>libboost_iostreams.so.1.54.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi>bzip2.o... ...skipped <pstage/lib>libboost_iostreams.so.1.54.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/release/threading-multi>libboost_iostreams.so.1.54.0... ...skipped <pstage/lib>libboost_iostreams.so for lack of <pstage/lib>libboost_iostreams.so.1.54.0... gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/threading-multi/numeric.o In file included from ./boost/python/detail/prefix.hpp:13:0, from ./boost/python/numeric.hpp:8, from libs/python/src/numeric.cpp:6: ./boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory compilation terminated. ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi/bzip2.o... ...skipped <pbin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi>libboost_iostreams.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi>bzip2.o... ...skipped <pbin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi>bzip2.o... ...skipped <pstage/lib>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.7/release/link-static/threading-multi>libboost_iostreams.a... gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/numeric.o In file included from ./boost/python/detail/prefix.hpp:13:0, from ./boost/python/numeric.hpp:8, from libs/python/src/numeric.cpp:6: ./boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory compilation terminated. (From here on, I got a lot of errors that look like these ones.) "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/function_doc_signature.o" "libs/python/src/object/function_doc_signature.cpp" ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi/object/function_doc_signature.o... ...skipped <pbin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi>libboost_python.a(clean) for lack of <pbin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi>numeric.o... ...skipped <pbin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi>numeric.o... ...skipped <pstage/lib>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.7/release/link-static/threading-multi>libboost_python.a... ...failed updating 58 targets... ...skipped 12 targets...
participants (2)
-
Ban Hammer
-
Oliver Kowalke