Building polymake from source on Mac OS X

Discussions on installation issues go here.

Moderator: Moderators

mkoeppe
Posts: 17
Joined: 27 Jun 2016, 19:44

Building polymake from source on Mac OS X

Postby mkoeppe » 27 Jun 2016, 19:57

I'm trying to install Polymake 3.0r1 from source on Mac OS X,
following the instructions at https://polymake.org/doku.php/howto/mac_compiler

I have Fink and the XCode command line tools installed.
I started with the XCode compiler.
It fails with a C++ error.

Additional remark: Instructions how to install the readline perl module would probably be useful to add to the instructions.

Any help would be appreciated.
Matthias

Code: Select all

./configure checking C++ compiler ... ok (g++ is CLANG 7.3.0) checking C++ library ... ok (libc++ 3700, C++ 201103) checking fink installation ... ok (/sw) checking fink gmp installation ... ok checking fink mpfr installation ... ok determining compiler flags ... ok CFLAGS= ${ARCHFLAGS} CXXFLAGS= -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags ${ARCHFLAGS} checking gmp installation ... ok (/sw) checking mpfr installation ... ok checking shared perl library ... ok checking perl module XML::Writer ... ok checking perl module XML::LibXML ... ok checking perl module XML::LibXSLT ... ok checking perl module Term::ReadLine ... failed WARNING: perl module Term::ReadLine::Gnu required for polymake not found on your machine. Please be sure to install it prior to starting to use polymake. If you have installed them in a non-standard location please add the path to the environment variable PERL5LIB. checking libxml2 installation ... ok Configuring bundled extensions: bundled extension bliss ... failed bundled extension cdd ... ok (bundled) bundled extension java ... failed bundled extension javaview ... disabled because of unsatisfied prerequisite: java bundled extension jreality ... disabled because of unsatisfied prerequisite: java bundled extension libnormaliz ... failed bundled extension lrs ... ok (bundled) bundled extension nauty ... ok bundled extension ppl ... failed bundled extension singular ... failed bundled extension soplex ... failed bundled extension atint ... ok (1) bundled extension group ... failed * If you want to change the configuration of bundled extensions please see build.darwin.x86_64/bundled.log and try configure --help. * Configuration successful. You should run 'make' now to build polymake. * If you have a multicore CPU use e.g. 'make -j2' to speed things up by using two parallel compile processes. WARNING: Please install/check the following perl modules prior to starting polymake: Term::ReadLine::Gnu egret:~/s/polymake-3.0 (master *)$ make -j12 cd ../../perlx-5.18.2-darwin-thread-multi-2level; perl /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/Makefile.PL TOP=/Users/mkoeppe/s/polymake-3.0 SourceDir=/Users/mkoeppe/s/polymake-3.0/lib/core/src/perl CxxOpt="-O3" CxxDebug="-g" \ libxml2Cflags="-I/usr/include/libxml2" AddLibs=" -lmpfr -lgmp -lpthread -lxml2 -lz -lpthread -licucore -lm" \ AddLDflags="-L/sw/lib " Checking if your kit is complete... Looks good Writing Makefile for Polymake::Ext Writing MYMETA.yml and MYMETA.json /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Customize.xs > Customize.xsc && mv Customize.xsc Customize.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Ext.xs > Ext.xsc && mv Ext.xsc Ext.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Object.xs > Object.xsc && mv Object.xsc Object.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Overload.xs > Overload.xsc && mv Overload.xsc Overload.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Poly.xs > Poly.xsc && mv Poly.xsc Poly.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap RefHash.xs > RefHash.xsc && mv RefHash.xsc RefHash.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Scope.xs > Scope.xsc && mv Scope.xsc Scope.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Shell.xs > Shell.xsc && mv Shell.xsc Shell.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap Struct.xs > Struct.xsc && mv Struct.xsc Struct.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap XMLfile.xs > XMLfile.xsc && mv XMLfile.xsc XMLfile.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap namespaces.xs > namespaces.xsc && mv namespaces.xsc namespaces.c /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap CPlusPlus.xxs| sed -e 's/\.xxs\.c"/.cc"/' > CPlusPlus.xsc && mv CPlusPlus.xsc CPlusPlus.cc /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap RuleGraph.xxs| sed -e 's/\.xxs\.c"/.cc"/' > RuleGraph.xsc && mv RuleGraph.xsc RuleGraph.cc /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap SchedulerHeap.xxs| sed -e 's/\.xxs\.c"/.cc"/' > SchedulerHeap.xsc && mv SchedulerHeap.xsc SchedulerHeap.cc cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Customize.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Ext.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Shell.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -I/usr/include/libxml2 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull XMLfile.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Object.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Overload.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull RefHash.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Scope.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Struct.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull namespaces.c cc -c -I/Users/mkoeppe/s/polymake-3.0/include/core -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -DPerlVersion=5182 -Wno-nonnull Poly.c /usr/bin/perl /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/createBootstrap.pl Customize.c Ext.c Object.c Overload.c Poly.c RefHash.c Scope.c Shell.c Struct.c XMLfile.c namespaces.c CPlusPlus.cc RuleGraph.cc SchedulerHeap.cc >Bootstrap.h g++ -c -o AccurateFloat.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/AccurateFloat.cc g++ -c -o Bitset.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/Bitset.cc g++ -c -o CharBuffer.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/CharBuffer.cc g++ -c -o FacetList.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/FacetList.cc g++ -c -o Integer.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/Integer.cc g++ -c -o PlainParser.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/PlainParser.cc g++ -c -o RandomGenerators.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/RandomGenerators.cc g++ -c -o Rational.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/Rational.cc g++ -c -o Ring.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/Ring.cc g++ -c -o chunk_allocator.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/chunk_allocator.cc g++ -c -o color.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/color.cc g++ -c -o inlines.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/inlines.cc g++ -c -o lib_init.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/lib_init.cc g++ -c -o linalg_float.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/linalg_float.cc g++ -c -o numerical_linalg.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/numerical_linalg.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/color.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/color.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/color.h:24: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/GenericStruct.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericStruct.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. g++ -c -o socketstream.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /Users/mkoeppe/s/polymake-3.0/lib/core/src/socketstream.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/Bitset.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Bitset.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericSet.h:31: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/Integer.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Integer.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Integer.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/Rational.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Rational.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Rational.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Integer.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Integer.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/PlainParser.cc:19: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Rational.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Rational.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Integer.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Integer.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/ObjectType.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/ObjectType.cc 1 warning generated. 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/Value.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/Value.cc g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/calls.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/calls.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/AccurateFloat.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/AccurateFloat.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Rational.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Rational.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Integer.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Integer.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/RandomGenerators.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/RandomGenerators.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Rational.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Rational.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Integer.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Integer.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/Ring.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Ring.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Ring.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Array.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Array.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/converters.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/cout_bridge.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/cout_bridge.cc 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/types.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/types.cc 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/wrappers.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/wrappers.cc g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/Main.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/Users/mkoeppe/s/polymake-3.0/include/callable -I../../perlx-5.18.2-darwin-thread-multi-2level -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 -DPOLYMAKE_CONF_InstallTop=\"/usr/local/share/polymake\" -DPOLYMAKE_CONF_InstallArch=\"/usr/local/lib/polymake\" -DPOLYMAKE_CONF_Arch=\"darwin.x86_64\" -DPOLYMAKE_CONF_FinkBase=\"/sw\" /Users/mkoeppe/s/polymake-3.0/lib/callable/src/perl/Main.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/FacetList.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/FacetList.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/FacetList.h:26: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/IncidenceMatrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/IncidenceMatrix.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/sparse2d.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/AVL.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/inlines.cc:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/FacetList.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/FacetList.h:26: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/IncidenceMatrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/IncidenceMatrix.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/sparse2d.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/AVL.h:25: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/comparators.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/methods.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/Users/mkoeppe/s/polymake-3.0/include/callable -I../../perlx-5.18.2-darwin-thread-multi-2level -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 -DPOLYMAKE_CONF_InstallTop=\"/usr/local/share/polymake\" -DPOLYMAKE_CONF_InstallArch=\"/usr/local/lib/polymake\" -DPOLYMAKE_CONF_Arch=\"darwin.x86_64\" -DPOLYMAKE_CONF_FinkBase=\"/sw\" /Users/mkoeppe/s/polymake-3.0/lib/callable/src/perl/methods.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/linalg_float.cc:18: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Matrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Matrix.h:24: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericMatrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Vector.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Vector.h:24: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericVector.h:21: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/CPlusPlus.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 ../../perlx-5.18.2-darwin-thread-multi-2level/CPlusPlus.cc 1 warning generated. /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/Value.cc:612:8: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] if (this != NULL) { ^~~~ ~~~~ g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 ../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.cc In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/calls.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/Value.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/ObjectType.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/cout_bridge.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/cout_bridge.h:19: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/types.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/SchedulerHeap.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 ../../perlx-5.18.2-darwin-thread-multi-2level/SchedulerHeap.cc 1 warning generated. 1 warning generated. 1 warning generated. In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/perl/wrappers.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. 2 warnings generated. In file included from /Users/mkoeppe/s/polymake-3.0/lib/callable/src/perl/Main.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. In file included from /Users/mkoeppe/s/polymake-3.0/lib/callable/src/perl/methods.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. 1 warning generated. In file included from CPlusPlus.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2849:45: error: 'SharedMap' following the 'template' keyword does not refer to a template class EdgeMap : public Graph<dir>::template SharedMap<typename Graph<dir>::template EdgeMapData<E,Params> >, ^~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from RuleGraph.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/sparse.h:22: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/SelectedSubset.h:21: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/modified_containers.h:274:55: error: no type named 'manipulator_params' in 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' template <typename Top, typename Params=typename Top::manipulator_params, ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2853:12: note: in instantiation of default argument for 'modified_container_impl<pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void> >' required here typedef modified_container_impl<EdgeMap> _super; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2854:42: error: 'SharedMap' following the 'template' keyword does not refer to a template typedef typename Graph<dir>::template SharedMap<typename Graph<dir>::template EdgeMapData<E,Params> > shared_base; ^~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from SchedulerHeap.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/assoc.h:22: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2912:54: error: no member named 'map' in 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' const E& operator[] (int e) const { return *this->map->index2addr(e); } ~~~~ ^ RuleGraph.xxs:121:47: note: in instantiation of member function 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>::operator[]' requested here new_arc_states[new_id]=old_arc_states[old_id]; ^ In file included from RuleGraph.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:166:1: error: no viable conversion from 'pm::perl::RuleGraph' to 'const pm::io_test::fallback' DeclHasIOoperatorCHECK(input,>>); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:163:65: note: expanded from macro 'DeclHasIOoperatorCHECK' static const bool value= sizeof(helper::Test( stream() arrow data() )) == sizeof(derivation::yes); \ ^~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:176:44: note: in instantiation of template class 'pm::io_test::has_input_operator_impl<pm::perl::RuleGraph, std::__1::basic_istream<char>, std::__1::basic_istream<char> >' requested here struct has_std_input_operator : bool2type< has_input_operator_impl<Data,std::istream>::value > {}; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:1168:37: note: in instantiation of template class 'pm::io_test::has_std_input_operator<pm::perl::RuleGraph>' requested here static const bool value=io_test::has_std_input_operator<value_type>::value || ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:1175:28: note: in instantiation of template class 'pm::is_parseable<pm::perl::RuleGraph>' requested here static const bool value=is_parseable<T>::value || has_serialized<T>::value; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:292:52: note: in instantiation of template class 'pm::is_parseable_or_serializable<pm::perl::RuleGraph>' requested here static const bool value=is_mutable<T>::value && is_parseable_or_serializable<T>::value; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:301:36: note: in instantiation of template class 'pm::perl::assign_helper<pm::perl::RuleGraph>' requested here template <typename T, bool _enable=assign_helper<T>::value> ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:628:13: note: in instantiation of default argument for 'Assign<pm::perl::RuleGraph>' required here Assign<T>::func(), ^~~~~~~~~ RuleGraph.xxs:1050:65: note: in instantiation of member function 'pm::perl::OpaqueClassRegistrator<pm::perl::RuleGraph, false>::register_it' requested here RuleGraph::class_descr=OpaqueClassRegistrator<RuleGraph>::register_it(pkg_name, sizeof(pkg_name)-1, NULL); ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:148:4: note: candidate constructor [with Any = pm::perl::RuleGraph] fallback(const Any&); ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:146:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'pm::perl::RuleGraph' to 'const pm::io_test::fallback &' for 1st argument struct fallback { ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:146:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'pm::perl::RuleGraph' to 'pm::io_test::fallback &&' for 1st argument struct fallback { ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:151:54: note: passing argument to parameter here nothing& operator>> (const fallback&, const fallback&); ^ 5 errors generated. make[2]: *** [../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /Users/mkoeppe/s/polymake-3.0/lib/core/src/numerical_linalg.cc:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Matrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Matrix.h:24: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericMatrix.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Vector.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Vector.h:24: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericVector.h:21: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/TransformedContainer.h:383:44: warning: unused typedef 'super2' [-Wunused-local-typedef] typedef typename Iterator2::super super2; ^ 1 warning generated. 1 warning generated. make[1]: *** [compile] Error 2 make: *** [compile] Error 2 egret:~/s/polymake-3.0 (master *)$ make make[2]: Nothing to be done for `compile'. g++ -c -o ../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.o -fPIC -I/Users/mkoeppe/s/polymake-3.0/include/core-wrappers -I/Users/mkoeppe/s/polymake-3.0/include/core -std=c++11 -Wall -Wno-logical-op-parentheses -Wno-shift-op-parentheses -Wno-duplicate-decl-specifier -Wno-reserved-user-defined-literal -Wno-mismatched-tags -I/sw/include -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -DPerlVersion=5182 ../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.cc In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2849:45: error: 'SharedMap' following the 'template' keyword does not refer to a template class EdgeMap : public Graph<dir>::template SharedMap<typename Graph<dir>::template EdgeMapData<E,Params> >, ^~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from RuleGraph.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:20: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/sparse.h:22: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/SelectedSubset.h:21: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/internal/modified_containers.h:274:55: error: no type named 'manipulator_params' in 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' template <typename Top, typename Params=typename Top::manipulator_params, ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2853:12: note: in instantiation of default argument for 'modified_container_impl<pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void> >' required here typedef modified_container_impl<EdgeMap> _super; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2854:42: error: 'SharedMap' following the 'template' keyword does not refer to a template typedef typename Graph<dir>::template SharedMap<typename Graph<dir>::template EdgeMapData<E,Params> > shared_base; ^~~~~~~~~ RuleGraph.xxs:130:14: note: in instantiation of template class 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' requested here arc_map_t arc_states; ^ In file included from RuleGraph.xxs:21: In file included from /Users/mkoeppe/s/polymake-3.0/include/core-wrappers/polymake/Graph.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/Graph.h:2912:54: error: no member named 'map' in 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>' const E& operator[] (int e) const { return *this->map->index2addr(e); } ~~~~ ^ RuleGraph.xxs:121:47: note: in instantiation of member function 'pm::graph::EdgeMap<pm::graph::Directed, pm::perl::RuleGraph::arc_state_t, void>::operator[]' requested here new_arc_states[new_id]=old_arc_states[old_id]; ^ In file included from RuleGraph.xxs:17: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/glue.h:62: In file included from /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/Value.h:20: /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:166:1: error: no viable conversion from 'pm::perl::RuleGraph' to 'const pm::io_test::fallback' DeclHasIOoperatorCHECK(input,>>); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:163:65: note: expanded from macro 'DeclHasIOoperatorCHECK' static const bool value= sizeof(helper::Test( stream() arrow data() )) == sizeof(derivation::yes); \ ^~~~~~ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:176:44: note: in instantiation of template class 'pm::io_test::has_input_operator_impl<pm::perl::RuleGraph, std::__1::basic_istream<char>, std::__1::basic_istream<char> >' requested here struct has_std_input_operator : bool2type< has_input_operator_impl<Data,std::istream>::value > {}; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:1168:37: note: in instantiation of template class 'pm::io_test::has_std_input_operator<pm::perl::RuleGraph>' requested here static const bool value=io_test::has_std_input_operator<value_type>::value || ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:1175:28: note: in instantiation of template class 'pm::is_parseable<pm::perl::RuleGraph>' requested here static const bool value=is_parseable<T>::value || has_serialized<T>::value; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:292:52: note: in instantiation of template class 'pm::is_parseable_or_serializable<pm::perl::RuleGraph>' requested here static const bool value=is_mutable<T>::value && is_parseable_or_serializable<T>::value; ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:301:36: note: in instantiation of template class 'pm::perl::assign_helper<pm::perl::RuleGraph>' requested here template <typename T, bool _enable=assign_helper<T>::value> ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/perl/wrappers.h:628:13: note: in instantiation of default argument for 'Assign<pm::perl::RuleGraph>' required here Assign<T>::func(), ^~~~~~~~~ RuleGraph.xxs:1050:65: note: in instantiation of member function 'pm::perl::OpaqueClassRegistrator<pm::perl::RuleGraph, false>::register_it' requested here RuleGraph::class_descr=OpaqueClassRegistrator<RuleGraph>::register_it(pkg_name, sizeof(pkg_name)-1, NULL); ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:148:4: note: candidate constructor [with Any = pm::perl::RuleGraph] fallback(const Any&); ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:146:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'pm::perl::RuleGraph' to 'const pm::io_test::fallback &' for 1st argument struct fallback { ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:146:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'pm::perl::RuleGraph' to 'pm::io_test::fallback &&' for 1st argument struct fallback { ^ /Users/mkoeppe/s/polymake-3.0/include/core/polymake/GenericIO.h:151:54: note: passing argument to parameter here nothing& operator>> (const fallback&, const fallback&); ^ 5 errors generated. make[2]: *** [../../perlx-5.18.2-darwin-thread-multi-2level/RuleGraph.o] Error 1 make[1]: *** [compile] Error 2 make: *** [compile] Error 2

paffenholz
Developer
Posts: 175
Joined: 24 Dec 2010, 13:47

Re: Building polymake from source on Mac OS X

Postby paffenholz » 03 Jul 2016, 14:44

Indeed, the latest command line tools (clang version 7.3) don't compile polymake, neither the released version nor the latest development version. clang 7.0 (the previous version of the clt) are fine.

I currently cannot offer a solution, but I am working on it. I'll post again once this is fixed.

I'll also update the installation instructions in the next days and add information on how to install the perl readline module. You can also look at this Makefile that installs polymake and all necessary dependencies into a local folder (but does not check whether anything is already present). It also installs the perl module.

Remember to add the path to the module to $PERL5LIB so that polymake can find it.

Andreas

paffenholz
Developer
Posts: 175
Joined: 24 Dec 2010, 13:47

Re: Building polymake from source on Mac OS X

Postby paffenholz » 25 Jul 2016, 11:15

The compiler error should be fixed with the new version of polymake available on github.

Andreas


Return to “Installing polymake”

cron