bakefile 缺少python.h的错误

来源:互联网 发布:增值税申报软件 编辑:程序博客网 时间:2024/05/23 18:11
今天安装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

原创粉丝点击