Installation with anaconda python
Hi, this looks to be a very promising tool. I use the anaconda scientific python stack for most my work, and thought to compile graph-tool with that. The installer script detects this python version and attempts to compile with it. However, it runs into an error with checking whether the Boost::Graph library is available... yes checking for exit in -lboost_graph... no checking for exit in -lboost_graph... (cached) no checking for exit in -lboost_graph-mt... no checking for exit in -lboost_graph-mt-py2.5... no configure: error: No usable boost::graph found The libboost-graph* libraries are installed systemwide. Attached is the config.log file for more information. I would appreicate some help in resolving this installation problem. Cheers, Arjun
Hi Arjun, I had success by passing --with-boost-python=py34 (in my case, for python 3.4) to configure It is also good to set $ export PYTHON_VERSION=3.4 $ export PYTHON=/path/to/your/anaconda/python Hope this helps, Guillaume Le 16/06/2015 02:26, Arjun Chennu a écrit :
Hi, this looks to be a very promising tool. I use the anaconda scientific python stack for most my work, and thought to compile graph-tool with that. The installer script detects this python version and attempts to compile with it. However, it runs into an error with
checking whether the Boost::Graph library is available... yes checking for exit in -lboost_graph... no checking for exit in -lboost_graph... (cached) no checking for exit in -lboost_graph-mt... no checking for exit in -lboost_graph-mt-py2.5... no configure: error: No usable boost::graph found
The libboost-graph* libraries are installed systemwide.
Attached is the config.log file for more information. I would appreicate some help in resolving this installation problem.
Cheers, Arjun
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 16.06.2015 02:26, Arjun Chennu wrote:
Hi, this looks to be a very promising tool. I use the anaconda scientific python stack for most my work, and thought to compile graph-tool with that. The installer script detects this python version and attempts to compile with it. However, it runs into an error with
checking whether the Boost::Graph library is available... yes checking for exit in -lboost_graph... no checking for exit in -lboost_graph... (cached) no checking for exit in -lboost_graph-mt... no checking for exit in -lboost_graph-mt-py2.5... no configure: error: No usable boost::graph found
The libboost-graph* libraries are installed systemwide.
Attached is the config.log file for more information. I would appreicate some help in resolving this installation problem.
The configure script cannot find boost::python, and cannot compile a boost::graph example. In the latter case, the compiler complains of missing symbols, which is very strange. What boost version are you using? Did you compile with the same GCC you are using for graph-tool? Did you enable boost::python and compile it against anaconda's version? Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (3)
-
Arjun Chennu -
Guillaume Gay -
Tiago de Paula Peixoto