Boost logo

Boost :

Subject: Re: [boost] building BOOST problems
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2011-04-11 03:40:11


Brestin Seby wrote:

> hello, I am trying now for several days to build Boost, but apparently I have encountered some
> errors. Please give some help.
>
>
> razyelx_at_razyelx-X51L:~/Libraries/boost_1_46_1$ bjam
>
> nBuilding the Boost C++ Libraries.nn
> warning: Graph library does not contain MPI-based parallel components.
> note: to enable them, add "using mpi ;" to your user-config.jam
> warning: skipping optional Message Passing Interface (MPI) library.
> note: to enable MPI support, add "using mpi ;" to user-config.jam.
> note: to suppress this message, pass "--without-mpi" to bjam.
> note: otherwise, you can safely ignore this message.
> ...patience...
> ...patience...
> ...patience...
> ...found 7309 targets...
> ...updating 70 targets...
> gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.5/release/threading-multi/bzip2.o
> libs/iostreams/src/bzip2.cpp:20: fatal error: bzlib.h: No such file or directory
> compilation terminated.

So, you're missing bzlib.h -- and quick Google search tells that it's part of libbz2.
On Debian, the package is libbz2-dev. Same for patchlevel.h -- it's part of *python*-dev,
packages, where * symbols differ per your operating system.

-- 
Vladimir Prus
Mentor Graphics
+7 (812) 677-68-40

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk