C++ 构建boost库

C++ 构建boost库,c++,python,boost,compilation,C++,Python,Boost,Compilation,我正在尝试在ArchLinux下构建boost库 $ uname -a Linux wincode 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 25 07:53:43 CET 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux $ python --version Python 3.2 $ ls /usr/include/python python2.7/

我正在尝试在ArchLinux下构建boost库

$ uname -a
Linux wincode 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 25 07:53:43 CET 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux

$ python --version
Python 3.2

$ ls /usr/include/python
python2.7/   python3.2mu/

$ ls /usr/lib/python
python2.6/ python2.7/ python3.1/ python3.2/ 
我正在使用aur repo构建它。无法找到自动编译脚本

现在我得到:

./boost/python/*:50:23: fatal error: pyconfig.h: No such file or directory
compilation terminated.
在boost.python库中的几乎任何文件中。因此python有问题,boost找不到它。在编译结束时,我得到:

...failed updating 336 targets...
...skipped 48 targets...
...updated 13264 targets...

有什么帮助吗?

谷歌快速搜索会提供

基本上,将python include目录添加到include搜索路径