Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] Re: Build error 1.46
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2011-02-22 23:44:31


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net