Package Details: macaulay2 19030.995c6fd8c-1

Git Clone URL: https://aur.archlinux.org/macaulay2.git (read-only, click to copy)
Package Base: macaulay2
Description: Software system for algebraic geometry and commutative algebra
Upstream URL: http://www.math.uiuc.edu/Macaulay2/
Licenses: GPL
Submitter: remyoudompheng
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 6
Popularity: 0.31
First Submitted: 2009-04-09 17:09 (UTC)
Last Updated: 2024-04-04 17:04 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Dylan14 commented on 2021-05-21 13:34 (UTC) (edited on 2021-05-21 13:35 (UTC) by Dylan14)

gcc10 needs to be added as a make dependency, as one of the dependencies that Macaulay downloads when it is building, mathicgb, fails to build under gcc 11.1 (see the following issue: https://github.com/Macaulay2/mathicgb/issues/25). There is a pending pull request to fix this: https://github.com/Macaulay2/mathicgb/pull/26.

DanGrayson commented on 2021-04-02 18:50 (UTC)

Re: "I've heard that one dependency is no longer needed"

They seem to be referring to "frobby", but Macaulay2 still requires it.

micwoj92 commented on 2021-04-02 18:29 (UTC)

Hello, could you either switch to use tags https://github.com/Macaulay2/M2/releases or reupload this as -git package? Also I've heard that one dependency is no longer needed https://aur.archlinux.org/packages/frobby/#comment-799954

8d1h commented on 2021-03-07 15:42 (UTC)

That's great, thanks a lot! Glad I could help.

DanGrayson commented on 2021-03-07 14:04 (UTC)

Oh, right. I've just checked, and our configuration files do not use those two variables, so it's safe for you to remove those lines. I've also checked that autoconf 2.69, which we use, sets them, but autoconf 2.71, which you use, does not. So I've removed those lines in our development branch (see below) and will upgrade the configure script to work well with 2.71 (currently it gets lots of warnings).

commit ffd0589f33e9b95b306720597ba831fcd93be679 (HEAD -> development, upstream/development) Author: Daniel R. Grayson dan@math.uiuc.edu Date: Sun Mar 7 07:50:21 2021 -0600

remove obsolete configure variables from include/configuration.in

..., namely CXXCPP and EGREP.  They were produced by autoconf 2.69 but not by autoconf 2.71.

Thanks for drawing my attention to this.

8d1h commented on 2021-03-07 01:28 (UTC)

From "include/configuration". I first ran configure in the "M2" directory, removed the lines, and then ran make again and it worked. I guess that this is generated from the template file "include/configuration.in" and somehow these two didn't get replaced?

DanGrayson commented on 2021-03-06 18:48 (UTC)

Which file did you remove those lines from?

8d1h commented on 2021-03-06 17:50 (UTC)

I've been running into the same error too. Had to manually remove the two lines with CXXCPP=@CXXCPP@ and EGREP=@EGREP@, and the build finished successfully without any other errors.

DanGrayson commented on 2021-02-15 23:51 (UTC)

Make sure you've installed the appropriate tbb packages (threaded building blocks).

onecan commented on 2021-02-15 23:25 (UTC) (edited on 2021-02-15 23:26 (UTC) by onecan)

Thanks for the speedy response.

I was using autoconf 2.71-1. Going to src/M2/M2 and running "make get-autoconf" returned the error "No rule to make target `get-autoconf'", but downgrading my autoconf to 2.69-7 avoided the "underfined configure variables" error below.

I now get a bunch of new errors:

fflas_fsyrk_strassen.inl:404:13: error: ‘class Givaro::IntSqrtModDom<>’ has no member named ‘sumofsquaresmodprime’
  404 |         ISM.sumofsquaresmodprime (a, b, -1, F.characteristic());
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from VectorArithmetic.cpp:1:
VectorArithmetic.hpp: At global scope:
VectorArithmetic.hpp:108:40: error: ‘tbb’ has not been declared
  108 |                                        tbb::queuing_mutex& lock) const = 0;
      |                                        ^~~
VectorArithmetic.hpp:108:58: error: expected ‘,’ or ‘...’ before ‘&’ token
  108 |                                        tbb::queuing_mutex& lock) const = 0;
      |                                                          ^
VectorArithmetic.hpp:116:40: error: ‘tbb’ has not been declared
  116 |                                        tbb::null_mutex& lock) const = 0;
      |                                        ^~~
VectorArithmetic.hpp:116:55: error: expected ‘,’ or ‘...’ before ‘&’ token
  116 |                                        tbb::null_mutex& lock) const = 0;
      |                                                       ^
VectorArithmetic.hpp:110:16: error: ‘virtual void AbstractVectorArithmetic::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’ cannot be overloaded with ‘virtual void AbstractVectorArithmetic::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’
  110 |   virtual void safeDenseRowToSparseRow(DenseCoeffVector& dense,
      |                ^~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.hpp:102:16: note: previous declaration ‘virtual void AbstractVectorArithmetic::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’
  102 |   virtual void safeDenseRowToSparseRow(DenseCoeffVector& dense,
      |                ^~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp:186:32: error: ‘tbb’ has not been declared
  186 |                                tbb::queuing_mutex& lock) const override
      |                                ^~~
VectorArithmetic.cpp:186:50: error: expected ‘,’ or ‘...’ before ‘&’ token
  186 |                                tbb::queuing_mutex& lock) const override
      |                                                  ^
VectorArithmetic.cpp:203:32: error: ‘tbb’ has not been declared
  203 |                                tbb::null_mutex& noLock) const override
      |                                ^~~
VectorArithmetic.cpp:203:47: error: expected ‘,’ or ‘...’ before ‘&’ token
  203 |                                tbb::null_mutex& noLock) const override
      |                                               ^
VectorArithmetic.cpp:197:8: error: ‘void ConcreteVectorArithmetic<T>::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’ cannot be overloaded with ‘void ConcreteVectorArithmetic<T>::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’
  197 |   void safeDenseRowToSparseRow(DenseCoeffVector& dense,
      |        ^~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp:180:8: note: previous declaration ‘void ConcreteVectorArithmetic<T>::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’
  180 |   void safeDenseRowToSparseRow(DenseCoeffVector& dense,
      |        ^~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp: In member function ‘void ConcreteVectorArithmetic<T>::denseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&) const’:
VectorArithmetic.cpp:170:5: error: ‘tbb’ has not been declared
  170 |     tbb::null_mutex noLock;
      |     ^~~
VectorArithmetic.cpp:171:32: error: ‘tbb’ was not declared in this scope
  171 |     generalDenseRowToSparseRow<tbb::null_mutex>(dense,
      |                                ^~~
VectorArithmetic.cpp:171:5: error: parse error in template argument list
  171 |     generalDenseRowToSparseRow<tbb::null_mutex>(dense,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp:177:49: error: ‘noLock’ was not declared in this scope
  177 |                                                 noLock);
      |                                                 ^~~~~~
VectorArithmetic.cpp: In member function ‘void ConcreteVectorArithmetic<T>::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’:
VectorArithmetic.cpp:188:32: error: ‘tbb’ was not declared in this scope
  188 |     generalDenseRowToSparseRow<tbb::queuing_mutex>(dense,
      |                                ^~~
VectorArithmetic.cpp:188:5: error: parse error in template argument list
  188 |     generalDenseRowToSparseRow<tbb::queuing_mutex>(dense,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp:194:52: error: ‘lock’ was not declared in this scope; did you mean ‘lockf’?
  194 |                                                    lock);
      |                                                    ^~~~
      |                                                    lockf
VectorArithmetic.cpp: In member function ‘void ConcreteVectorArithmetic<T>::safeDenseRowToSparseRow(DenseCoeffVector&, CoeffVector&, Range<int>&, int, int, MemoryBlock&, int) const’:
VectorArithmetic.cpp:205:32: error: ‘tbb’ was not declared in this scope
  205 |     generalDenseRowToSparseRow<tbb::null_mutex>(dense,
      |                                ^~~
VectorArithmetic.cpp:205:5: error: parse error in template argument list
  205 |     generalDenseRowToSparseRow<tbb::null_mutex>(dense,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VectorArithmetic.cpp:211:49: error: ‘noLock’ was not declared in this scope
  211 |                                                 noLock);
      |                                                 ^~~~~~
make[2]: *** [Makefile.common:33: VectorArithmetic.o] Error 1