Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams] with compression filters?
From: eg (egoots_at_[hidden])
Date: 2009-03-04 02:05:10

Mikko Vainio wrote:
> Dear boosters,
> I'm trying to compile IOStreams from 1.38.0 with bzip2 compression
> enabled on windows. The docs say "you will need to set variables
> indicating the location of the source files". Setting
> variables in user-config.jam doesn't seem to do the trick. Providing
> "-s|BZIP2_SOURCE|=..." or any of the other related variables or
> combinations thereof on the command line for bjam does not help. Does
> anyone out there have an example on how to do this exactly?
> I suggest such an example to be added to the documentation.
> Or is this a bug in the build system?

While I haven't built it with 1.38.0, I have done previous versions.

I found that I ONLY set the zlib path environment variables...
zlib_libpath, zlib_source, and zlib_include. In fact, I just set them as
explicit environment variables and then called bjam with the correct

I did not do anything with no_zlib or no_compression (IIRC they caused
me problems).

I believe the bzip2 settings are analogous.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at