Boost logo

Boost :

Subject: Re: [boost] how to build boost with bzip2 in non-standard location?
From: Oliver Kullmann (O.Kullmann_at_[hidden])
Date: 2009-05-20 16:19:44


so I need to set the "Boost.Build variables"


Or what is BZIP2_SOURCE? The installation of bzip2
offers only header files and link-libraries (as usual)?
Alright, I don't build bzip2 when building boost, and
so this likely doesn't apply.

However what is a "Boost.Build variable"??
I can't find this concept explained anywhere.

Starting with
speaks in 5.2.4 about "invoking bjam" (which should be related here),
and according to
there are "options", "properties" and "targets", but no "Boost.Build variables"?

Perhaps a property is meant?

So my current guess is to use (this I record for others, so that
they don't have to search and guess around) when installing boost:

bjam --user-config=PATH/bjam_config --prefix=INSTALL_DIR --build-dir=BUILD_DIR install \
--without-python --without-wave BZIP2_BINARY=PATH_TO_bzip2 BZIP2_INCLUDE=PATH_TO_DIRECTORY_WITH_bzlib.h \

I'll try that. Thanks!


On Wed, May 20, 2009 at 12:35:09PM -0700, Steven Watanabe wrote:
> Oliver Kullmann wrote:
> >I want to build the full boost library, while
> >I don't have bzip2 installed system-wide (but I
> >just downloaded and installed it locally).
> >
> >It seems to me that
> >
> >should be relevant here for that task, but I find the
> >descriptions too general to understand. I wonder whether
> >somebody could simply tell me the lines to be entered into
> >the bjam-configuration file?
> >
> >Perhaps
> >
> >bz2 : : <file> Path_to_libbz2.a ;
> >
> >But how to specify where to find bzlib.h ?
> >
> >Isn't it possible to specify the base directory, where then,
> >as, usual include, lib and bin are found?
> >
> >Thanks in any case!
> >
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at