
I have a c++ shared library, and I'd like to use the classes and functions in python. So I'm trying boost.python. I'm on Ubuntu 10.10, and I've downloaded the boost tarball. I think I've followed the instructions herehttp://www.boost.org/doc/libs/1_46_1/libs/python/doc/building.htmland (more to the point) herehttp://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html...to the letter. But when I execute "sudo ./bjam" I get dozens upon dozens of failures. For example, "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.4.5/release/link-static/threading-multi/numeric.o" "libs/python/src/numeric.cpp" ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.5/release/link-static/threading-multi/numeric.o... gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.5/release/link-static/threading-multi/list.o In file included from ./boost/python/detail/config.hpp:15, from ./boost/python/detail/prefix.hpp:14, from ./boost/python/list.hpp:8, from libs/python/src/list.cpp:5: ./boost/config.hpp:35: fatal error: ./boost/boost/config/compiler/gcc.hpp: Too many levels of symbolic links compilation terminated. The file references are different, but the error is always the same. What have I done wrong? thanks, gary_p