Boost logo

Boost Users :

Subject: [Boost-users] Problem detecting python
From: Philippe Fremy (phil_at_[hidden])
Date: 2009-08-26 02:20:42


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...

cheers,

Philippe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net