Boost Users :
Subject: Re: [Boost-users] compilation
From: Lars Viklund (zao_at_[hidden])
Date: 2013-12-25 15:03:30
On Wed, Dec 25, 2013 at 09:38:41PM +0530, Mihir Thakkar wrote:
> gcc.compile.c++ bin.v2/libs/iostreams/build/
> libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or
> compilation terminated.
There's three dependencies that commonly crop up as "errors" in optional
modules when building a Boost on the typical machine.
They are bzip2, zlib and Python.
Some distros distribute them split into two packages each, one plain for
the libraries/binaries, and one for the development headers.
It's common that only the runtime package are installed. If you want to
build all the slightly optional parts and Boost.Python, you need to
install the development packages.
They are on Ubuntu:
libpython2.7-dev (and libpython3.3-dev)
And on Fedora/Redhat:
python-devel (and python3-devel)
Of course, if you don't need zlib/bzip2 filters in Boost.IOstreams, or
Boost.Python, you don't need these dependencies.
-- Lars Viklund | zao_at_[hidden]
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