On 13.04.2016 17:13, Yannis Haralambous wrote:
I'm trying to install graph-tool under Ubuntu 14. I didn't found gcc5 in the list of synaptic packages but I did installed clang3.4.
Clang 3.4 is too old to compile graph-tool. Please read the installation instructions carefully, in particular the note about Ubuntu 14: https://graph-tool.skewed.de/download#debian which says: When using Ubuntu 14.04 LTS (Trusty Tahr) or 15.04 (Vivid Vervet), it is necessary need to install the following PPA repository, which contains a newer GCC version and associated libraries: add-apt-repository ppa:ubuntu-toolchain-r/test This will give you GCC 5. Also, please use the pre-compiled packages for Ubuntu, instead of trying compiling it yourself.
But when I run ./configure, it doesn't find clang3.4 (and probably detects pre-installed gcc 4.8.2 instead). How can I tell ./configure to use clang3.4 rather than gcc4.8.2 ?
To select a particular compiler, e.g. GCC 5, you have to call ./configure CXX="gcc-5" But please try to install the pre-compiled packages first, since it is far easier. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>