Boost logo

Boost-Build :

Subject: Re: [Boost-build] Getting bjam to build with python in windows
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-09-29 09:16:04


Mats Carlsson wrote:

> Hi!
>
> I'm trying to run bjam using this command:
> bjam --with-system --with-thread --with-date_time --with-regex
> --with-serialization stage
>
> I get a message that tells me that bjam can not find python:
> 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
>
> When running:
> bjam --debug-configuration
>
> I get:
> notice: [python-cfg] Configuring python...
> notice: [python-cfg] Checking interpreter command "python"...
> notice: [python-cfg] running command 'DIR /-C /A:S
> "C:\Python31\python.exe" 2>&1'
> notice: [python-cfg] running command '"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.
> notice: [python-cfg] running command 'DIR /-C /A:S
> "C:\Python31\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>"
>
> It seems to find python (C:\Python31\python.exe), but I guess it
> should use pythonw.exe instead of python.exe.

Matt,

Boost 1.40 is not supposed to work with Python 3.* at all -- neither
configuration code, nor Boost.Python codebase is going to work.

Please either try 2.* or use SVN trunk -- which had Python 3.* support
merged.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk