Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem detecting python
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-08-26 10:29:05


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


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