
Philippe Fremy wrote:
Hi,
bjam does not seem to pick my python installation on windows.
This is running on Windows XP, toolset gcc, boost 1.39, compiling from source with no changes.
D:\program\boost_1_39_0>bjam --debug-configuration -d+2 --debug-building [...] notice: [python-cfg] running command '"C:\Python25\python" -c "from sys import *; print 'version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable)" 2>&1'notice: [python-cfg] ...does not invoke a working interpreter
notice: [python-cfg] No working Python interpreter found.
The strange thing is that if I run the same command line, it works perfectly: D:\program\boost_1_39_0>"C:\Python25\python" -c "from sys import *; print 'version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable)" 2>&1 version=2.5
platform=win32
prefix=C:\Python25
exec_prefix=C:\Python25
executable=C:\Python25\python.exe
Any idea what confuses bjam ?
I could not find any log file to see more details of what is going wrong...
Could you please try 1.40 alpha: http://boost.cowic.de/rc/ There are different next steps depending on whether it works or not. Thanks, Volodya