Error building from source

58 views
Skip to first unread message

Utkarsh Sharma

unread,
May 25, 2022, 12:35:26 PM5/25/22
to sage-devel
Hi! I'm new to open source and wanted to contribute to Sage, so I tried building Sage from source code. However, whenever I run make, it throws this error at me saying that it's unable to build singular-4.2.1p3 and I have no idea what's causing it. I'm using macOS 12.3.1 on my M1 MacBook. Also, when I run ./configure, it tells me that it could not find an equivalent system package for singular, but when I brew install singular it says I already have it. I even tried reinstalling it, but ./configure still tells me to install it.
It would be nice if I could get some help with this. Here's the error and the corresponding log files:

 [singular-4.2.1p3] error installing, exit status 1. End of log file:

  [singular-4.2.1p3]             ^

  [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now [-ferror-limit=]

  [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now [-ferror-limit=]

  [singular-4.2.1p3]   ../../libpolys/polys/monomials/p_polys.h:1525:39: error: unknown type name 'int64'

  [singular-4.2.1p3]   static inline void p_SetExpVL(poly p, int64 *ev, const ring r)

  [singular-4.2.1p3]                                         ^

  [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now [-ferror-limit=]

  [singular-4.2.1p3]   20 errors generated.

  [singular-4.2.1p3]   make[8]: *** [mpr_inout.lo] Error 1

  [singular-4.2.1p3]   make[8]: *** Waiting for unfinished jobs....

  [singular-4.2.1p3]   20 errors generated.

  [singular-4.2.1p3]   make[8]: *** [mpr_base.lo] Error 1

  [singular-4.2.1p3]   20 errors generated.

  [singular-4.2.1p3]   make[8]: *** [mpr_numeric.lo] Error 1

  [singular-4.2.1p3]   make[7]: *** [all-recursive] Error 1

  [singular-4.2.1p3]   make[6]: *** [all-recursive] Error 1

  [singular-4.2.1p3]   make[5]: *** [all] Error 2

  [singular-4.2.1p3]   ********************************************************************************

  [singular-4.2.1p3]   Error building singular-4.2.1p3

  [singular-4.2.1p3]   ********************************************************************************

  [singular-4.2.1p3]   

  [singular-4.2.1p3]   real    2m3.631s

  [singular-4.2.1p3]   user    3m7.473s

  [singular-4.2.1p3]   sys    0m33.206s

  [singular-4.2.1p3]   ************************************************************************

  [singular-4.2.1p3]   Error installing package singular-4.2.1p3

  [singular-4.2.1p3]   ************************************************************************

singular-4.2.1p3.log
config.log

Utkarsh Sharma

unread,
May 26, 2022, 9:08:31 AM5/26/22
to sage-devel
Never mind, I tried uninstalling the singular I had downloaded from homebrew and ran make again, and sage installed it as an spkg. Now Sage works fine on my computer.
Reply all
Reply to author
Forward
0 new messages