I am trying to build boost.python following this link. When I try to compile using ./b2 or ./bjam, I am getting errors like:
boost.python
./b2
./bjam
The problem was not installing the python-devel or python-dev package corresponding to my python version.
python-devel
python-dev
In my case it was python2.6 so
sudo yum install python26-devel did the trick.
sudo yum install python26-devel