
AMDG On 04/01/2014 03:35 PM, Corentin Hamel wrote:
The problem is if I don't specify include="/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/"*/
I get the following error: /boost/python/detail/wrap_python.hpp:50:11: fatal error: 'pyconfig.h' file not found # include
^ 1 error generated.
It's failing for the same reason that linking is failing later. double initialization is corrupting the python module and preventing the flags from being passed to the compiler.
Even if using ./b2 --debug-configuration, I can see the python include path well set
notice: [python-cfg] interpreter command: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" notice: [python-cfg] include path: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" notice: [python-cfg] library path: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config" "/Library/Frameworks/Python.framework/Versions/2.7/lib"
And here is the full message output but debug configuration. I can't really see anything bad
Both ~/user-config.jam and ./project-config.jam are trying to set up python. Just delete the using python ; line from project-config.jam and you should be good. (This is a bug in the bootstrap script, which I will fix.) In Christ, Steven Watanabe