Compilation error of 3.1 in ubuntu 17.10

Discussions on installation issues go here.

Moderator: Moderators

stumpc5
Posts: 6
Joined: 24 Nov 2011, 13:33

Compilation error of 3.1 in ubuntu 17.10

Postby stumpc5 » 11 Dec 2017, 17:41

the error message is

/usr/include/c++/7/limits:321:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~
/usr/include/c++/7/limits:327:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
lowest() noexcept { return _Tp(); }
^~~~~~
/usr/include/c++/7/limits:333:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
epsilon() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~
/usr/include/c++/7/limits:337:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
round_error() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~~~~~
/usr/include/c++/7/limits:341:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
infinity() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~~
/usr/include/c++/7/limits:346:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
quiet_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~~~
/usr/include/c++/7/limits:351:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
signaling_NaN() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~~~~~~~
/usr/include/c++/7/limits:357:7: error: invalid abstract return type ‘pm::graph::EdgeMapBase’
denorm_min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
^~~~~~~~~~
YYYYY/polymake-3.1/support/corelib.make:86: recipe for target '../../perlx-5.26.0-x86_64-linux-gnu-thread-multi/RuleGraph.o' failed
make[2]: *** [../../perlx-5.26.0-x86_64-linux-gnu-thread-multi/RuleGraph.o] Error 1

Any support how to get it running would be appreciated!

Thanks, Christian

blorenz
Developer
Posts: 108
Joined: 10 Jan 2011, 17:21

Re: Compilation error of 3.1 in ubuntu 17.10

Postby blorenz » 11 Dec 2017, 21:39

This is a known issue with gcc 7, please try the patch posted here (or even shorter one in the sage trac):
viewtopic.php?f=8&t=559&p=2007#p2014

Best,
Benjamin


Return to “Installing polymake”

cron