I would like to install the python headers from boost, but after successfully (?) building under mac os 1.5, I get this error when trying to build boost on mac os 10.6 machines (tried on two machines with the same result)

./bootstrap.sh doesn't have problems
./bjam give me all kinds of errors

The kind of errors I get :

...failed darwin.compile.c++ bin.v2/libs/python/build/darwin-4.2.1/release/threading-multi/numeric.o...
darwin.compile.c++ bin.v2/libs/python/build/darwin-4.2.1/release/threading-multi/list.o
In file included from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
               from ./boost/python/detail/wrap_python.hpp:142,
               from ./boost/python/detail/prefix.hpp:13,
               from ./boost/python/list.hpp:8,
               from libs/python/src/list.cpp:5:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:761:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."

On the mac os 10.5 machine
gcc version 4.0.1 (Apple Inc. build 5490)

On the mac os 10.6 machines
gcc version 4.0.1 (Apple Inc. build 5490)
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

Python is 2.5.4 for all and located in /Library/Frameworks

are there any options I have to use with bootstrap.sh or bjam?