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.000000
First Submitted: 2009-04-09 17:09
Last Updated: 2016-08-18 02:50

Latest Comments

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.

mcboro commented on 2017-03-21 12:55

I've been trying to compile Macaulay2 from git. The command I used was
CC=gcc-5 CXX=g++-5 ./configure --enable-download --enable-build-libraries="pari flint ntl gc givaro factory fflas-ffpack"
There were two problems: first, mpir bundled with Macaulay2 fails to compile. The AUR mpir package works, maybe there is a nice way of disabling mpir compilation, but I just changed the variable BUILD_mpir=yes in configure.ac to no.

Then the file 'Macaulay2/bin/timestamp.c didn't compile, because of no-linking to cblas. A dirty workaround was to edit Macaulay2/bin/Makefile and change -lblas -lblas to -lblas -lcblas.

During the test phase there is an error "error: file not found on path: "MultipolynomialResultants.m2", but the ./M2 command seems to work.

thelongdivider commented on 2017-01-16 18:25

For anyone still having problems compiling this from source, Daniel recommended to me that instead one can use the common files, for which you will need 2:

http://www.math.uiuc.edu/Macaulay2/Downloads/Common/
http://www.math.uiuc.edu/Macaulay2/Downloads/GNU-Linux/Arch/index.html

Extract them in the same directory. You may also need to link libreadline as follows:

sudo ln -s /usr/lib/libreadline.so /usr/lib/libreadline.so.6

Run the program from Macaulay2-1.9.2/bin/M2. Then one can setupEmacs() to avoid having to reach out to the folder every time they want to use M2.

johnl commented on 2016-12-23 20:35

Current build fails, I think because the version of givaro provided by Arch is too recent to work with M2. I am hesitant to downgrade it, since the current version is a dependency for sage.

Lello commented on 2015-10-18 18:56

Current macaulay2 version (12992.639ac3c-1) fails during compilation. An error inside build() function is returned. I tried on different machines, but the result was the same.
Here the details of the error: http://pastebin.com/ZiVc3kt1

johnl commented on 2015-04-27 14:21

I had a hard time building this a few months ago due to various out-of-date dependencies, and ended up giving up. I just tried again with the current versions and encountered no trouble at all. The one tweak that's needed was the python 2 trick mentioned by thelongdivider. Thanks very much to the maintainers!

thelongdivider commented on 2014-12-10 06:12

I have managed to build from github M2 1.7, with a little modification (Python 2 script from the python arch webpage, manually adding the static library libgfortran.a to /usr/lib, etc). Here is the package:

https://drive.google.com/file/d/0B6DRD4BKJyO2dTJsYWZKd3ZXc1U/view?usp=sharing

Just cd in M2/M2, and run "make install", and the package will install to /usr/local (read M2/M2/INSTALL to install to a different directory, etc)

czsan commented on 2014-12-04 16:48

It depends from singular-factory package, but that is flagged out-of-date (2011-03-19).

All comments