PS: running Maxima standalone, via "sage -maxima" works:

./sage -maxima
;;; Loading 
#P"/home/eric/sage/10.9/local/lib/ecl-24.5.10/sb-bsd-sockets.fas"
;;; Loading #P"/home/eric/sage/10.9/local/lib/ecl-24.5.10/sockets.fas"
Maxima 5.47.0 https://maxima.sourceforge.io
using Lisp ECL 24.5.10
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) diff(cos(x), x);
(%o1)                              - sin(x)

So the issue is probably at the interface between Sage and Maxima. 
Not surprisingly, the test 
./sage -t src/sage/interfaces/maxima.py
fails with many errors. 

Le lundi 5 janvier 2026 à 09:03:22 UTC+1, Eric Gourgoulhon a écrit :

> Hi,
>
> I've installed Sage 10.9.beta1 from a fresh git clone on Ubuntu 24.04 
> (without any system Maxima preinstalled), via
>
> make configure
> ./configure --enable-download-from-upstream-url
> MAKE="make -j8" make
>
> The built was successful, but when I run 
> sage: x.simplify()
> I get:
> ;;; Warning: Maxima is unable to set up the help system.
> (Details: CL-INFO::LOAD-PRIMARY-INDEX: Cannot open 
> #P"/usr/local/share/info/maxima-index.lisp".
> C library error: No such file or directory)
>
> ;;; Warning: Maxima is unable to set up the help system.
> (Details: CL-INFO::LOAD-PRIMARY-INDEX: Cannot open 
> #P"/usr/local/share/info/maxima-index-html.lisp".
> C library error: No such file or directory)
>
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> Cell In[1], line 1
> ----> 1 x.simplify()
>
> File sage/symbolic/expression.pyx:10567, in 
> sage.symbolic.expression.Expression.simplify()
>
> File sage/symbolic/expression.pyx:1147, in 
> sage.symbolic.expression.Expression._maxima_()
>
> File sage/structure/sage_object.pyx:711, in 
> sage.structure.sage_object.SageObject._interface_()
>
> File sage/misc/lazy_import.pyx:381, in 
> sage.misc.lazy_import.LazyImport.__getattr__()
>
> File sage/misc/lazy_import.pyx:231, in 
> sage.misc.lazy_import.LazyImport.get_object()
>
> File sage/misc/lazy_import.pyx:266, in 
> sage.misc.lazy_import.LazyImport._get_object()
>
> File ~/sage/10.9/src/sage/interfaces/maxima_lib.py:232
>     230 init_code.append('nolabels : true')
>     231 for l in init_code:
> --> 232     ecl_eval("#$%s$" % l)
>     233 # To get more debug information uncomment the next line
>     234 # should allow to do this through a method
>     235 # ecl_eval("(setf *standard-output* original-standard-output)")
>     236 
>     237 # This is the main function (ECL object) used for evaluation
>     238 # This returns an EclObject
>     239 maxima_eval = ecl_eval("""
>     240 (defun maxima-eval( form )
>     241     (with-$error (meval form)))
>     242 """)
>
> File sage/libs/ecl.pyx:1334, in sage.libs.ecl.ecl_eval()
>
> File sage/libs/ecl.pyx:1361, in sage.libs.ecl.ecl_eval()
>
> File sage/libs/ecl.pyx:1357, in sage.libs.ecl.ecl_eval()
>
> File sage/libs/ecl.pyx:324, in sage.libs.ecl.ecl_safe_eval()
>
> RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.
> while evaluating #$load(abs_integrate)$
>
> On the same computer, there was no such issue with Sage 10.8, built from 
> source via the same procedure. I am attaching the Maxima build log, which 
> looks very similar to that of the Sage 10.8 installation, as well as the 
> output of configure.  
> Note that I've not installed the Ubuntu package "maxima" in order to 
> benefit from a more recent version (5.47 versus 5.46 for Ubuntu package). 
> Am I the only one experiencing this?
>
> Eric. 
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/fe64f63b-531b-4ee4-9805-25185c4bdf0bn%40googlegroups.com.

Reply via email to