|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Getting bjam to build with python in windowsHi!
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. I do not how to get bjam to look in the right place. I have been looking in some of the config.jam files, but I do not know how, or if I should change them. If some one could give some help it would be greatly appreciated. BR, /Mats Carlsson _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsMats 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 > Do you really want the python library to be built (you're not using "--with-python"), or are you simply concerned over the warnings? If the former, add "--with-python" to your bjam invocation and read up under: http://www.boost.org/doc/libs/1_40_0/libs/python/doc/building.html#configuring-boost-build If the latter, ignore the warnings. IIRC similar warnings (regarding libraries not actually being built in the current build request) should have been fixed in later Boost versions - which version of Boost are you using? / Johan _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsI also get this warning every time I run bjam on windows. Is there a
boost.build configuration file somewhere that I can set it to ignoring this? If Mats doesn't need python that's probably useful for him too. Christian Johan Nilsson wrote: > 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 >> > > Do you really want the python library to be built (you're not using > "--with-python"), or are you simply concerned over the warnings? > > If the former, add "--with-python" to your bjam invocation and read up > under: > http://www.boost.org/doc/libs/1_40_0/libs/python/doc/building.html#configuring-boost-build > > > If the latter, ignore the warnings. IIRC similar warnings (regarding > libraries not actually being built in the current build request) should > have been fixed in later Boost versions - which version of Boost are you > using? > > / Johan > > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost-build > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsI use boost 1.40.0 i suppose. It seems to invoke the --with-python by
default and I get an error message when using the --without-python (both --with and --without error). I need python, but I'm not sure if I need it to be built or just connected to the boost-things. I was told that the python stuff that came with the boost download did not work properly with the eclipse/windows setup I have. So I had to build, or somehow get it connected to my project. Like I said it seems that bjam is looking in the right place but choosing the wrong executable (pythonw.exe vs. python.exe). But I'm new to this so I might be misunderstanding the feedback. /Mats 2009/9/29 Johan Nilsson <r.johan.nilsson@...>: > 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 >> > > Do you really want the python library to be built (you're not using > "--with-python"), or are you simply concerned over the warnings? > > If the former, add "--with-python" to your bjam invocation and read up > under: > http://www.boost.org/doc/libs/1_40_0/libs/python/doc/building.html#configuring-boost-build > > If the latter, ignore the warnings. IIRC similar warnings (regarding > libraries not actually being built in the current build request) should have > been fixed in later Boost versions - which version of Boost are you using? > > / Johan > > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost-build > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsMats 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsOk, I tried with python 2.6. It seems to work better, bjam finds
python (I think): notice: [python-cfg] Configuring python... notice: [python-cfg] Registry indicates Python 2.6 installed at "C:\Python26\" 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] Checking interpreter command "C:\Python26\python"... notice: [python-cfg] running command 'DIR /-C /A:S "C:\Python26\python.exe" 2>&1' notice: [python-cfg] running command '"C:\Python26\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] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "C:\Python26\python" notice: [python-cfg] include path: "C:\Python26\Include" notice: [python-cfg] library path: "C:\Python26\libs" notice: [python-cfg] DLL search path: "C:\Python26" But I get some other problems. It seems that the command "cl" is not found so I get a lot of "...failed compiled-c-c++ ..." /Mats 2009/9/29 Vladimir Prus <vladimir@...>: > 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 > > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsOn Tuesday 29 September 2009, Mats Carlsson wrote:
> But I get some other problems. It seems that the command "cl" is not > found so I get a lot of "...failed compiled-c-c++ ..." Take a closer look at the debug output. It should tell you which compiler was detected... Or just attach the log and some of the failing commands... Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@... ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke ! _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Getting bjam to build with python in windowsHow do I get the log?
/Mats 2009/9/29 Juergen Hunold <juergen.hunold@...>: > On Tuesday 29 September 2009, Mats Carlsson wrote: >> But I get some other problems. It seems that the command "cl" is not >> found so I get a lot of "...failed compiled-c-c++ ..." > > Take a closer look at the debug output. It should tell you which > compiler was detected... > Or just attach the log and some of the failing commands... > > Yours, > > Jürgen > -- > * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für > * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH > * fax : ++49 511 262926 99 ! Lister Straße 15 > * juergen.hunold@... ! www.ivembh.de > * > * Geschäftsführer: ! Sitz des Unternehmens: Hannover > * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 > * PD Dr.-Ing. Alfons Radtke ! > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
| Free embeddable forum powered by Nabble | Forum Help |