Hello all I am trying to install (only) boost.python on my XP box to a directory other than the default C:Boost. I am running all of the command line options from a DOS command prompt. Boost: 1.33.0 Python: 2.4.2 (Final) MinGw: 4.1.1 I try: D:\Dev\boost_1_33_0\libs\python\build>bjam "--prefix=D:\Dev\boosttarget" "-sTOOLS=mingw" "--with-python-root=D:\Dev\Python24" "--with-python" install from a DOS command prompt. Where: D:\Dev\boosttarget is an existing directory mingw\bin is in my System path D:\Dev\Python24 is my python root My pexports output: Python24.a is in C:\WINDOWS\system32 The bjam output is: --------------------------------------------------------------------- *** If you don't need Boost.Python, you can ignore this section *** *** pass --without-python to suppress this message in the future *** skipping Boost.Python library build due to missing or incorrect configuration couldn't find Python.h in "c:/tools/python/include" You can configure the location of your python installation by setting: PYTHON_ROOT - currently "c:/tools/python" PYTHON_VERSION - The 2-part python Major.Minor version number (e.g. "2.2", NOT "2.2.1") - currently "2.2" The following are automatically configured from PYTHON_ROOT if not otherwise set: PYTHON_LIB_PATH - path to Python library object; currently "c:/tools/python/libs" --------------------------------------------------------------------- don't know how to make install ...found 1 target... ...can't find 1 target... I can give you any other system or set up parameters. BTW I specified where my python root is so I have no idea why it can't find Python.h! Thank you very much, Francesco
Francesco A. Queirolo wrote:
Hello all I am trying to install (only) boost.python on my XP box to a directory other than the default C:Boost. I am running all of the command line options from a DOS command prompt.
Boost: 1.33.0 Python: 2.4.2 (Final) MinGw: 4.1.1
I try:
D:\Dev\boost_1_33_0\libs\python\build>bjam "--prefix=D:\Dev\boosttarget" "-sTOOLS=mingw" "--with-python-root=D:\Dev\Python24" "--with-python" install
That will only work from "D:\Dev\boost_1_33_0
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g. "2.2", NOT "2.2.1") - currently "2.2"
And because you are using 2.4, and the default is 2.2, you also need to add the "-sPYTHON_VERSION=2.4" option. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (2)
-
Francesco A. Queirolo
-
Rene Rivera