Boost logo

Boost Users :

From: Albrecht Fritzsche (albrecht.fritzsche_at_[hidden])
Date: 2002-04-30 01:47:48


Hi,

since I've read in the documentation

"Boost.Python is known to have been tested in the following configurations:
 Against Python 2.0 using the following compiler/library combinations:
         MSVC++6sp4 with the native library.
         ...
 Against Python 1.5.2 using the following compiler/library:
          MSVC++6sp4
          MSVC++6sp4/STLport 4.0"

and since I am using the MSVC++6sp4/STLport 4.0 combination I deinstalled
Python 2.2 (for which the build failed) and installed Python 1.5.2.

Running

G:\Environment\boost_1_27_0>jam -sBOOST_ROOT=. -sTOOLS="msvc-stlport"

I get the following errors:

don't know how to make <python-library@>python21.lib
...patience...
...patience...
...found 2247 targets...
...using 2 temp targets...
...updating 132 targets...
...can't find 1 target...
...can't make 42 targets...
msvc-C++-action
libs\python\build\bin\libboost_python_static\msvc-stlport\debug\
runtime-link-dynamic\stlport-iostream-off\stlport-version-4.0\types.obj
types.cpp
.\boost/python/detail/wrap_python.hpp(24) : fatal error C1083:
Include-Datei kann
nicht geoeffnet werden: 'patchlevel.h': No such file or directory

    cl /Zm400 -nologo -GX -c -DBOOST_PYTHON_STATIC_LIB=1
-DBOOST_PYTHON_DYNAMI
C_LIB -D__STL_NO_SGI_IOSTREAMS=1 -D__STL_DEBUG=1
-D__STL_DEBUG_UNINITIALIZED=1
/Zi /Od /Ob0 /GX /GR /MDd -I"libs\python\build" -I"."
-I"c:/tools/python\inclu
de" -I"c:/tools/python\PC" -I"\stlport"
-I"D:\PROGRA~1\MICROS~1.0\VC98\include"
  
-Fo"libs\python\build\bin\libboost_python_static\msvc-stlport\debug\runtime-li
nk-dynamic\stlport-iostream-off\stlport-version-4.0\types.obj"
-Tp"libs\python\
build\../src\types.cpp"

...failed msvc-C++-action
libs\python\build\bin\libboost_python_static\msvc-stlp
ort\debug\runtime-link-dynamic\stlport-iostream-off\stlport-version-4.0\types.ob
j ...
msvc-C++-action
libs\python\build\bin\libboost_python_static\msvc-stlport\debug\
runtime-link-dynamic\stlport-iostream-off\stlport-version-4.0\classes.obj
classes.cpp
.\boost/python/detail/wrap_python.hpp(24) : fatal error C1083:
Include-Datei kan
n nicht geoeffnet werden: 'patchlevel.h': No such file or directory
............

[The obvious translation of this error message is: Cannot open include
file 'patchlevel.h'.]

What am I doing wrong? By the way, all of the other libs including tests
are compiling
with Jam without any problems at all.

And, as a second quesion, why is there no MSVC++6sp4/STLport 4.0 support
for the
newer Python versions - by the way, there is already a Python v2.2.

Thanks for any hints and help
Ali

    *


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