Closed bhuria00z closed 4 years ago
Good idea. Perhaps in the meantime you can see if our 19.10 release works for you, by installing it manually.
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 .
Perhaps you could show me a transcript of your installation attempt here.
ok i wrote everythng i done it is..
$ 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)
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[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'
/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'
/home/bhuria/M2/M2/Macaulay2/e/ “aring-gf-givaro.hpp”
prpgresse…...
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~~
./../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~~
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~~
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~~
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~~~~
./../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~
./../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~~~~
./../e/aring-gf-givaro.hpp:82:49: error: template argument 1 is invalid
82 | typedef std::make_signed~~~
| )
./../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~~
| 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~~
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~~
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~~
In file included from interface.dd:16:
./../e/aring-glue.hpp: In instantiation of ‘class M2::ConcreteRing~~
./../e/aring-glue.hpp: In instantiation of ‘class M2::ConcreteRing
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/
thank you so much it is installed thank u again
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 .