Capacity building library

I am trying to create an additional library under Arch Linux

$ 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/ 

I am building it with aur-repo. You can autocompile the script here .

Now I get:

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

in almost any file from boost.python library. So something is wrong with python, and boost cannot find it. At the end of the compilation, I got:

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

Any help?

+3
source share
1 answer

A quick google search appears http://lists.boost.org/boost-build/2006/04/13457.php .

Basically, add your python include directory in the include search path.

0
source

All Articles