Thursday, May 25, 2023

Re: Problems updating math/maxima

On Thu, May 25, 2023 at 03:23:23PM +0200, Dima Pasechnik wrote:
>
> Can you also add building maxima.fas and installing it into
> /usr/local/lib/ecl/ ?
> Then one can use Maxima from any application which can load libecl.so
> (e.g. from an application written in C).
> If we ever port SageMath (sagemath.org) to OpenBSD (there is a port to FreeBSD)
> then maxima.fas will be necessary.
>

Hello Dima:

You are going to have to enlighten me as to what the *.fas extension
means. I did a web search and could only find this page which did not
give me much information. I looked at Sages web page and did not see
anything. Here is what I did find:

https://archlinux.org/packages/extra/x86_64/maxima-fas/

Concerning xmaxima.fas, it's built! Look:

$ cd /usr/ports/pobj/maxima-5.46.0/
$ find . -type f -name "maxima.fas"
./maxima-5.46.0/src/binary-ecl/maxima.fas

there is a whole bunch of *.fas files in
/usr/ports/pobj/maxima-5.46.0/maxima-5.46.0/src/binary-ecl/

I just have to figure out how to install them. I looked for configure
options but I did not see any. Lete me test the basic funcionality of
maxima (diff, integrate, taylor etc.). Most of those functions have to
be tested. Afterwards, I will look into isntalling the *.fas files in
/usr/local/lib/ecl/.

> As well, less urgently,
> shouldn't there be a way to get Maxima compiled with sbcl, only only ecl.
> (sbcl typically gives considerably better performance, and it's available in ports,
> but embedding into applications is a different story, harder than with ecl).

I suppose you are refering to Steel Bank Common Lisp:

http://www.sbcl.org/

I will have to ask about this on the Maxima mail list. Give me some
time. There is a port: /usr/ports/lang/sbcl

--
Kind regards,
Jonathan

No comments:

Post a Comment