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: 5
Popularity: 0.000001
First Submitted: 2009-04-09 17:09
Last Updated: 2020-10-21 21:33

Latest Comments

1 2 3 4 5 6 Next › Last »

DanGrayson commented on 2021-04-02 18:50

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

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

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

DanGrayson commented on 2021-03-07 14:04

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

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

Which file did you remove those lines from?

8d1h commented on 2021-03-06 17:50

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

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

onecan commented on 2021-02-15 23:25

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

DanGrayson commented on 2021-02-15 22:30

... and then run "make" in the same directory to remake "configure", after deleting "configure", if necessary.