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.

On Wednesday, May 25, 2022 at 10:05:26 PM UTC+5:30 Utkarsh Sharma wrote:

> 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]   
> ************************************************************************
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/9533f8e3-0717-4c46-976d-95961619be43n%40googlegroups.com.

Reply via email to