|
Boost-Build : |
Subject: Re: [Boost-build] Disable Python / Boost.Regex Unicode warnings when running bjam
From: Christian Auby (christian_at_[hidden])
Date: 2010-02-11 04:07:17
Time to get this figured out. As a reminder, boost is being used with:
use-project /boost : d:/dev/lib/boost ;
in user-config.jam, as I want to be able to recompile the required boost
libs with the -a switch. (I change compilers and compiler settings a lot.)
Here's the debug configuration:
--- notice: found boost-build.jam at D:/dev/lib/boost/tools/build/v2/boost-build.jam notice: loading Boost.Build from D:/dev/lib/boost/tools/build/v2/kernel notice: Searching C:\Windows C:\Users\christian C:\Users\christian D:\dev\lib\boost\tools\build\v2\kernel D:\dev\lib\boost\tools\build\v2 D:/dev/lib/boost/tools/build/v2/kernel D:/dev/lib/boost/tools/build/v2/util D:/dev/lib/boost/tools/build/v2/build D:/dev/lib/boost/tools/build/v2/tools D:/dev/lib/boost/tools/build/v2/contrib D:/dev/lib/boost/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from D:/dev/lib/boost/tools/build/v2/site-config.jam . notice: Searching C:\Users\christian C:\Users\christian D:\dev\lib\boost\tools\build\v2\kernel D:\dev\lib\boost\tools\build\v2 D:/dev/lib/boost/tools/build/v2/kernel D:/dev/lib/boost/tools/build/v2/util D:/dev/lib/boost/tools/build/v2/build D:/dev/lib/boost/tools/build/v2/tools D:/dev/lib/boost/tools/build/v2/contrib D:/dev/lib/boost/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from D:/dev/lib/boost/tools/build/v2/user-config.jam . notice: will use 'g++' for gcc, condition <toolset>gcc-4.4.1-mingw notice: using gcc libraries :: <toolset>gcc-4.4.1-mingw :: D:\dev\MinGW/bin D:\dev\MinGW/lib D:\dev\MinGW/lib32 D:\dev\MinGW/lib64 notice: using gcc archiver :: <toolset>gcc-4.4.1-mingw :: D:\dev\MinGW\bin\ar.exe notice: using rc compiler :: <toolset>gcc-4.4.1-mingw :: D:\dev\MinGW\bin\windres.exe notice: iostreams: not using zlib compression notice: iostreams: not using zlib compression notice: iostreams: not using bzip2 compression notice: iostreams: not using bzip2 compression notice: [python-cfg] Configuring python... notice: [python-cfg] Checking interpreter command "python"... 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] 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 --- Christian On 1/28/2010 9:21 PM, Juergen Hunold wrote: > Hi Christian, > > On Thursday 28 January 2010, you wrote: >> --- >> 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 warning: Building Boost.Regex >> with the optional Unicode/ICU support disabled. >> note: Please refer to the Boost.Regex documentation for more >> information note: this is a strictly optional feature. >> --- >> >> I don't need either of these, so how would I turn off these warnings? > > First, which version of Boost and Boost.Build are you using ? I just > checked and those warnings only appear in trunk when building boost. > Building from outside (means my own programs) works without warnings. > Volodya fixed this a while ago... > >> Preferably in site-config.jam or user-config.jam as the project >> Jamroot.jam is used by other people as well. I'd rather not type >> --without-python on the command line every time build. > > How do you set up Boost in which "Jamroot.jam" ? > > Can you provide the output of "bjam --debug-configuration" as this might > shed some light on this ? > > Yours, > > Jürgen
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