今天安装bakefile
./configure
make
sudo make install
出现错误,提示没有python.h头文件。解决方法如下:
sudo apt-cache search python* | more
找到python-dev --header file and a static library for Python.
安装python-dev,这是Python的头文件和静态库包:
sudo apt-get install python-dev
安装完毕后:
make
sudo make install.
http://www.cnblogs.com/yuxc/archive/2012/05/13/2498019.html