[sage-devel] Trying to fix trac #18488(solve() ignores conjugate)

2022-06-25 Thread Utkarsh Sharma
I recently came across https://trac.sagemath.org/ticket/18488 and I wanted 
to try fixing the issue. After going through past discussions and the 
solve() method in src/sage/symbolic/relation(which, I believe, is the 
solve() method being referred to here), I figured out that it uses maxima's 
solve() method, so the bug must be in maxima's solve() method.

So how do I go about solving this issue? one obvious solution would be to 
fix the maxima bug, but is there anything else that can be done? I think 
first we could check whether the bug is being encountered or not, and if it 
was encountered, We could provide an alternate solution, like solving for 
the real and imaginary parts separately, or maybe solving for the conjugate 
and then take the conjugate of both sides of the equation. Those are just 
my initial thoughts, I thought it would be best to start a conversation 
here before going any further.


-- 
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/e3a31993-31c5-4572-8ef8-7d668a15fb87n%40googlegroups.com.


[sage-devel] Re: Error building from source

2022-05-26 Thread Utkarsh Sharma
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]   real2m3.631s
>
>   [singular-4.2.1p3]   user3m7.473s
>
>   [singular-4.2.1p3]   sys0m33.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.