Hi,

I'm looking the installation instructions for Macaulay2

  https://github.com/Macaulay2/M2/blob/release-1.17/M2/INSTALL

in which is says

  Begin with this command:

          make

  The "make" command above runs the commands "autoconf" and "autoheader", which
  create the "configure" script and the "include/config.h.in" file, needed in 
the
  next steps.  Once those files are created, it is not necessary to make them
  again.  The "make" command on your system should be a recent version of GNU
  make.

  Now continue building the program this way:

          ./configure --enable-download --prefix=/foo/bar
          make
          make check                      # optional
          make install


My naive approach was use 

  easyblock = 'ConfigureMake'

with

  configure_cmd = 'make && ./configure' 

but this results in the error

  error: the automake program installed on your system (automake is 
/usr/bin/automake) is too old.

  Please install or update automake: the version (1.13.4) should be at least 
1.16.
  make[2]: Entering directory 
`/trinity/shared/easybuild/build/Macaulay2/1.17/foss-2020b/M2-release-1.17/M2'

So it seems that the system 'make' is being used rather than the one
from the EB toolchain.

How should I deal with this pre-configure 'make'?

Cheers,

Loris

-- 
Dr. Loris Bennett (Hr./Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to