Thanks for the advice. I added the repository and installed gcc-5 via Synaptics. I asked for ./configure CXX="gcc-5" as you said, but I still get the error message
checking whether gcc-5 supports C++14 features by default... no checking whether gcc-5 supports C++14 features with -std=gnu++14... no checking whether gcc-5 supports C++14 features with -std=gnu++0x... no configure: error: *** A compiler with support for C++14 language features is required. My version of gcc-5 is gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04) What am I doing wrong? 2016-04-13 18:08 GMT+02:00 Tiago de Paula Peixoto <[email protected]>: > 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 <[email protected]> > > > _______________________________________________ > graph-tool mailing list > [email protected] > https://lists.skewed.de/mailman/listinfo/graph-tool > >
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
