Page 1 of 1

Compilation failure on Arch Linux

Posted: 06 Jun 2011, 17:40
by Photon
Hello,

I'm trying to install polymake on Arch Linux. Configure gives following warning:

Code: Select all

Use of inherited AUTOLOAD for non-method Term::ReadLine::Gnu::ornaments() is deprecated at /usr/lib/perl5/vendor_perl/Term/ReadLine/Gnu.pm line 249.
When ignoring the warning and continuing with make, depending on the polymake version, there are following errors:
Polymake 2.9.8:

Code: Select all

**************************************************** Please be sure to read the installation instructions before proceeding with the configuration procedure! **************************************************** Makefile:34: *** mixed implicit and normal rules. Stop.
Polymake 2.9.9:

Code: Select all

cd build.AMD/perlx-5.14.0-i686-linux-thread-multi; TOP=/home/photon-new/Desktop/polymake-2.9.9 /usr/bin/perl /home/photon-new/Desktop/polymake-2.9.9/perl/ext/Makefile.PL make[1]: Entering directory `/home/photon-new/Desktop/polymake-2.9.9/build.AMD/perlx-5.14.0-i686-linux-thread-multi' cc -c -I/home/photon-new/Desktop/polymake-2.9.9/lib/PTL/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -mtune=generic -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPerlVersion=5014 -Wno-nonnull CPlusPlus.c CPlusPlus.xs: In function 'XS_Polymake__Core__CPlusPlus_create_function_wrapper': CPlusPlus.xs:866:16: error: lvalue required as left operand of assignment make[1]: *** [CPlusPlus.o] Error 1 make[1]: Leaving directory `/home/photon-new/Desktop/polymake-2.9.9/build.AMD/perlx-5.14.0-i686-linux-thread-multi' make: *** [all-perlx] Error 2
Polymake 2.9.10:

Code: Select all

make[1]: Entering directory `/home/photon-new/Desktop/polymake-2.9.10/build.AMD/lib' g++ -c -o Rational.o -fPIC -I/home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers -I/home/photon-new/Desktop/polymake-2.9.10/include/core -march=native -ftemplate-depth-200 -Wall -Wno-strict-aliasing -Wno-parentheses -fno-inline-functions-called-once -DNDEBUG -DPOLYMAKE_DEBUG=0 -O3 -MD /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'Owner* pm::reverse_cast(Source*, Member Owner::*)': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1967:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1970:98: error: 'offset' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'const Owner* pm::reverse_cast(const Source*, Member Owner::*)': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1976:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1979:116: error: 'offset' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'const Owner* pm::reverse_cast(const Source*, const Member Owner::*)': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1985:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1988:116: error: 'offset' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'Owner* pm::reverse_cast(Source*, int, Member (Owner::*)[_size])': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1994:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1997:100: error: 'offset' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'const Owner* pm::reverse_cast(const Source*, int, Member (Owner::*)[_size])': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:2003:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:2006:118: error: 'offset' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h: In function 'const Owner* pm::reverse_cast(const Source*, int, const Member (Owner::*)[_size])': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:2012:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:2015:118: error: 'offset' was not declared in this scope In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: At global scope: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:234:12: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:257:4: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:258:4: error: 'ptrdiff_t' does not name a type In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::ptr_wrapper<pm::shared_alias_handler::AliasSet*> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::ptr_wrapper<pm::shared_alias_handler::AliasSet*> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:154:7: instantiated from 'pm::alt_constructor<pm::ptr_wrapper<pm::shared_alias_handler::AliasSet*> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:514:4: instantiated from 'pm::iterator_range<pm::shared_alias_handler::AliasSet**>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/shared_object.h:161:7: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::ptr_wrapper<pm::shared_alias_handler::AliasSet*>' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::iterator_range<pm::shared_alias_handler::AliasSet**>': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/shared_object.h:161:7: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:588:36: error: no type named 'difference_type' in 'pm::iterator_range<pm::shared_alias_handler::AliasSet**>::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:594:4: error: no type named 'difference_type' in 'pm::iterator_range<pm::shared_alias_handler::AliasSet**>::super' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/TransformedContainer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/comparators.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:26, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:105:12: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:142:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:143:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:159:51: error: 'ptrdiff_t' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:159:51: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:159:63: error: template argument 2 is invalid In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/TransformedContainer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/comparators.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:26, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:189:4: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:239:51: error: 'ptrdiff_t' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:239:51: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:239:63: error: template argument 2 is invalid /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:296:51: error: 'ptrdiff_t' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:296:51: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:296:63: error: template argument 2 is invalid In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/SelectedSubset.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:23, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/TransformedContainer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/comparators.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:26, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:40:12: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:77:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:85:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:110:12: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:147:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:155:4: error: 'difference_type' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/constant_containers.h:189:4: error: 'ptrdiff_t' does not name a type In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::sequence_iterator<int, true> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::sequence_iterator<int, true> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:716:86: instantiated from 'pm::container_category_traits<pm::Series<int, true>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::Series<int, true>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::Series<int, true> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:956:120: instantiated from 'const bool pm::default_check_container_feature<pm::Series<int, true>, pm::indexed>::value' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1059:53: [ skipping 18 instantiation contexts ] /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:407:11: instantiated from 'pm::derivation::test<pm::has_container_category_impl<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:699:1: instantiated from 'pm::has_container_category<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::sparse_compatible>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:131:56: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::sequence_iterator<int, true>' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/TransformedContainer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/comparators.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:26, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h: In instantiation of 'pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false>': /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: instantiated from 'std::iterator_traits<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:716:86: instantiated from 'pm::container_category_traits<pm::construct_random_indexed<pm::Series<int, true> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::construct_random_indexed<pm::Series<int, true> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::construct_random_indexed<pm::Series<int, true> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:956:120: [ skipping 20 instantiation contexts ] /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:407:11: instantiated from 'pm::derivation::test<pm::has_container_category_impl<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:699:1: instantiated from 'pm::has_container_category<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::sparse_compatible>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:131:56: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:471:36: error: no type named 'difference_type' in 'pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false>::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Series.h:476:4: error: no type named 'difference_type' in 'pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false>::super' In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:716:86: instantiated from 'pm::container_category_traits<pm::construct_random_indexed<pm::Series<int, true> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::construct_random_indexed<pm::Series<int, true> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::construct_random_indexed<pm::Series<int, true> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:956:120: instantiated from 'const bool pm::default_check_container_feature<pm::construct_random_indexed<pm::Series<int, true> >, pm::end_sensitive>::value' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1059:53: [ skipping 19 instantiation contexts ] /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:407:11: instantiated from 'pm::derivation::test<pm::has_container_category_impl<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:699:1: instantiated from 'pm::has_container_category<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::sparse_compatible>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:131:56: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false>' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >': /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: instantiated from 'std::iterator_traits<pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:716:86: instantiated from 'pm::container_category_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: [ skipping 5 instantiation contexts ] /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:407:11: instantiated from 'pm::derivation::test<pm::has_container_category_impl<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:699:1: instantiated from 'pm::has_container_category<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::sparse_compatible>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:131:56: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:588:36: error: no type named 'difference_type' in 'pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:594:4: error: no type named 'difference_type' in 'pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >::super' In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> > >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:716:86: instantiated from 'pm::container_category_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> >, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::cons<pm::end_sensitive, pm::indexed> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:52:74: [ skipping 4 instantiation contexts ] /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:407:11: instantiated from 'pm::derivation::test<pm::has_container_category_impl<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:699:1: instantiated from 'pm::has_container_category<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:766:8: instantiated from 'pm::default_container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:769:8: instantiated from 'pm::container_traits<pm::feature_collector<pm::Series<int, true>, pm::sparse_compatible> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1108:8: instantiated from 'pm::ensure_features<pm::Series<int, true>, pm::sparse_compatible>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/sparse.h:131:56: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::iterator_range<pm::indexed_random_iterator<pm::sequence_iterator<int, true>, false> >' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:29:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:201:7: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:204:35: error: 'ptrdiff_t' has not been declared /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:204:55: error: 'ptrdiff_t' has not been declared /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h: In static member function 'static pm::OutCharBuffer::Slot pm::OutCharBuffer::reserve(std::basic_ostream<char, _Traits>&, size_t)': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:213:7: error: 'ptrdiff_t' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:213:7: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/i686-pc-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:213:17: error: expected ';' before 'w' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:214:11: error: 'w' was not declared in this scope /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/CharBuffer.h:215:35: error: 'w' was not declared in this scope In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:21:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/client.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:22, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/GenericIO.h: At global scope: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/GenericIO.h:401:12: error: 'ptrdiff_t' does not name a type In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> >': /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: instantiated from 'std::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:250:59: instantiated from 'pm::modified_container_typebase<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >)>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1329:81: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1979:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1985:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> >::super' In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> > >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:250:59: instantiated from 'pm::modified_container_typebase<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >)>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1329:81: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Value> >' /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::sequence_iterator<int, false> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::sequence_iterator<int, false> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1773:63: instantiated from 'pm::transform_iterator_base<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value>, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1782:7: instantiated from 'pm::unary_transform_eval<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1904:7: instantiated from 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value> >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:435:30: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), std::bidirectional_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:480:7: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), std::random_access_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:278:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:321:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), true>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1329:81: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::sequence_iterator<int, false>' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:435:30: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), std::bidirectional_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:480:7: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), std::random_access_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:278:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:321:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Value> >), true>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1329:81: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1979:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1985:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Value> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> >': /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:166:53: instantiated from 'std::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:250:59: instantiated from 'pm::modified_container_typebase<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >)>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<pm::perl::Object>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Object.h:352:4: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1979:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1985:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> >::super' In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:66:0, from /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/memory:64, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:32, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations_basic_defs.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> > >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:103:8: instantiated from 'pm::iterator_traits<pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> > >' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:250:59: instantiated from 'pm::modified_container_typebase<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >)>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<pm::perl::Object>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Object.h:352:4: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_types.h:168:53: error: no type named 'difference_type' in 'class pm::unary_transform_iterator<pm::sequence_iterator<int, true>, pm::perl::Array_access<pm::perl::Object> >' In file included from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/operations.h:22:0, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Integer.h:25, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Integer.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/include/core-wrappers/polymake/Rational.h:21, from /home/photon-new/Desktop/polymake-2.9.10/lib/core/src/Rational.cc:18: /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h: In instantiation of 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Object> >': /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:435:30: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >), std::bidirectional_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:480:7: instantiated from 'pm::modified_container_elem_access<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >), std::random_access_iterator_tag, true, false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:278:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >), false>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/modified_containers.h:321:7: instantiated from 'pm::modified_container_impl<pm::perl::ArrayOwner<pm::perl::Object>, pm::list(pm::Container<pm::Series<int, true> >, pm::Operation<pm::perl::Array_access<pm::perl::Object> >), true>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Value.h:1244:7: instantiated from 'pm::perl::ArrayOwner<pm::perl::Object>' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/perl/Object.h:352:4: instantiated from here /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1979:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Object> >::super' /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/iterators.h:1985:4: error: no type named 'difference_type' in 'pm::unary_transform_iterator<pm::sequence_iterator<int, false>, pm::perl::Array_access<pm::perl::Object> >::super' make[1]: *** [Rational.o] Error 1 make[1]: Leaving directory `/home/photon-new/Desktop/polymake-2.9.10/build.AMD/lib' make: *** [compile] Error 2
While the problem in 2.9.8 seems to be related to an inappropriate version of make, I don't know where the configure warning and the other two make errors come from.

Thanks for your support,
Photon

Re: Compilation failure on Arch Linux

Posted: 08 Jun 2011, 22:38
by blorenz
I'm trying to install polymake on Arch Linux. Configure gives following warning:

Code: Select all

Use of inherited AUTOLOAD for non-method Term::ReadLine::Gnu::ornaments() is deprecated at /usr/lib/perl5/vendor_perl/Term/ReadLine/Gnu.pm line 249.
This warning appears with any recent perl installation and is safe to ignore. (It is a problem/deprecated coding style in this perl module Term::ReadLine::Gnu, so nothing we can change about it.)
Polymake 2.9.8:

Code: Select all

Makefile:34: *** mixed implicit and normal rules. Stop.
This was indeed a problem in our Makefile with some versions of gnu make and is fixed in newer versions.
Polymake 2.9.9:

Code: Select all

cc -c -I/home/photon-new/Desktop/polymake-2.9.9/lib/PTL/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -mtune=generic -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPerlVersion=5014 -Wno-nonnull CPlusPlus.c CPlusPlus.xs: In function 'XS_Polymake__Core__CPlusPlus_create_function_wrapper': CPlusPlus.xs:866:16: error: lvalue required as left operand of assignment
I dont exactly know where this error comes from but i think this is an incompatibility between this polymake version and the rather new perl/gcc you are using.
Polymake 2.9.10:

Code: Select all

/home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1967:10: error: 'ptrdiff_t' does not name a type /home/photon-new/Desktop/polymake-2.9.10/include/core/polymake/internal/type_manip.h:1970:98: error: 'offset' was not declared in this scope ...
From these errors i would guess that your gcc is version 4.6.x, if not please post the output of:

Code: Select all

gcc -v
This gcc version is very new and they changed some of their header files but i will try to create a patch as there not that much going wrong.

Benjamin

Re: Compilation failure on Arch Linux

Posted: 09 Jun 2011, 08:10
by Photon
Thanks for your reply! You're totally right, I've gcc 4.6.0 and perl 5.14.0 installed.

Photon

Re: Compilation failure on Arch Linux

Posted: 09 Jun 2011, 14:48
by blorenz
Please apply the attached path with the following command:

Code: Select all

patch -p0 < /path/to/gcc46.patch
This has to be run in the main polymake directory and you have to insert the correct path to the downloaded file.

Benjamin

Re: Compilation failure on Arch Linux

Posted: 09 Jun 2011, 15:56
by Photon
Thanks! I'm not sure which path has to be changed, however I just put the patch into the polymake directory and applied it, but it seems to have worked (at least trying to run it once more reports that the files seem to be already patched). Unfortunately, I get following error now:

Code: Select all

make[2]: Entering directory `/home/photon-new/Desktop/polymake-2.9.10/build.AMD/perlx-5.14.0-i686-linux-thread-multi' cc -c -I/home/photon-new/Desktop/polymake-2.9.10/include/core -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -mtune=generic -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPerlVersion=5140 -Wno-nonnull namespaces.c namespaces.xs: In function 'extract_lex_imp_ix': namespaces.xs:221:11: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'get_lex_flags': namespaces.xs:228:11: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'import_dotSUBS': namespaces.xs:326:16: error: lvalue required as left operand of assignment namespaces.xs: In function 'switch_off_namespaces': namespaces.xs:425:22: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs:425:22: note: each undeclared identifier is reported only once for each function it appears in namespaces.xs: In function 'repaired_gv': namespaces.xs:554:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_gvsv': namespaces.xs:561:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_aelemefast': namespaces.xs:568:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_split': namespaces.xs:579:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_pp_gv': namespaces.xs:1248:37: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'store_const_op_result': namespaces.xs:1444:22: error: 'Perl_pp_const' undeclared (first use in this function) namespaces.xs: In function 'prepare_const_op': namespaces.xs:1451:32: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs:1457:24: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'intercept_ck_const_op': namespaces.xs:1474:20: warning: assignment makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_ck_anonlist_op': namespaces.xs:1499:25: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'inject_switch_op': namespaces.xs:1514:20: warning: assignment makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_eval': namespaces.xs:1675:24: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'pp_class_method': namespaces.xs:1840:21: error: 'Perl_pp_null' undeclared (first use in this function) make[2]: *** [namespaces.o] Error 1 make[2]: Leaving directory `/home/photon-new/Desktop/polymake-2.9.10/build.AMD/perlx-5.14.0-i686-linux-thread-multi' make[1]: *** [compile-xs] Error 2 make[1]: Leaving directory `/home/photon-new/Desktop/polymake-2.9.10/build.AMD/lib' make: *** [compile] Error 2
Seems to be a similar error like in 2.9.9 ("lvalue required as left operand of assignment") but in another file now...

Re: Compilation failure on Arch Linux

Posted: 09 Jun 2011, 17:20
by joswig
..., I've gcc 4.6.0 and perl 5.14.0 installed.
Seems that not only you have a very new C++ compiler (see Benjamin's patch above), but you also got a very fresh Perl. Congratulations, you are surely the first to try this combination. I am not even sure if all Perl modules that we rely on actually work with 5.14.0. This might take time to look into. Sorry for the inconvenience.

Re: Compilation failure on Arch Linux

Posted: 10 Jun 2011, 09:30
by Photon
Sorry for the headache, Arch is a rolling release distro and thus always has the most recent versions in its repositories.

Re: Compilation failure on Arch Linux

Posted: 21 Jun 2011, 15:22
by joswig
There is a new tar ball of the 2.10 release which is supposed to support gcc 4.6.0 as well as Perl 5.14.

Please give it a try and send feed back.

Re: Compilation failure on Arch Linux

Posted: 21 Jun 2011, 22:23
by Photon
Unfortunately I get following error now:

Code: Select all

make[1]: Entering directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/lib' make[1]: Leaving directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/lib' make[1]: Entering directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/lib' cd ../perlx-5.14.0-i686-linux-thread-multi; \ /usr/bin/perl /home/photon-new/Desktop/polymake-2.10/lib/core/src/perl/Makefile.PL \ TOP=/home/photon-new/Desktop/polymake-2.10 SourceDir=/home/photon-new/Desktop/polymake-2.10/lib/core/src/perl \ libxml2Cflags="-I/usr/include/libxml2" libxml2Libs="-lxml2 -lz -lm" make[2]: Entering directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/perlx-5.14.0-i686-linux-thread-multi' cc -c -I/home/photon-new/Desktop/polymake-2.10/include/core -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -mtune=generic -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPerlVersion=5140 -Wno-nonnull namespaces.c namespaces.xs: In function 'extract_lex_imp_ix': namespaces.xs:221:11: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'get_lex_flags': namespaces.xs:228:11: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'import_dotSUBS': namespaces.xs:326:16: error: lvalue required as left operand of assignment namespaces.xs: In function 'switch_off_namespaces': namespaces.xs:425:22: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs:425:22: note: each undeclared identifier is reported only once for each function it appears in namespaces.xs: In function 'repaired_gv': namespaces.xs:554:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_gvsv': namespaces.xs:561:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_aelemefast': namespaces.xs:568:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'repaired_split': namespaces.xs:579:4: warning: return makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_pp_gv': namespaces.xs:1248:37: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'store_const_op_result': namespaces.xs:1472:22: error: 'Perl_pp_const' undeclared (first use in this function) namespaces.xs: In function 'prepare_const_op': namespaces.xs:1479:32: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs:1485:24: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'intercept_ck_const_op': namespaces.xs:1502:20: warning: assignment makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_ck_anonlist_op': namespaces.xs:1527:25: warning: initialization makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'inject_switch_op': namespaces.xs:1542:20: warning: assignment makes pointer from integer without a cast [enabled by default] namespaces.xs: In function 'intercept_eval': namespaces.xs:1703:24: error: 'Perl_pp_null' undeclared (first use in this function) namespaces.xs: In function 'pp_class_method': namespaces.xs:1868:21: error: 'Perl_pp_null' undeclared (first use in this function) make[2]: *** [namespaces.o] Error 1 make[2]: Leaving directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/perlx-5.14.0-i686-linux-thread-multi' make[1]: *** [compile-xs] Error 2 make[1]: Leaving directory `/home/photon-new/Desktop/polymake-2.10/build.AMD/lib' make: *** [compile] Error 2

Re: Compilation failure on Arch Linux

Posted: 22 Jun 2011, 13:18
by gawrilow
Due to a mishap, the tarball exposed at the download page is still missing the latest patch for perl 5.14. It will be replaced very soon, please watch for changes. We apologize for the inconvenience.