2011-03-11 86 views
3

我想在Arch Linux的大廈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回購建立它來構建Boost庫。自動編譯腳本可以找到here

現在,我得到:從Boost.Python的庫

./boost/python/*:50:23: fatal error: pyconfig.h: No such file or directory 
compilation terminated. 

在幾乎任何文件。所以python有些問題,boost並沒有找到它。在編譯結束時,我得到了:

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

任何幫助?

回答