RuntimeError: This functionality is not available because boost::coroutine was not found at compile-time

Command and error message

$ python alu.py
Traceback (most recent call last):
  File "alu.py", line 60, in <module>
    for e in gt.bfs_iterator(g, g.vertex(0)):
  File "/usr/lib/python2.7/dist-packages/graph_tool/search/__init__.py",
line 345, in bfs_iterator
    return libgraph_tool_search.bfs_search_generator(g._Graph__graph,
int(source))
RuntimeError: This functionality is not available because boost::coroutine
was not found at compile-time

System info:
Memory: 15.6 GiB
Processor: Intel® Xeon(R) CPU E5-2620 0 @ 2.00GHz × 12
Graphics: VESA: MGA-G200
OS type: 64-bit, Ubuntu 12.04 (server), 12-core machine
Disk: 235 GB

Boost version: 1.61 (The error is supposed to be solved in boost

1.58 as per the bug report

(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802509)

config.log
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4026638/config.log&gt;
alu.py (the file which gives error)
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4026638/alu.py&gt;

One warning from config.log which might be relevant

configure:19688: WARNING: No usable boost::coroutine found! Some
functionality will be disabled in the library.

Try enabling it by hand:

    ./configure --with-boost-coroutine