Building Python.Boost 2 with VC

Hi all, I'm having problems building Boost.Python with VC 2003. I'm reading the howto, but I must be missing something. My Python 2.4 is installed in C:\Python (using official Windows installer) My user-config.jam looks like this: import toolset : using ; using msvc : 7.1 ; using python : 2.4 : C:\\Python ; (I have tried C:\Python and C:/Python, no luck) When I run bjam: tools\bjam.exe --with-python I get the following error: 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: Python location is not configured warning: the Boost.Python library won't be built ...found 1 target... user-config.jam is begin read, because bjam reports errors in it. What am I missing? Thank you, -- Marko ICQ: 5990814 I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get.

on Thu Nov 29 2007, Marko Bozikovic
Hi all,
I'm having problems building Boost.Python with VC 2003.
I'm reading the howto, but I must be missing something.
My Python 2.4 is installed in C:\Python (using official Windows installer)
My user-config.jam looks like this:
import toolset : using ; using msvc : 7.1 ; using python : 2.4 : C:\\Python ;
(I have tried C:\Python and C:/Python, no luck)
When I run bjam: tools\bjam.exe --with-python
I get the following error:
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: Python location is not configured warning: the Boost.Python library won't be built ...found 1 target...
user-config.jam is begin read, because bjam reports errors in it.
Clearly not, when you're seeing the above warnings. Have you tried following http://boost.org/libs/python/doc/building.html? You shouldn't even need to have a user-config.jam for those instructions to work. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

David Abrahams wrote:
Clearly not, when you're seeing the above warnings. Have you tried following http://boost.org/libs/python/doc/building.html?
You shouldn't even need to have a user-config.jam for those instructions to work.
Hm, I ran the build with --debug-configuration option, and the output indicated that python interpreter was found in C:\Python, but running the test commands failed (although C:\Python is in PATH and I can start it from the prompt without problems) That was in 4NT shell. Then I started cmd.exe and everything worked. Strange. Never had any problems building other boost libs (like thread or regex) using 4NT. -- Marko ICQ: 5990814 I'm not under the alkafluence of inkahol that some thinkle peep I am. It's just the drunker I sit here the longer I get.

on Fri Nov 30 2007, Marko Bozikovic
David Abrahams wrote:
Clearly not, when you're seeing the above warnings. Have you tried following http://boost.org/libs/python/doc/building.html?
You shouldn't even need to have a user-config.jam for those instructions to work.
Hm, I ran the build with --debug-configuration option, and the output indicated that python interpreter was found in C:\Python, but running the test commands failed (although C:\Python is in PATH and I can start it from the prompt without problems)
That was in 4NT shell. Then I started cmd.exe and everything worked. Strange. Never had any problems building other boost libs (like thread or regex) using 4NT.
4NT is not supported by Boost.Build. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (2)
-
David Abrahams
-
Marko Bozikovic