I found the solution at https://svn.boost.org/trac/boost/attachment/ticket/2069/boost_mpl_gcc-4_4.patch
#elif BOOST_PP_ITERATION_DEPTH() == 1 must be changed to #elif BOOST_PP_ITERATION_DEPTH == 1 
 
// Naderan *Mahmood;



From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: boost-users@lists.boost.org
Sent: Sun, April 18, 2010 6:33:42 PM
Subject: compilation won't stop upon errors

Hi,
During the installation of BOOST, I get many errors but the process won't stop. I have pasted some of the errors. What is the problem?
                 from /home/mahmood/boost_1_33_0/boost/program_options/detail/config_file.hpp:17,
                 from /home/mahmood/boost_1_33_0/libs/program_options/build/../src/config_file.cpp:10:
/home/mahmood/boost_1_33_0/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
/home/mahmood/boost_1_33_0/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from /home/mahmood/boost_1_33_0/boost/mpl/lambda.hpp:18,
                 from /home/mahmood/boost_1_33_0/boost/mpl/apply.hpp:25,
                 from /home/mahmood/boost_1_33_0/boost/iterator/iterator_facade.hpp:34,
                 from /home/mahmood/boost_1_33_0/boost/program_options/eof_iterator.hpp:9,
                 from /home/mahmood/boost_1_33_0/boost/program_options/detail/config_file.hpp:17,
                 from /home/mahmood/boost_1_33_0/libs/program_options/build/../src/config_file.cpp:10:
/home/mahmood/boost_1_33_0/boost/mpl/bind.hpp:364:31: error: missing binary operator before token "("
/home/mahmood/boost_1_33_0/boost/mpl/bind.hpp:531:31: error: missing binary operator before token "("
In file included from /home/mahmood/boost_1_33_0/boost/mpl/lambda.hpp:22,
                 from /home/mahmood/boost_1_33_0/boost/mpl/apply.hpp:25,
                 from /home/mahmood/boost_1_33_0/boost/iterator/iterator_facade.hpp:34,
                 from /home/mahmood/boost_1_33_0/boost/program_options/eof_iterator.hpp:9,
                 from /home/mahmood/boost_1_33_0/boost/program_options/detail/config_file.hpp:17,
                 from /home/mahmood/boost_1_33_0/libs/program_options/build/../src/config_file.cpp:10:

 
// Naderan *Mahmood;