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

Latest Comments

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).

day commented on 2014-08-24 14:31

It compiled fine after running that though "make check" still failed. But that's not a big issue. Thanks very much!

ConnorBehan commented on 2014-08-23 21:08

That's why I ran sed -i -e '/lgfortran/d' on configure.ac. Is there still a problem with this?

day commented on 2014-08-23 20:14

There's a little problem with the gcc-fortran compiler. The libgfortran library in the default arch repository doesn't contain the static library 'libgfortran.a' though there exists the dynamical one 'libgfortran.so'. However, compiling M2 needs this static lib file otherwise there'll be a '-lgfortran' error stopping the compiling process. I figure a way to avoid this error by downloading and extracting the debian libgfortran-dev package to get 'libfortran.a' file so I don't need to compile the whole gcc statically myself. After that I successfully compiled M2.

ConnorBehan commented on 2014-08-06 20:02

It seems like there is a conflict with the newest pari and a couple other upstream bugs.

ConnorBehan commented on 2011-02-25 05:28

You should also use --libexecdir='${prefix}'/lib/Macaulay2

ConnorBehan commented on 2011-02-24 21:41

Oh and another thing to add would be --libexecdir=/usr/lib/Macaulay2

ConnorBehan commented on 2011-01-23 18:10

Updating this to the 1.4 branch required two sed commands for me. After the configure script, run:

sed -i -r 's/^\tobjdump(.*)/#\tobjdump\1/g' Macaulay2/bin/Makefile
sed -i -r 's/^\techo(.*)/#\techo\1/g' Macaulay2/bin/Makefile

i.e. you have to comment out two lines. Then it will build but a run-time dependency will be gc-7.2alpha4. gc-7.1 won't work anymore.

remyoudompheng commented on 2010-06-21 08:32

Add missing makedepends: subversion, unzip.

remyoudompheng commented on 2010-06-02 10:59

10971-3: don't build gfan and use the one provided by the AUR package.

remyoudompheng commented on 2010-04-23 07:01

10971-2: add missing mpir dependency