Subject: Re: [boost] how to build boost with bzip2 in non-standard location?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-20 16:26:51
Oliver Kullmann wrote:
> so I need to set the "Boost.Build variables"
> BZIP2_BINARY, BZIP2_INCLUDE, BZIP2_LIBPATH, BZIP2_SOURCE.
> 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!
It's -sBZIP2_INCLUDE=/path/to/directory (e.g.)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk