Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
347 stars 231 forks source link

repository for focal ubuntu #1105

Closed bhuria00z closed 4 years ago

bhuria00z commented 4 years ago

please update repository for ubuntu 20.04 focal , when it is going to get updated i dont know if it is right place to ask this .

DanGrayson commented 4 years ago

Good idea. Perhaps in the meantime you can see if our 19.10 release works for you, by installing it manually.

bhuria00z commented 4 years ago

Thank you for rply. I dont know how to install manually, i tried but many error occurred, somethinh with fflush. d and others,

Regards Kuldeep Singh Bhuria

On Fri, 24 Apr 2020, 18:16 Daniel R. Grayson, notifications@github.com wrote:

Good idea. Perhaps in the meantime you can see if our 19.10 release works for you, by installing it manually.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Macaulay2/M2/issues/1105#issuecomment-618987290, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKEKTZLL2GFNXMPXCDRRRLROGC4BANCNFSM4MP2V2YA .

DanGrayson commented 4 years ago

Perhaps you could show me a transcript of your installation attempt here.

bhuria00z commented 4 years ago

ok i wrote everythng i done it is..

apt update

apt install git

git clone https://github.com/Macaulay2/M2.git

cd ~/M2/M2/

$ sudo git branch -a | grep origin/release $ sudo git checkout release-1.9.2

Branch 'release-1.9.2' set up to track remote branch 'release-1.9.2' from 'origin'. Switched to a new branch 'release-1.9.2' $ sudo git pull $ sudo git submodule sync $ sudo git submodule update $ sudo apt install fakeroot (ver 1.24) $ sudo apt-get install -y -q sudo autoconf bison curl emacs fflas-ffpack flex g++ gcc gfortran install- info libatomic-ops-dev libboost-dev libc6-dev libcdd-dev libgc-dev libgdbm-dev libgivaro-dev libglpk-dev libgmp3-dev libgtest-dev liblapack-dev liblzma-dev libmpc-dev libmpfr-dev libncurses-dev libncurses5-dev libntl-dev libpari-dev libreadline-dev libtool libxml2-dev libz-dev make openssh-server patch pinentry-curses pkg-config time unzip xbase-clients yasm zlib1g-dev polymake w3c-markup-validator git dpkg-dev gfan


$ export FC=gfortran I added FC=gfortran and FC ?= gfortran to my .bashrc file. (I was not sure which one will work)

On Ubuntu 14.10 and later, add --enable-build-libraries="pari givaro fflas_ffpack" to the "configure" command line below ??????????????????????????---how I do this

put the following lines in file $HOME/.profile :

    export PATH=$HOME/local/bin:$PATH
    export MANPATH=$HOME/local/share/man:$MANPATH
    export INFOPATH=$HOME/local/share/info:$INFOPATH
    export LD_LIBRARY_PATH=$HOME/local/lib:$HOME/local/lib64:$LD_LIBRARY_PATH
    export CC=gcc-9.3.0
    export CXX=g++-9.3.0
    export FC=gfortran-9.3.0

PC RESTART

make

./configure --enable-download

./configure --enable-build-libraries="pari givaro fflas_ffpack"

./configure FC=gfortran

make

make[1]: Leaving directory '/home/bhuria/M2/M2/libraries' cd ./.. && git submodule update --init M2/submodules/memtailor Submodule 'M2/submodules/memtailor' (https://github.com/Macaulay2/memtailor) registered for path 'M2/submodules/memtailor' Cloning into '/home/bhuria/M2/M2/submodules/memtailor'... fatal: unable to access 'https://github.com/Macaulay2/memtailor/': Could not resolve host: github.com fatal: clone of 'https://github.com/Macaulay2/memtailor' into submodule path '/home/bhuria/M2/M2/submodules/memtailor' failed Failed to clone 'M2/submodules/memtailor'. Retry scheduled Cloning into '/home/bhuria/M2/M2/submodules/memtailor'... fatal: unable to access 'https://github.com/Macaulay2/memtailor/': Could not resolve host: github.com fatal: clone of 'https://github.com/Macaulay2/memtailor' into submodule path '/home/bhuria/M2/M2/submodules/memtailor' failed Failed to clone 'M2/submodules/memtailor' a second time, aborting make: *** [GNUmakefile:158: submodules/memtailor/configure.ac] Error 1 make: Leaving directory '/home/bhuria/M2/M2'

tried git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 and git config --global --unset http.proxy git config --global --unset https.proxy

progressed……

gcc: error: unrecognized command line option ‘-fopenmp=’; did you mean ‘-fopenmp’? make[2]: [../../include/config.Makefile:195: arithmetic.o] Error 1 make[2]: Leaving directory '/home/bhuria/M2/M2/Macaulay2/d' make[1]: [Makefile:20: all-in-d] Error 2 make[1]: Leaving directory '/home/bhuria/M2/M2/Macaulay2' make: *** [GNUmakefile:178: all-in-Macaulay2] Error 2 make: Leaving directory '/home/bhuria/M2/M2'

/home/bhuria/M2/M2/include/ config.Makefile changed -fopenmp= to -fopenmp

progresses…….

In file included from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-zzp-ffpack.hpp:10:10: fatal error: fflas-ffpack/field/modular-balanced.h: No such file or directory 10 | #include <fflas-ffpack/field/modular-balanced.h> | ^~~~~~~~~~~ compilation terminated. make[2]: [../../include/config.Makefile:196: interface.o] Error 1 make[2]: Leaving directory '/home/bhuria/M2/M2/Macaulay2/d' make[1]: [Makefile:20: all-in-d] Error 2 make[1]: Leaving directory '/home/bhuria/M2/M2/Macaulay2' make: *** [GNUmakefile:178: all-in-Macaulay2] Error 2 make: Leaving directory '/home/bhuria/M2/M2'

include <fflas-ffpack/field/modular-double.h>

include <fflas-ffpack/field/modular-balanced.h> deleted this in

/home/bhuria/M2/M2/Macaulay2/e/ “aring-zzp-ffpack.hpp”

progressed…….

from ./../e/aring-translate.hpp:21, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-gf-givaro.hpp:45:10: fatal error: givaro/givgfq.h: No such file or directory 45 | #include <givaro/givgfq.h> | ^~~~~ compilation terminated. make[2]: [../../include/config.Makefile:196: interface.o] Error 1 make[2]: Leaving directory '/home/bhuria/M2/M2/Macaulay2/d' make[1]: [Makefile:20: all-in-d] Error 2 make[1]: Leaving directory '/home/bhuria/M2/M2/Macaulay2' make: *** [GNUmakefile:178: all-in-Macaulay2] Error 2 make: Leaving directory '/home/bhuria/M2/M2'

include <givaro/givextension.h>

include <givaro/givgfq.h> deleted this in

/home/bhuria/M2/M2/Macaulay2/e/ “aring-gf-givaro.hpp”

prpgresse…...

bhuria00z commented 4 years ago

and than a big error occoured , which is

In file included from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-zzp-ffpack.hpp:31:21: error: ‘Modular’ in namespace ‘FFPACK’ does not name a template type 31 | typedef FFPACK::Modular FieldType; | ^~~ ./../e/aring-zzp-ffpack.hpp:33:13: error: ‘FieldType’ does not name a type 33 | typedef FieldType::Element ElementType; | ^~~~~ ./../e/aring-zzp-ffpack.hpp:34:13: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 34 | typedef ElementType elem; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:53:11: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 53 | const ElementType& getGenerator() const | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:63:11: error: ‘FieldType’ does not name a type 63 | const FieldType field() const { return mFfpackField; } | ^~~~~ ./../e/aring-zzp-ffpack.hpp:67:41: error: ‘elem’ does not name a type 67 | unsigned int computeHashValue(const elem& a) const | ^~~~ ./../e/aring-zzp-ffpack.hpp:80:22: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 80 | const ElementType a, | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:91:24: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 91 | bool is_unit(const ElementType f) const ; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:92:24: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 92 | bool is_zero(const ElementType f) const ; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:100:36: error: ‘elem’ does not name a type 100 | long coerceToLongInteger(const elem& f) const | ^~~~ ./../e/aring-zzp-ffpack.hpp:107:48: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 107 | void to_ring_elem(ring_elem &result, const ElementType &a) const | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:114:25: error: ‘ElementType’ has not been declared 114 | void from_ring_elem(ElementType &result, const ring_elem &a) const | ^~~ ./../e/aring-zzp-ffpack.hpp:124:25: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 124 | bool is_equal(const ElementType f,const ElementType g) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:124:45: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 124 | bool is_equal(const ElementType f,const ElementType g) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:125:29: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 125 | int compare_elems(const ElementType f,const ElementType g) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:125:49: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 125 | int compare_elems(const ElementType f,const ElementType g) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:131:19: error: ‘ElementType’ has not been declared 131 | void init_set(ElementType &result, ElementType a) const { result = a; } | ^~~ ./../e/aring-zzp-ffpack.hpp:131:40: error: ‘ElementType’ has not been declared 131 | void init_set(ElementType &result, ElementType a) const { result = a; } | ^~~ ./../e/aring-zzp-ffpack.hpp:133:14: error: ‘ElementType’ has not been declared 133 | void set(ElementType &result, ElementType a) const { result = a; } | ^~~ ./../e/aring-zzp-ffpack.hpp:133:35: error: ‘ElementType’ has not been declared 133 | void set(ElementType &result, ElementType a) const { result = a; } | ^~~ ./../e/aring-zzp-ffpack.hpp:135:15: error: ‘ElementType’ has not been declared 135 | void init(ElementType &result) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:137:16: error: ‘ElementType’ has not been declared 137 | void clear(ElementType &result) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:139:19: error: ‘ElementType’ has not been declared 139 | void set_zero(ElementType &result) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:141:15: error: ‘ElementType’ has not been declared 141 | void copy(ElementType &result,const ElementType a) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:141:41: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 141 | void copy(ElementType &result,const ElementType a) const ; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:143:24: error: ‘ElementType’ has not been declared 143 | void set_from_long(ElementType &result, long a) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:145:23: error: ‘ElementType’ has not been declared 145 | void set_from_mpz(ElementType &result,const mpz_ptr a) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:147:23: error: ‘ElementType’ has not been declared 147 | void set_from_mpq(ElementType &result,const mpq_ptr a) const ; | ^~~ ./../e/aring-zzp-ffpack.hpp:149:27: error: ‘ElementType’ has not been declared 149 | bool set_from_BigReal(ElementType &result, gmp_RR a) const { return false; } | ^~~ ./../e/aring-zzp-ffpack.hpp:151:5: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 151 | ElementType computeGenerator ( ) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:153:18: error: ‘ElementType’ has not been declared 153 | void set_var(ElementType &result, int v) const { result = getGenerator(); } | ^~~ ./../e/aring-zzp-ffpack.hpp:160:17: error: ‘ElementType’ has not been declared 160 | void negate(ElementType &result,const ElementType a) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:160:43: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 160 | void negate(ElementType &result,const ElementType a) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:162:17: error: ‘ElementType’ has not been declared 162 | void invert(ElementType &result,const ElementType a) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:162:43: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 162 | void invert(ElementType &result,const ElementType a) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:164:23: error: ‘ElementType’ has not been declared 164 | void unsafeInvert(ElementType &result, const ElementType a) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:164:50: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 164 | void unsafeInvert(ElementType &result, const ElementType a) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:166:14: error: ‘ElementType’ has not been declared 166 | void add(ElementType &result, const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:166:41: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 166 | void add(ElementType &result, const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:166:61: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 166 | void add(ElementType &result, const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:168:19: error: ‘ElementType’ has not been declared 168 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:168:46: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 168 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:168:67: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 168 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:170:28: error: ‘ElementType’ has not been declared 170 | void subtract_multiple(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:170:55: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 170 | void subtract_multiple(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:170:76: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 170 | void subtract_multiple(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:172:15: error: ‘ElementType’ has not been declared 172 | void mult(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:172:42: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 172 | void mult(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:172:63: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 172 | void mult(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:175:17: error: ‘ElementType’ has not been declared 175 | void divide(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:175:44: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 175 | void divide(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:175:65: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 175 | void divide(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:177:16: error: ‘ElementType’ has not been declared 177 | void power(ElementType &result,const ElementType a,const STT n) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:177:43: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 177 | void power(ElementType &result,const ElementType a,const STT n) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:179:20: error: ‘ElementType’ has not been declared 179 | void power_mpz(ElementType &result,const ElementType a,const mpz_ptr n) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:179:47: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 179 | void power_mpz(ElementType &result,const ElementType a,const mpz_ptr n) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:181:23: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 181 | void syzygy(const ElementType a, const ElementType b, | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:181:44: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 181 | void syzygy(const ElementType a, const ElementType b, | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:182:17: error: ‘ElementType’ has not been declared 182 | ElementType &x, ElementType &y) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:182:33: error: ‘ElementType’ has not been declared 182 | ElementType &x, ElementType &y) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:188:15: error: ‘ElementType’ has not been declared 188 | void swap(ElementType &a, ElementType &b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:188:31: error: ‘ElementType’ has not been declared 188 | void swap(ElementType &a, ElementType &b) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:190:17: error: ‘ElementType’ has not been declared 190 | void random(ElementType &result) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:194:53: error: ‘ElementType’ has not been declared 194 | bool promote(const Ring Rf, const ring_elem f, ElementType &result) const; | ^~~ ./../e/aring-zzp-ffpack.hpp:196:37: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 196 | bool lift(const Ring Rg, const ElementType f, ring_elem &result) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:201:41: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 201 | void eval(const RingMap *map, const ElementType f, int first_var, ring_elem &result) const; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp:214:11: error: ‘FieldType’ does not name a type 214 | const FieldType mFfpackField; | ^~~~~ ./../e/aring-zzp-ffpack.hpp:215:13: error: ‘FieldType’ does not name a type 215 | mutable FieldType::RandIter mFfpackRandomIterator; | ^~~~~ ./../e/aring-zzp-ffpack.hpp:222:13: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 222 | mutable ElementType mGenerator; | ^~~ | xmlElementType ./../e/aring-zzp-ffpack.hpp: In member function ‘void M2::ARingZZpFFPACK::set_var(int&, int) const’: ./../e/aring-zzp-ffpack.hpp:153:71: error: ‘getGenerator’ was not declared in this scope 153 | void set_var(ElementType &result, int v) const { result = getGenerator(); } | ^~~~ ./../e/aring-zzp-ffpack.hpp: In static member function ‘static double M2::ARingZZpFFPACK::getMaxModulus()’: ./../e/aring-zzp-ffpack.hpp:205:33: error: ‘Modular’ is not a member of ‘FFPACK’; did you mean ‘Givaro::Modular’? 205 | if (std::is_same<FFPACK::Modular , FieldType>::value) | ^~~ In file included from /usr/include/givaro/modular-integral.h:23, from /usr/include/givaro/modular.h:21, from /usr/include/fflas-ffpack/fflas/fflas_bounds.inl:37, from /usr/include/fflas-ffpack/fflas/fflas_level3.inl:38, from /usr/include/fflas-ffpack/fflas/fflas.h:85, from /usr/include/fflas-ffpack/ffpack/ffpack.h:45, from ./../e/aring-zzp-ffpack.hpp:10, from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: /usr/include/givaro/modular-general.h:23:96: note: ‘Givaro::Modular’ declared here 23 | template<typename Storage_t, typename Compute_t = Storage_t, typename Enable = void> class Modular; | ^~~ In file included from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-zzp-ffpack.hpp:205:33: error: ‘Modular’ is not a member of ‘FFPACK’; did you mean ‘Givaro::Modular’? 205 | if (std::is_same<FFPACK::Modular , FieldType>::value) | ^~~ In file included from /usr/include/givaro/modular-integral.h:23, from /usr/include/givaro/modular.h:21, from /usr/include/fflas-ffpack/fflas/fflas_bounds.inl:37, from /usr/include/fflas-ffpack/fflas/fflas_level3.inl:38, from /usr/include/fflas-ffpack/fflas/fflas.h:85, from /usr/include/fflas-ffpack/ffpack/ffpack.h:45, from ./../e/aring-zzp-ffpack.hpp:10, from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: /usr/include/givaro/modular-general.h:23:96: note: ‘Givaro::Modular’ declared here 23 | template<typename Storage_t, typename Compute_t = Storage_t, typename Enable = void> class Modular; | ^~~ In file included from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-zzp-ffpack.hpp:205:47: error: wrong number of template arguments (1, should be 2) 205 | if (std::is_same<FFPACK::Modular , FieldType>::value) | ^ In file included from /usr/include/c++/9/bits/move.h:55, from /usr/include/c++/9/bits/stl_pair.h:59, from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/memory:62, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:23, from /usr/include/unicode/ucnv.h:53, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from interface-exports.h:59, from interface-tmp.cc:1: /usr/include/c++/9/type_traits:1292:12: note: provided for ‘template<class, class> struct std::is_same’ 1292 | struct is_same | ^~~ In file included from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-zzp-ffpack.hpp:205:49: error: expected unqualified-id before ‘,’ token 205 | if (std::is_same<FFPACK::Modular , FieldType>::value) | ^ ./../e/aring-zzp-ffpack.hpp:207:13: error: ‘FieldType’ has not been declared 207 | return FieldType::getMaxModulus()/2; | ^~~~~ ./../e/aring-zzp-ffpack.hpp:209:14: error: ‘FieldType’ has not been declared 209 | return FieldType::getMaxModulus(); | ^~~~~ In file included from ./../e/aring-translate.hpp:21, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-gf-givaro.hpp: At global scope: ./../e/aring-gf-givaro.hpp:73:21: error: ‘GFqDom’ in namespace ‘Givaro’ does not name a template type 73 | typedef Givaro::GFqDom FieldType; | ^~ ./../e/aring-gf-givaro.hpp:74:13: error: ‘FieldType’ does not name a type 74 | typedef FieldType::Element ElementType; | ^~~~~ ./../e/aring-gf-givaro.hpp:77:13: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 77 | typedef ElementType elem; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:79:14: error: ‘FieldType’ does not name a type 79 | typedef FieldType::Residu_t UTT; ///< types depends on FieldType definition! | ^~~~~ ./../e/aring-gf-givaro.hpp:82:30: error: ‘FieldType’ was not declared in this scope 82 | typedef std::make_signed::type STT; | ^~~~~ ./../e/aring-gf-givaro.hpp:82:49: error: template argument 1 is invalid 82 | typedef std::make_signed::type STT; | ^ ./../e/aring-gf-givaro.hpp:82:52: error: typedef name may not be a nested-name-specifier 82 | typedef std::make_signed::type STT; | ^~~~ ./../e/aring-gf-givaro.hpp:82:52: error: expected ‘;’ at end of member declaration 82 | typedef std::make_signed::type STT; | ^~~~ | ; ./../e/aring-gf-givaro.hpp:82:57: error: ‘STT’ does not name a type 82 | typedef std::make_signed::type STT; | ^~~ ./../e/aring-gf-givaro.hpp:85:23: error: expected ‘)’ before ‘charac’ 85 | ARingGFGivaro( UTT charac, UTT dimension_); | ~ ^~~~ | ) ./../e/aring-gf-givaro.hpp:91:50: error: ‘UTT’ has not been declared 91 | static const M2_arrayint findMinimalPolynomial(UTT charac, UTT dim); | ^~~ ./../e/aring-gf-givaro.hpp:91:62: error: ‘UTT’ has not been declared 91 | static const M2arrayint findMinimalPolynomial(UTT charac, UTT dim); | ^~~ ./../e/aring-gf-givaro.hpp:93:21: error: expected ‘)’ before ‘charac’ 93 | ARingGFGivaro( UTT charac, | ~ ^~~~ | ) ./../e/aring-gf-givaro.hpp:99:21: error: expected ‘)’ before ‘charac’ 99 | ARingGFGivaro( UTT charac_, | ~ ^~~~ | ) ./../e/aring-gf-givaro.hpp:106:9: error: ‘FieldType’ does not name a type 106 | const FieldType field() const {return givaroField;} | ^~~~~ ./../e/aring-gf-givaro.hpp:110:5: error: ‘UTT’ does not name a type 110 | UTT mCharac; | ^~~ ./../e/aring-gf-givaro.hpp:111:5: error: ‘UTT’ does not name a type 111 | UTT mDimension; ///< same as extensionDegree | ^~~ ./../e/aring-gf-givaro.hpp:112:5: error: ‘UTT’ does not name a type 112 | UTT mCardinality; ///< number of elements in the field, if less than some bound, otherwise 0. | ^~~ ./../e/aring-gf-givaro.hpp:117:11: error: ‘FieldType’ does not name a type 117 | const FieldType givaroField; | ^~~~~ ./../e/aring-gf-givaro.hpp:119:14: error: ‘FieldType’ does not name a type 119 | mutable FieldType::randIter givaroRandomIterator; | ^~~~~ ./../e/aring-gf-givaro.hpp:128:45: error: ‘UTT’ has not been declared 128 | M2_arrayint representationToM2Array(UTT representation, long coeffNum ) const; | ^~~ ./../e/aring-gf-givaro.hpp:130:52: error: ‘UTT’ has not been declared 130 | static M2_arrayint representationToM2Array(UTT representation, long coeffNum, UTT charac ) ; | ^~~ ./../e/aring-gf-givaro.hpp:130:88: error: ‘UTT’ has not been declared 130 | static M2_arrayint representationToM2Array(UTT representation, long coeffNum, UTT charac ) ; | ^~~ ./../e/aring-gf-givaro.hpp:132:58: error: ‘UTT’ has not been declared 132 | M2_arrayint modPolynomialRepresentationToM2Array(UTT representation) const; | ^~~ ./../e/aring-gf-givaro.hpp:133:52: error: ‘UTT’ has not been declared 133 | M2_arrayint elementRepresentationToM2Array(UTT representation) const; | ^~~ ./../e/aring-gf-givaro.hpp:138:39: error: ‘ElementType’ has not been declared 138 | M2_arrayint fieldElementToM2Array(ElementType el) const; | ^~~ ./../e/aring-gf-givaro.hpp:141:17: error: ‘UTT’ does not name a type 141 | static UTT M2arrayToGFRepresentation(UTT pCharac , const M2_arrayint & m2array ) ; | ^~~ ./../e/aring-gf-givaro.hpp:142:29: error: ‘UTT’ was not declared in this scope 142 | static std::vector M2arrayToStdVec(UTT pCharac , const M2_arrayint & m2array ) ; | ^~~ ./../e/aring-gf-givaro.hpp:142:32: error: template argument 1 is invalid 142 | static std::vector M2arrayToStdVec(UTT pCharac , const M2_arrayint & m2array ) ; | ^ ./../e/aring-gf-givaro.hpp:142:32: error: template argument 2 is invalid ./../e/aring-gf-givaro.hpp:142:51: error: ‘UTT’ has not been declared 142 | static std::vector M2arrayToStdVec(UTT pCharac , const M2_arrayint & m2array ) ; | ^~~ ./../e/aring-gf-givaro.hpp:145:12: error: ‘UTT’ does not name a type 145 | static UTT M2arrayGetDegree( const M2_arrayint & m2array ) ; | ^~~ ./../e/aring-gf-givaro.hpp:149:4: error: ‘UTT’ does not name a type 149 | UTT characteristic() const { return mCharac; } | ^~~ ./../e/aring-gf-givaro.hpp:151:4: error: ‘UTT’ does not name a type 151 | UTT cardinality() const { return mCardinality; } | ^~~ ./../e/aring-gf-givaro.hpp:153:39: error: ‘elem’ does not name a type 153 | unsigned int computeHashValue(const elem& a) const | ^~~~ ./../e/aring-gf-givaro.hpp:163:40: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 163 | const ElementType a, | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:173:28: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 173 | bool is_unit(const ElementType f) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:174:28: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 174 | bool is_zero(const ElementType f) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:180:48: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 180 | void to_ring_elem(ring_elem &result, const ElementType &a) const | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:185:25: error: ‘ElementType’ has not been declared 185 | void from_ring_elem(ElementType &result, const ring_elem &a) const | ^~~ ./../e/aring-gf-givaro.hpp:193:29: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 193 | bool is_equal(const ElementType f,const ElementType g) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:193:49: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 193 | bool is_equal(const ElementType f,const ElementType g) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:194:33: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 194 | int compare_elems(const ElementType f,const ElementType g) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:194:53: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 194 | int compare_elems(const ElementType f,const ElementType g) const ; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:202:27: error: ‘ElementType’ has not been declared 202 | void getGenerator(ElementType& result_gen) const; // returns the generator in this ring. | ^~~ ./../e/aring-gf-givaro.hpp:210:23: error: ‘elem’ has not been declared 210 | void init_set(elem &result, elem a) const { result = a; } | ^~~~ ./../e/aring-gf-givaro.hpp:210:37: error: ‘elem’ has not been declared 210 | void init_set(elem &result, elem a) const { result = a; } | ^~~~ ./../e/aring-gf-givaro.hpp:212:18: error: ‘elem’ has not been declared 212 | void set(elem &result, elem a) const { result = a; } | ^~~~ ./../e/aring-gf-givaro.hpp:212:32: error: ‘elem’ has not been declared 212 | void set(elem &result, elem a) const { result = a; } | ^~~~ ./../e/aring-gf-givaro.hpp:214:19: error: ‘elem’ has not been declared 214 | void init(elem &result) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:216:20: error: ‘elem’ has not been declared 216 | void clear(elem &result) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:218:23: error: ‘elem’ has not been declared 218 | void set_zero(elem &result) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:220:19: error: ‘elem’ has not been declared 220 | void copy(elem &result,const elem a) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:220:38: error: ‘elem’ does not name a type 220 | void copy(elem &result,const elem a) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:222:28: error: ‘elem’ has not been declared 222 | void set_from_long(elem &result, long a) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:224:27: error: ‘elem’ has not been declared 224 | void set_from_mpz(elem &result,const mpz_ptr a) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:226:27: error: ‘elem’ has not been declared 226 | void set_from_mpq(elem &result,const mpq_ptr a) const ; | ^~~~ ./../e/aring-gf-givaro.hpp:228:31: error: ‘elem’ has not been declared 228 | bool set_from_BigReal(elem &result, gmp_RR a) const { return false; } | ^~~~ ./../e/aring-gf-givaro.hpp:230:22: error: ‘elem’ has not been declared 230 | void set_var(elem &result, int v) const { result = 1; } | ^~~~ ./../e/aring-gf-givaro.hpp:237:21: error: ‘elem’ has not been declared 237 | void negate(elem &result,const elem a) const; | ^~~~ ./../e/aring-gf-givaro.hpp:237:40: error: ‘elem’ does not name a type 237 | void negate(elem &result,const elem a) const; | ^~~~ ./../e/aring-gf-givaro.hpp:239:21: error: ‘elem’ has not been declared 239 | void invert(elem &result,const elem a) const; | ^~~~ ./../e/aring-gf-givaro.hpp:239:40: error: ‘elem’ does not name a type 239 | void invert(elem &result,const elem a) const; | ^~~~ ./../e/aring-gf-givaro.hpp:241:18: error: ‘elem’ has not been declared 241 | void add(elem &result, const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:241:38: error: ‘elem’ does not name a type 241 | void add(elem &result, const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:241:51: error: ‘elem’ does not name a type 241 | void add(elem &result, const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:243:23: error: ‘ElementType’ has not been declared 243 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ ./../e/aring-gf-givaro.hpp:243:50: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 243 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:243:71: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 243 | void subtract(ElementType &result,const ElementType a,const ElementType b) const; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:245:32: error: ‘elem’ has not been declared 245 | void subtract_multiple(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:245:52: error: ‘elem’ does not name a type 245 | void subtract_multiple(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:245:66: error: ‘elem’ does not name a type 245 | void subtract_multiple(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:247:19: error: ‘elem’ has not been declared 247 | void mult(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:247:39: error: ‘elem’ does not name a type 247 | void mult(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:247:53: error: ‘elem’ does not name a type 247 | void mult(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:250:21: error: ‘elem’ has not been declared 250 | void divide(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:250:41: error: ‘elem’ does not name a type 250 | void divide(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:250:55: error: ‘elem’ does not name a type 250 | void divide(elem &result,const elem a,const elem b) const; | ^~~~ ./../e/aring-gf-givaro.hpp:252:20: error: ‘elem’ has not been declared 252 | void power(elem &result,const elem a,const STT n) const; | ^~~~ ./../e/aring-gf-givaro.hpp:252:40: error: ‘elem’ does not name a type 252 | void power(elem &result,const elem a,const STT n) const; | ^~~~ ./../e/aring-gf-givaro.hpp:252:54: error: ‘STT’ does not name a type 252 | void power(elem &result,const elem a,const STT n) const; | ^~~ ./../e/aring-gf-givaro.hpp:254:24: error: ‘elem’ has not been declared 254 | void power_mpz(elem &result,const elem a,const mpz_ptr n) const; | ^~~~ ./../e/aring-gf-givaro.hpp:254:44: error: ‘elem’ does not name a type 254 | void power_mpz(elem &result,const elem a,const mpz_ptr n) const; | ^~~~ ./../e/aring-gf-givaro.hpp:256:27: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 256 | void syzygy(const ElementType a, const ElementType b, | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:256:48: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 256 | void syzygy(const ElementType a, const ElementType b, | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:257:21: error: ‘ElementType’ has not been declared 257 | ElementType &x, ElementType &y) const; | ^~~ ./../e/aring-gf-givaro.hpp:257:37: error: ‘ElementType’ has not been declared 257 | ElementType &x, ElementType &y) const; | ^~~ ./../e/aring-gf-givaro.hpp:263:23: error: ‘ElementType’ has not been declared 263 | void swap(ElementType &a, ElementType &b) const; | ^~~ ./../e/aring-gf-givaro.hpp:263:39: error: ‘ElementType’ has not been declared 263 | void swap(ElementType &a, ElementType &b) const; | ^~~ ./../e/aring-gf-givaro.hpp:266:25: error: ‘FieldType’ has not been declared 266 | void random(FieldType::randIter &it, ElementType &result) const; | ^~~~~ ./../e/aring-gf-givaro.hpp:266:45: error: expected ‘,’ or ‘...’ before ‘&’ token 266 | void random(FieldType::randIter &it, ElementType &result) const; | ^ ./../e/aring-gf-givaro.hpp:267:25: error: ‘ElementType’ has not been declared 267 | void random(ElementType &result) const; | ^~~ ./../e/aring-gf-givaro.hpp:271:53: error: ‘ElementType’ has not been declared 271 | bool promote(const Ring Rf, const ring_elem f, ElementType &result) const; | ^~~ ./../e/aring-gf-givaro.hpp:273:57: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 273 | void lift_to_original_ring(ring_elem& result, const ElementType& f) const; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:276:37: error: ‘ElementType’ does not name a type; did you mean ‘xmlElementType’? 276 | bool lift(const Ring Rg, const ElementType f, ring_elem &result) const; | ^~~ | xmlElementType ./../e/aring-gf-givaro.hpp:281:41: error: ‘elem’ does not name a type 281 | void eval(const RingMap map, const elem f, int first_var, ring_elem &result) const; | ^~~~ ./../e/aring-gf-givaro.hpp: In member function ‘void M2::ARingGFGivaro::text_out(buffer&) const’: ./../e/aring-gf-givaro.hpp:160:60: error: ‘mCharac’ was not declared in this scope 160 | void text_out(buffer &o) const { o << "GF(" << mCharac << "," << mDimension << ",Givaro)"; } | ^~~ ./../e/aring-gf-givaro.hpp:160:78: error: ‘mDimension’ was not declared in this scope 160 | void text_out(buffer &o) const { o << "GF(" << mCharac << "," << mDimension << ",Givaro)"; } | ^~~~~~ In file included from ./../e/aring-translate.hpp:24, from ./../e/aring-glue.hpp:7, from interface.dd:16: ./../e/aring-tower.hpp: At global scope: ./../e/aring-tower.hpp:25:23: error: ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ does not name a type 25 | ARingZZpFFPACK::ElementType coeffs; | ^~~ ./../e/aring-tower.hpp:45:27: error: ‘ElementType’ in ‘M2::ARingTower::BaseRingType’ {aka ‘class M2::ARingZZpFFPACK’} does not name a type 45 | typedef BaseRingType::ElementType BaseCoefficientType; | ^~~ ./../e/aring-tower.hpp:199:39: error: ‘BaseCoefficientType’ does not name a type; did you mean ‘rawCoefficients’? 199 | void mult_by_coeff(poly &f, const BaseCoefficientType &b) const; | ^~~~~~~ | rawCoefficients ./../e/aring-tower.hpp:239:50: error: ‘BaseCoefficientType’ does not name a type; did you mean ‘rawCoefficients’? 239 | void mult_by_coeff(int level, poly &f, const BaseCoefficientType &b) const; | ^~~~~~~ | rawCoefficients In file included from ./../e/mat-linalg.hpp:48, from ./../e/mutablemat-defs.hpp:70, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/lapack.hpp:146:6: error: conflicting declaration of C function ‘void cblas_dscal(int, double, const double, int)’ 146 | void cblas_dscal(const int n, // length of vectors | ^~~ In file included from /usr/include/fflas-ffpack/fflas/fflas.h:38, from /usr/include/fflas-ffpack/ffpack/ffpack.h:45, from ./../e/aring-zzp-ffpack.hpp:10, from ./../e/aring-translate.hpp:18, from ./../e/aring-glue.hpp:7, from interface.dd:16: /usr/include/fflas-ffpack/config-blas.h:338:10: note: previous declaration ‘void cblas_dscal(int, double, double, int)’ 338 | void cblas_dscal(const int N, const double alpha, | ^~~ In file included from ./../e/dmat-lu.hpp:15, from ./../e/mat-linalg.hpp:50, from ./../e/mutablemat-defs.hpp:70, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat-lu-zzp-ffpack.hpp:9:31: error: ‘M2::ZZpFFPACK::ElementType’ has not been declared 9 | ZZpFFPACK::ElementType& result_det); | ^~~ ./../e/dmat-lu-zzp-ffpack.hpp:35:30: error: ‘ElementType’ in ‘DMatLinAlg::RingType’ {aka ‘class M2::ARingZZpFFPACK’} does not name a type 35 | typedef typename RingType::ElementType ElementType; | ^~~ In file included from ./../e/dmat-lu.hpp:11, from ./../e/mat-linalg.hpp:50, from ./../e/mutablemat-defs.hpp:70, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat-lu-inplace.hpp: In instantiation of ‘class DMatLUinPlace’: ./../e/dmat-lu-zzp-ffpack.hpp:49:34: required from here ./../e/dmat-lu-inplace.hpp:60:42: error: no type named ‘ElementType’ in ‘DMatLUinPlace::RingType’ {aka ‘class M2::ARingZZpFFPACK’} 60 | typedef typename RingType::ElementType ElementType; | ^~~ In file included from ./../e/mutablemat-defs.hpp:66, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat.hpp: In instantiation of ‘class DMat’: ./../e/dmat-lu-inplace.hpp:66:7: required from ‘class DMatLUinPlace’ ./../e/dmat-lu-zzp-ffpack.hpp:49:34: required from here ./../e/dmat.hpp:71:44: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 71 | typedef typename ACoeffRing::ElementType ElementType; | ^~~ In file included from interface.dd:16: ./../e/aring-glue.hpp: In instantiation of ‘class M2::ConcreteRing’: ./../e/aring-glue.hpp:840:43: required from here ./../e/aring-glue.hpp:28:44: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 28 | typedef typename RingType::ElementType ElementType; | ^~~ ./../e/aring-glue.hpp: In instantiation of ‘class M2::ConcreteRing’: ./../e/aring-glue.hpp:916:42: required from here ./../e/aring-glue.hpp:28:44: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ ./../e/aring-glue.hpp: In member function ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:923:35: error: ‘a’ was not declared in this scope 923 | bool retval = R->promote(Rf,f,a); | ^ ./../e/aring-glue.hpp: In member function ‘bool M2::ConcreteRing::lift(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:936:13: error: ‘a’ was not declared in this scope 936 | R->init(a); | ^ In file included from ./../e/mutablemat-defs.hpp:66, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat.hpp: In instantiation of ‘DMat::~DMat() [with ACoeffRing = M2::ARingZZpFFPACK]’: ./../e/dmat-lu-inplace.hpp:38:7: required from here ./../e/dmat.hpp:112:20: error: using invalid field ‘DMat::mArray’ 112 | ring().clear(mArray[i]); | ^~ ./../e/dmat.hpp:113:9: error: using invalid field ‘DMat::mArray’ 113 | if (mArray != 0) | ^~ ./../e/dmat.hpp:114:17: error: using invalid field ‘DMat::mArray’ 114 | delete [] mArray; | ^~ In file included from ./../e/dmat-lu.hpp:11, from ./../e/mat-linalg.hpp:50, from ./../e/mutablemat-defs.hpp:70, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat-lu-inplace.hpp: In instantiation of ‘static void LUUtil::setUpperLower(const Mat&, LUUtil::Mat&, LUUtil::Mat&) [with RT = M2::ARingZZpFFPACK; LUUtil::Mat = DMat]’: ./../e/dmat-lu-zzp-ffpack.hpp:53:23: required from here ./../e/dmat-lu-inplace.hpp:432:39: error: ‘LUUtil::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 432 | LU.ring().set_from_long(lower.entry(c,c), 1); | ~~^~~~~ ./../e/dmat-lu-inplace.hpp:436:33: error: ‘LUUtil::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 436 | LU.ring().set(upper.entry(r,c), LU.entry(r,c)); | ~~^~~~~ ./../e/dmat-lu-inplace.hpp:436:48: error: ‘const Mat’ {aka ‘const class DMat’} has no member named ‘entry’ 436 | LU.ring().set(upper.entry(r,c), LU.entry(r,c)); | ~^~~ ./../e/dmat-lu-inplace.hpp:439:35: error: ‘LUUtil::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 439 | LU.ring().set(lower.entry(r,c), LU.entry(r,c)); | ~~^~~~~ ./../e/dmat-lu-inplace.hpp:439:50: error: ‘const Mat’ {aka ‘const class DMat’} has no member named ‘entry’ 439 | LU.ring().set(lower.entry(r,c), LU.entry(r,c)); | ~^~~ In file included from interface.dd:16: ./../e/aring-glue.hpp: In instantiation of ‘bool M2::liftToInt(const RingType&, const Ring, ring_elem, ring_elem&) [with RingType = M2::ARingZZpFFPACK]’: ./../e/aring-glue.hpp:842:43: required from here ./../e/aring-glue.hpp:819:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 819 | typename RingType::ElementType a; | ^ ./../e/aring-glue.hpp:819:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp: In instantiation of ‘std::pair<bool, long int> M2::coerceToLongIntegerFcn(const RT&, ring_elem) [with RT = M2::ARingZZpFFPACK]’: ./../e/aring-glue.hpp:1149:44: required from here ./../e/aring-glue.hpp:1126:30: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 1126 | typename RT::ElementType b; | ^ ./../e/aring-glue.hpp:1126:30: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp: In instantiation of ‘const RingElement M2::getLiftedRepresentation(const RT&, const ring_elem&) [with RT = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:1222:60: required from here ./../e/aring-glue.hpp:1205:30: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 1205 | typename RT::ElementType b; // in ring() | ^ ./../e/aring-glue.hpp:1205:30: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ In file included from ./../e/mutablemat-defs.hpp:66, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat.hpp: In instantiation of ‘DMat::DMat(const DMat&) [with ACoeffRing = M2::ARingZZpFFPACK]’: ./../e/dmat-lu-inplace.hpp:117:18: required from ‘DMatLUinPlace::DMatLUinPlace(const Mat&) [with RT = M2::ARingZZpFFPACK; DMatLUinPlace::Mat = DMat]’ ./../e/dmat-lu-zzp-ffpack.hpp:49:34: required from here ./../e/dmat.hpp:100:7: error: using invalid field ‘DMat::mArray’ 100 | mArray = 0; | ^~ ./../e/dmat.hpp:103:9: error: using invalid field ‘DMat::mArray’ 103 | mArray = new ElementType[len]; | ^~ ./../e/dmat.hpp:105:27: error: using invalid field ‘DMat::mArray’ 105 | ring().init_set(mArray[i], M.array()[i]); | ^~ In file included from ./../e/dmat-lu.hpp:11, from ./../e/mat-linalg.hpp:50, from ./../e/mutablemat-defs.hpp:70, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat-lu-inplace.hpp: In instantiation of ‘void DMatLUinPlace::computeLU() [with RT = M2::ARingZZpFFPACK]’: ./../e/dmat-lu-inplace.hpp:51:28: required from ‘const Mat& DMatLUinPlace::LUinPlace() [with RT = M2::ARingZZpFFPACK; DMatLUinPlace::Mat = DMat]’ ./../e/dmat-lu-zzp-ffpack.hpp:51:33: required from here ./../e/dmat-lu-inplace.hpp:218:40: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 218 | mLU.ring().mult(tmp, mLU.entry(r,i), mLU.entry(i,col)); | ~~^~~ ./../e/dmat-lu-inplace.hpp:218:56: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 218 | mLU.ring().mult(tmp, mLU.entry(r,i), mLU.entry(i,col)); | ~~^~~ ./../e/dmat-lu-inplace.hpp:219:39: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 219 | mLU.ring().subtract(mLU.entry(r,col), mLU.entry(r,col), tmp); | ~~^~~ ./../e/dmat-lu-inplace.hpp:219:57: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 219 | mLU.ring().subtract(mLU.entry(r,col), mLU.entry(r,col), tmp); | ~~^~~ ./../e/dmat-lu-inplace.hpp:253:40: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 253 | mLU.ring().mult(tmp, mLU.entry(row,i), mLU.entry(i,c)); | ~~^~~ ./../e/dmat-lu-inplace.hpp:253:58: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 253 | mLU.ring().mult(tmp, mLU.entry(row,i), mLU.entry(i,c)); | ~~^~~ ./../e/dmat-lu-inplace.hpp:254:39: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 254 | mLU.ring().subtract(mLU.entry(row,c), mLU.entry(row,c), tmp); | ~~^~~ ./../e/dmat-lu-inplace.hpp:254:57: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 254 | mLU.ring().subtract(mLU.entry(row,c), mLU.entry(row,c), tmp); | ~~^~~ ./../e/dmat-lu-inplace.hpp:269:33: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 269 | mLU.ring().divide(mLU.entry(r,row), mLU.entry(r,col), pivot); | ~~^~~ ./../e/dmat-lu-inplace.hpp:269:51: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 269 | mLU.ring().divide(mLU.entry(r,row), mLU.entry(r,col), pivot); | ~~^~~ ./../e/dmat-lu-inplace.hpp:270:46: error: ‘DMatLUinPlace::Mat’ {aka ‘class DMat’} has no member named ‘entry’ 270 | if (row < col) ring().set_zero(mLU.entry(r,col)); | ~~^~~ In file included from ./../e/mutablemat-defs.hpp:66, from ./../e/mutablemat.hpp:6, from ./../e/aring-glue.hpp:10, from interface.dd:16: ./../e/dmat.hpp: In instantiation of ‘DMat::DMat(const ACoeffRing&, size_t, size_t) [with ACoeffRing = M2::ARingZZpFFPACK; size_t = long unsigned int]’: ./../e/dmat.hpp:158:10: required from ‘void DMat::resize(size_t, size_t) [with ACoeffRing = M2::ARingZZpFFPACK; size_t = long unsigned int]’ ./../e/dmat-lu-inplace.hpp:422:3: required from ‘static void LUUtil::setUpperLower(const Mat&, LUUtil::Mat&, LUUtil::Mat&) [with RT = M2::ARingZZpFFPACK; LUUtil::Mat = DMat]’ ./../e/dmat-lu-zzp-ffpack.hpp:53:23: required from here ./../e/dmat.hpp:84:7: error: using invalid field ‘DMat::mArray’ 84 | mArray = 0; | ^~ ./../e/dmat.hpp:87:9: error: using invalid field ‘DMat::mArray’ 87 | mArray = new ElementType[len]; | ^~ ./../e/dmat.hpp:90:25: error: using invalid field ‘DMat::mArray’ 90 | ring().init(mArray[i]); | ^~ ./../e/dmat.hpp:91:29: error: using invalid field ‘DMat::mArray’ 91 | ring().set_zero(mArray[i]); | ^~ ./../e/dmat.hpp: In instantiation of ‘void DMat::swap(DMat&) [with ACoeffRing = M2::ARingZZpFFPACK]’: ./../e/dmat.hpp:159:5: required from ‘void DMat::resize(size_t, size_t) [with ACoeffRing = M2::ARingZZpFFPACK; size_t = long unsigned int]’ ./../e/dmat-lu-inplace.hpp:422:3: required from ‘static void LUUtil::setUpperLower(const Mat&, LUUtil::Mat&, LUUtil::Mat&) [with RT = M2::ARingZZpFFPACK; LUUtil::Mat = DMat]’ ./../e/dmat-lu-zzp-ffpack.hpp:53:23: required from here ./../e/dmat.hpp:123:15: error: using invalid field ‘DMat::mArray’ 123 | std::swap(mArray, M.mArray); | ^~ ./../e/dmat.hpp:123:25: error: ‘class DMat’ has no member named ‘mArray’ 123 | std::swap(mArray, M.mArray); | ^~~~ In file included from interface.dd:16: ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingZZp; TargetRing = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:662:74: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingZZp; TargetRing = M2::ARingZZpFFPACK]’: ./../e/aring-glue.hpp:663:76: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingGFGivaro; TargetRing = M2::ARingZZp]’: ./../e/aring-glue.hpp:669:69: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingGFGivaro; TargetRing = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:670:79: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingGFGivaro; TargetRing = M2::ARingZZpFFPACK]’: ./../e/aring-glue.hpp:671:81: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingZZpFFPACK; TargetRing = M2::ARingZZp]’: ./../e/aring-glue.hpp:676:70: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingZZpFFPACK; TargetRing = M2::ARingGFGivaro]’: ./../e/aring-glue.hpp:677:80: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingGFGivaro’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp: In instantiation of ‘bool M2::RingPromoter::promoter(const Ring, const Ring, ring_elem, ring_elem&) [with SourceRing = M2::ARingZZpFFPACK; TargetRing = M2::ARingZZpFFPACK]’: ./../e/aring-glue.hpp:678:82: required from ‘bool M2::ConcreteRing::promote(const Ring, ring_elem, ring_elem&) const [with RingType = M2::ARingQQGMP]’ ./../e/aring-glue.hpp:194:18: required from here ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 603 | typename TargetRing::ElementType gS1; | ^~~ ./../e/aring-glue.hpp:602:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 602 | typename SourceRing::ElementType fR1; | ^~~ ./../e/aring-glue.hpp:603:40: error: no type named ‘ElementType’ in ‘class M2::ARingZZpFFPACK’ 603 | typename TargetRing::ElementType gS1; | ^~~ make[2]: [../../include/config.Makefile:196: interface.o] Error 1 make[2]: Leaving directory '/home/bhuria/M2/M2/Macaulay2/d' make[1]: [Makefile:20: all-in-d] Error 2 make[1]: Leaving directory '/home/bhuria/M2/M2/Macaulay2' make: *** [GNUmakefile:178: all-in-Macaulay2] Error 2 make: Leaving directory '/home/bhuria/M2/M2'

bhuria00z commented 4 years ago

#aring-gf-givaro.hpp#.tar.gz

DanGrayson commented 4 years ago

Oh, you were trying to compile from the source, not trying to install the ubuntu 19.10 version manually -- that's a bit harder. Meanwhile, I've put a 20.04 version online, so try installing that. See

https://faculty.math.illinois.edu/Macaulay2/Downloads/GNU-Linux/Ubuntu/

bhuria00z commented 4 years ago

thank you so much it is installed thank u again