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

List:       boost-build
Subject:    Re: [Boost-build] [Boost-users] Problem detecting python
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2009-09-30 16:43:50
Message-ID: 200909302043.50786.ghost () cs ! msu ! su
[Download RAW message or body]

On Wednesday 30 September 2009 Christian O'Reilly wrote:

> I tried with
> 
> using python : : "E:/Program Files/pythonxy" ;
> 
> and then with
> 
> using python : : "E:/Program Files/pythonxy/python/python.exe" ;
> 
> without any difference. I got as output
> 
> notice: Loading user-config configuration file user-config.jam from
> C:/Documents
>  and Settings/chore/user-config.jam .
> notice: [python-cfg] Configuring python...
> notice: [python-cfg]   user-specified cmd-or-prefix: "E:/Program
> Files/pythonxy/
> python/python.exe"
> notice: [python-cfg] Checking interpreter command "E:/Program
> Files/pythonxy/pyt
> hon/python.exe"...
> notice: [python-cfg] running command 'DIR /-C /A:S "E:\Program
> Files\pythonxy\py
> thon\python.exe" 2>&1'
> notice: [python-cfg] running command '"E:/Program
> Files/pythonxy/python/python.e
> xe" -c "from sys import *; print
> 'version=%d.%d\nplatform=%s\nprefix=%s\nexec_pr
> efix=%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.

Can you open tools/build/v2/tools/python.jam, and then find code
that goes like this:

        # Invoke Python and ask it for all those values.
        if [ version.check-jam-version 3 1 17 ] || ( [ os.name ] != NT )
        {
            # Prior to version 3.1.17 Boost Jam's SHELL command did not support
            # quoted commands correctly on Windows. This means that on that
            # platform we do not support using a Python command interpreter
            # executable whose path contains a space character.
            python-cmd = \"$(python-cmd)\" ;
        }

Then, remove it completely, and tell if that improves things. This is wild guess;
it might not help.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

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