Package Details: macaulay2 14130.4947cfd-1

Git Clone URL: https://aur.archlinux.org/macaulay2.git (read-only)
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.045470
First Submitted: 2009-04-09 17:09
Last Updated: 2019-05-14 20:58

Latest Comments

1 2 3 Next › Last »

pbanks commented on 2019-06-05 13:21

When compiling, I got the following error:

/usr/bin/ld: _ZN3NTL8GF2EInfoE: TLS reference in /usr/local/lib/libfactory.so mismatches non-TLS definition in /home/peter/.cache/aurman/macaulay2/src/M2/M2/usr-host/lib/libntl.a(GF2E.o) section .bss
/usr/bin/ld: /home/peter/.cache/aurman/macaulay2/src/M2/M2/usr-host/lib/libntl.a: error adding symbols: bad value
collect2: error: ld returned 1 exit status

I fixed this by removing the libraries libntl.a and libfactory.a from the usr-host directory and linking against the system copy of libntl. This then caused an issue with the version of libfactory.so provided by singular-factory. As a workaround, I added --enable-streamio to the arguments passed to configure in the singular-factory PKGBUILD, then rebuilt both packages.

onecan commented on 2019-05-20 00:11

I think that yasm is needed as a build dependency and cblas is needed as a dependency. Also, when one tries to install the fully built package with pacman -U, it seems to be trying to install a version of fflas-ffpack in the build directory. Thank your work maintaining this package.

pablo1 commented on 2019-05-07 16:06

Please add readline7 as dependency, it fails to build without it.

petRUShka commented on 2019-02-24 09:31

Is it necessary to have singular-factory as dependency?

Because singular from community and singular-factory are in conflict. It seems like factory is included in singular package.

But sagemath depends on singular so it in current dependency relationship it is impossible to have sagemath (or other package dependent on singular) and macaulay2 simultaneously.

Conflict:

...
singular-factory: /usr/share/factory/gftables/729 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/7921 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/8 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/81 exists in filesystem (owned by singular)
...

blegat commented on 2018-12-08 11:54

I have tried the package and it fails with "openblas_set_num_threads not declared in this scope". This is discussed in https://groups.google.com/forum/#!searchin/macaulay2/openblas_set_num_threads%7Csort:date/macaulay2/TZRdOEyh1Z0/HN4WAbBkBQAJ where they advise not to use the system openblas library and let macaulay2 compile its own. Should this AUR package be updated to do that ? Probably the ArchLinux openblas package was updated and it breaks this AUR package.

kmarius commented on 2018-12-03 16:01

The CFLAGS issue should be fixed in https://github.com/Macaulay2/M2/commit/fd0bec743905b731057fdcc755008c01bcf861e7

Nevertheless I am unable to compile it using the shared libraries. Building completely from source works, with

make

./configure --enable-download --prefix=/usr

make -j1

This took over an hour and a half to compile.

onecan commented on 2018-11-26 23:46

Did anyone ever find a way around the issue that Sleris describes below?

ConnorBehan commented on 2017-11-12 05:46

That's clearly a CFLAGS quoting error. I'm not sure which file it's in, but you can probably bypass this by going back to the default.

Sleris commented on 2017-11-09 16:16

I confirm jneem comment, the package require yasm to build.
But even with it, the compilation fail while building cohomcalg.
I am getting a strange error that I am not even able to understand looking at the various make files:

make: Entering directory '/var/tmp/pkgbuild-0/macaulay2/src/M2/M2/libraries/cohomcalg/build'
+ :
+ touch .configured-031b
=== making .compiled-031b in cohomcalg
+ set +x
make: Entering directory '/var/tmp/pkgbuild-0/macaulay2/src/M2/M2/libraries/cohomcalg/build'
+ make -j1 prefix=/var/tmp/pkgbuild-0/macaulay2/src/M2/M2/usr-host CC=gcc CXX=g++ LD=g++ CFLAGS=-std=gnu11 -march=x86-64 -mtune=generic -pipe -fstack-protector-strong -fno-plt -g3 -O2
make : option invalide -- 'a'
make : option invalide -- 'c'
make : option invalide -- '='
make : option invalide -- 'x'
make : option invalide -- '8'
make : option invalide -- '6'
make : option invalide -- '-'
make : option invalide -- '6'
make : option invalide -- '4'
make : option invalide -- 'u'
make : option invalide -- '='
make : option invalide -- 'g'
make : option invalide -- 'c'
make : option invalide -- 'g'
make : option invalide -- '3'
Utilisation : make [options] [cible] ...

[...]

make[2]: *** [../Makefile.library:155: .compiled-031b] Error 2
make[2] : on quitte le répertoire « /var/tmp/pkgbuild-0/macaulay2/src/M2/M2/libraries/cohomcalg »
make[1]: *** [Makefile:7: all-in-cohomcalg] Error 2
make[1] : on quitte le répertoire « /var/tmp/pkgbuild-0/macaulay2/src/M2/M2/libraries »
make: *** [GNUmakefile:191: all-in-libraries] Error 2
make : on quitte le répertoire « /var/tmp/pkgbuild-0/macaulay2/src/M2/M2 »
==> ERREUR : Une erreur s’est produite dans build().
Abandon...

==> ERROR: the build failed
-> Status
failed (1): macaulay2

jneem commented on 2017-07-11 20:51

There's a missing dependency on yasm, without which macaulay2 fails to build.