TRIQS/TRIQS — Issue #5: Python fails to import boost during installation
Author: tomaok
Created: 2011-11-10 19:03:02+00:00
State: open

The installation fails at the cmake stage.

cmake TRIQS -D_BOOST_SOURCE_DIR=/mydir/boost_1_47_0
yields the following error:

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named boost
CMake Error at cmake/FindPython.cmake:78 (MESSAGE):
The script : import boost; print boost.__path__[0]

did not run properly in the Python interpreter. Check your python installation.

Python 2.6 (and 2.7) is installed, boost 1.47.0 is untarred in the indicated directory (OS: MacOSX 10.6.8). I guess I should tell Python where to find the boost module, but so far I haven't found how I could do this. It seems strange that Python should "know" about boost since the installation instructions require that boost sources be only untarred somewhere...

Do you have any idea how to solve this issue?
Thanks
Thomas