Dear Boost user,

while installing boost, i am getting many error messages as below, how to overcome these errors, please help me

thanking you in advance
Naveen


Building the Boost C++ Libraries.


Performing configuration checks

    - 32-bit                   : no
    - 64-bit                   : yes
    - x86                      : yes
    - has_icu builds           : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - iconv (libc)             : yes
    - icu                      : no
    - icu (lib64)              : no
    - gcc visibility           : yes
    - long double support      : yes
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.

Component configuration:

    - chrono                   : building
    - context                  : building
    - date_time                : building
    - exception                : building
    - filesystem               : building
    - graph                    : building
    - graph_parallel           : building
    - iostreams                : building
    - locale                   : building
    - math                     : building
    - mpi                      : building
    - program_options          : building
    - python                   : building
    - random                   : building
    - regex                    : building
    - serialization            : building
    - signals                  : building
    - system                   : building
    - test                     : building
    - thread                   : building
    - timer                    : building
    - wave                     : building

...patience...
...patience...
...patience...
...patience...
...found 8697 targets...
...updating 824 targets...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:20:56: error: bzlib.h: No such file or directory
libs/iostreams/src/bzip2.cpp:31: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:32: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:33: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:34: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:35: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:36: error: ‘BZ_SEQUENCE_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:37: error: ‘BZ_PARAM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:38: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:39: error: ‘BZ_DATA_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:40: error: ‘BZ_DATA_ERROR_MAGIC’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:41: error: ‘BZ_IO_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:42: error: ‘BZ_UNEXPECTED_EOF’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:43: error: ‘BZ_OUTBUFF_FULL’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:44: error: ‘BZ_CONFIG_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:48: error: ‘BZ_FINISH’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:49: error: ‘BZ_RUN’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In static member function ‘static void boost::iostreams::bzip2_error::check(int)’:
libs/iostreams/src/bzip2.cpp:62: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:63: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:64: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:65: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:66: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:68: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In constructor ‘boost::iostreams::detail::bzip2_base::bzip2_base(const boost::iostreams::bzip2_params&)’:
libs/iostreams/src/bzip2.cpp:80: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:80: error: expected ‘)’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp: In destructor ‘boost::iostreams::detail::bzip2_base::~bzip2_base()’:
libs/iostreams/src/bzip2.cpp:83: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:83: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:83: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:83: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:83: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:83: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::before(const char*&, const char*, char*&, char*)’:
libs/iostreams/src/bzip2.cpp:88: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:88: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:88: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:88: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:88: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:88: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:88: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::after(const char*&, char*&)’:
libs/iostreams/src/bzip2.cpp:97: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:97: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:97: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:97: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:97: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:97: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:97: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::check_end(const char*, const char*)’:
libs/iostreams/src/bzip2.cpp:104: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:104: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::end(bool)’:
libs/iostreams/src/bzip2.cpp:118: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:118: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:118: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:118: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:118: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:118: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:118: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp:121: error: ‘BZ2_bzCompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:122: error: ‘BZ2_bzDecompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::compress(int)’:
libs/iostreams/src/bzip2.cpp:128: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:128: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:128: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:128: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:128: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::decompress()’:
libs/iostreams/src/bzip2.cpp:133: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:133: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:133: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:133: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:133: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int, int), void (*)(void*, void*), void*)’:
libs/iostreams/src/bzip2.cpp:144: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:144: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:144: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:144: error: expected ‘>’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:144: error: expected ‘(’ before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:144: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:144: error: expected ‘)’ before ‘;’ token
libs/iostreams/src/bzip2.cpp:161: error: ‘BZ2_bzCompressInit’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:164: error: ‘BZ2_bzDecompressInit’ was not declared in this scope

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi>libboost_iostreams.so.1.52.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi>bzip2.o...
...skipped <pstage/lib>libboost_iostreams.so.1.52.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.4.6/release/threading-multi>libboost_iostreams.so.1.52.0...
...skipped <pstage/lib>libboost_iostreams.so for lack of <pstage/lib>libboost_iostreams.so.1.52.0...
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/posix/posix_backend.o
common.mkdir bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std/codecvt.o
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std/collate.o
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std/converter.o
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std/numeric.o
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/std/std_backend.o
gcc.compile.c++ bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/util/gregorian.o
gcc.link.dll bin.v2/libs/locale/build/gcc-4.4.6/release/threading-multi/libboost_locale.so.1.52.0
common.copy stage/lib/libboost_locale.so.1.52.0
ln-UNIX stage/lib/libboost_locale.so
common.mkdir bin.v2/libs/math/build
common.mkdir bin.v2/libs/math/build/gcc-4.4.6
common.mkdir bin.v2/libs/math/build/gcc-4.4.6/release
common.mkdir bin.v2/libs/math/build/gcc-4.4.6/release/threading-multi
common.mkdir bin.v2/libs/math/build/gcc-4.4.6/release/threading-multi/..
common.mkdir bin.v2/libs/math/build/gcc-4.4.6/release/threading-multi/../src
common.mkdir bin.v2/libs/math/build/gcc-4.4.6/release/threading-multi/../src/tr1
.
.
.
.
.
.
.

gcc.link.dll bin.v2/libs/program_options/build/gcc-4.4.6/release/threading-multi/libboost_program_options.so.1.52.0
common.copy stage/lib/libboost_program_options.so.1.52.0
ln-UNIX stage/lib/libboost_program_options.so
common.mkdir bin.v2/libs/python
common.mkdir bin.v2/libs/python/build
common.mkdir bin.v2/libs/python/build/gcc-4.4.6
common.mkdir bin.v2/libs/python/build/gcc-4.4.6/release
common.mkdir bin.v2/libs/python/build/gcc-4.4.6/release/threading-multi
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.6/release/threading-multi/numeric.o
In file included from ./boost/python/detail/prefix.hpp:13,
                 from ./boost/python/numeric.hpp:8,
                 from libs/python/src/numeric.cpp:6:
./boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such file or directory
./boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such file or directory
./boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
./boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file or directory
In file included from ./boost/python/object/pointer_holder.hpp:14,
                 from ./boost/python/to_python_indirect.hpp:10,
                 from ./boost/python/converter/arg_to_python.hpp:10,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object.hpp:9,
                 from ./boost/python/tuple.hpp:10,
                 from ./boost/python/numeric.hpp:10,
                 from libs/python/src/numeric.cpp:6:
./boost/python/instance_holder.hpp:34: error: ‘PyObject’ has not been declared
./boost/python/instance_holder.hpp:41: error: expected ‘;’ before ‘(’ token
./boost/python/instance_holder.hpp:45: error: ‘PyObject’ has not been declared
In file included from ./boost/python/object/pointer_holder.hpp:21,

.

.
.
.
.