Boost logo

Boost Users :

Subject: [Boost-users] newbie fail: Too many levels of symbolic link
From: Gary Pajer (gary.pajer_at_[hidden])
Date: 2011-03-22 10:48:03


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
here<http://www.boost.org/doc/libs/1_46_1/libs/python/doc/building.html>and
(more to the point)
here<http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html#prepare-to-use-a-boost-library-binary>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



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