Boost logo

Boost Users :

From: Francesco A. Queirolo (faq_at_[hidden])
Date: 2005-10-05 10:09:52


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net