On Feb 22, 2011, at 9:52 AM, Vladimir Prus wrote:
Andreas Wehrmann wrote:
libs/iostreams/src/bzip2.cpp:164: error: 'BZ2_bzDecompressInit' was not declared in this scope
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.2.0/release/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"
...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.2.0/release/link-static/threading-multi/bzip2.o...
Here's you real error. You don't have headers for libbz2. Either install them, or use --without-iostreams when building.
We've been using the following addition to our user-config.jam for some time on systems that don't have libbz2, so that we still have the rest of the iostreams library. modules.poke : NO_BZIP2 : 1 ; NO_BZIP2 is documented in the iostreams Installation page, along with a number of similar options.