请教关于boost.python的问题

请教关于boost.python的问题

我的python版本是2.5,boost是 boost_1_37_0,我只安装了boost.python,
安装boost过程
./configure --with-libraries=python --with-python=/usr/local/bin/python --with-toolset=gcc
make
make install

然后,编译了一个最简单的测试文件:
#include <boost/python.hpp>
using namespace boost::python;

char const* greet()
{
   return "hello, world";
}
       
BOOST_PYTHON_MODULE(hello_ext)
{
   
    def("greet", greet);
}

却报下面错误,哪位高人能给指点一下,不胜感激,找不到文件! 
In file included from /usr/local/include/boost/python/detail/prefix.hpp:13,
                 from /usr/local/include/boost/python/args.hpp:8,
                 from /usr/local/include/boost/python.hpp:11,
                 from test_boost_python.cpp:2:
/usr/local/include/boost/python/detail/wrap_python.hpp:50:23: pyconfig.h: 没有那个文件或目录
/usr/local/include/boost/python/detail/wrap_python.hpp:75:24: patchlevel.h: 没有那个文件或目录
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: #error Python 2.2 or higher is required for this version of Boost.Python.
/usr/local/include/boost/python/detail/wrap_python.hpp:142:21: Python.h: 没有那个文件或目录
In file included from /usr/local/include/boost/python/cast.hpp:13,
                 from /usr/local/include/boost/python/handle.hpp:10,
                 from /usr/local/include/boost/python/args_fwd.hpp:10,
                 from /usr/local/include/boost/python/args.hpp:10,
                 from /usr/local/include/boost/python.hpp:11,
                 from test_boost_python.cpp:2:
/usr/local/include/boost/python/base_type_traits.hpp:24: `PyObject' was not
   declared in this scope
/usr/local/include/boost/python/base_type_traits.hpp:25: template argument 1 is
   invalid
/usr/local/include/boost/python/base_type_traits.hpp:26: confused by earlier errors, bailing out
解决了,我太菜了,忘了 -I/usr/local/include/python