[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    [Boost-users] Problem detecting python
From:       Philippe Fremy <phil () freehackers ! org>
Date:       2009-08-26 6:20:42
Message-ID: 4A94D43A.7060807 () freehackers ! org
[Download RAW message or body]


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 mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic