Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem detecting python
From: Christian O'Reilly (christian.oreilly_at_[hidden])
Date: 2009-09-29 20:31:05


I seem to have a problem similar to the one first spoke about in this thread,
however I have it with the version 1.4.0.I try co compile boost_python
library with MinGW under XP. Here is the command I use :

E:\PySide_dev\boost_1_40_0>bjam toolset=gcc --with-python
--debug-configuration stage

And here is a part of the output I get :

notice: [python-cfg] Registry indicates Python 2.5 installed at "E:\Program
File
s\pythonxy\python\"
notice: [python-cfg] Checking interpreter command "python"...
notice: [python-cfg] running command 'DIR /-C /A:S "E:\Program
Files\pythonxy\py
thon\python.exe" 2>&1'
notice: [python-cfg] running command '"python" -c "from sys import *; print
'ver
sion=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' %
(version_in
fo[0],version_info[1],platform,prefix,exec_prefix,executable)" 2>&1'
notice: [python-cfg] ...does not invoke a working interpreter
notice: [python-cfg] Checking interpreter command "E:\Program
Files\pythonxy\pyt
hon\python"...
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"
-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_pref
ix,executable)" 2>&1'
notice: [python-cfg] ...does not invoke a working interpreter
notice: [python-cfg] No working Python interpreter found.
notice: [python-cfg] running command 'DIR /-C /A:S "E:\Program
Files\pythonxy\py
thon\python.exe" 2>&1'
notice: [python-cfg] falling back to "python"
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "python"
notice: [python-cfg] include path: "Include"
notice: [python-cfg] library path: "\libs"
notice: [python-cfg] DLL search path: "<empty>"
WARNING: No python installation configured and autoconfiguration
         failed. See http://www.boost.org/libs/python/doc/building.html
         for configuration instructions or pass --without-python to
         suppress this message and silently skip all Boost.Python targets

Notice that the informations obtained from the command '"E:\Program
Files\pythonxy\python\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_pref
ix,executable)" 2>&1' are correct.

Any idea how to solve this?

-- 
View this message in context: http://www.nabble.com/Problem-detecting-python-tp25153064p25670428.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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