fricas/gcl/sage PR#207

0 views
Skip to first unread message

Qian Yun

unread,
Dec 21, 2025, 8:43:55 PM (21 hours ago) Dec 21
to fricas-devel
Hi Waldek,

I wonder if PR#207 is missing on your radar, what's your view on
https://github.com/fricas/fricas/pull/207 ?

- Best,
- Qian

Waldek Hebisch

unread,
Dec 21, 2025, 10:51:52 PM (19 hours ago) Dec 21
to fricas...@googlegroups.com
On Mon, Dec 22, 2025 at 09:43:50AM +0800, Qian Yun wrote:
> Hi Waldek,
>
> I wonder if PR#207 is missing on your radar, what's your view on
> https://github.com/fricas/fricas/pull/207 ?

My trouble is that I do not know what problem this attempts
to fix.

AFAICS completely disables readline built into GCL, which is
not a big deal due to rlwrap, but some people may wish to
interact directly with gcl command line.

Another trouble is how to test anything: again there are various
GCL snapshots and I do not know which one is in use.

--
Waldek Hebisch

Dima Pasechnik

unread,
Dec 21, 2025, 11:09:35 PM (19 hours ago) Dec 21
to fricas...@googlegroups.com
On Sun, Dec 21, 2025 at 9:51 PM Waldek Hebisch <de...@fricas.org> wrote:
>
> On Mon, Dec 22, 2025 at 09:43:50AM +0800, Qian Yun wrote:
> > Hi Waldek,
> >
> > I wonder if PR#207 is missing on your radar, what's your view on
> > https://github.com/fricas/fricas/pull/207 ?
>
> My trouble is that I do not know what problem this attempts
> to fix.
>
> AFAICS completely disables readline built into GCL, which is
> not a big deal due to rlwrap, but some people may wish to
> interact directly with gcl command line.

one of the two readlines has to go, either the rlwrap's one, or the
built-in one.
Having them both on leads to some weird interactions, doubling up stuff, etc.

>
> Another trouble is how to test anything: again there are various
> GCL snapshots and I do not know which one is in use.

we are talking about GCL 2.7.1 (with a patch it needs, published on
its release page - which is weird, if it doen't build/work without
they should make a new release, but, well...)
https://www.gnu.org/software/gcl/

In Debian/Ubuntu: https://packages.debian.org/trixie/gcl27

Dima



>
> --
> Waldek Hebisch
>
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/aUjAVIQ8MIsPGihm%40fricas.org.

Waldek Hebisch

unread,
1:20 PM (4 hours ago) 1:20 PM
to fricas...@googlegroups.com
On Sun, Dec 21, 2025 at 10:09:06PM -0600, Dima Pasechnik wrote:
> On Sun, Dec 21, 2025 at 9:51 PM Waldek Hebisch <de...@fricas.org> wrote:
> >
> > On Mon, Dec 22, 2025 at 09:43:50AM +0800, Qian Yun wrote:
> > > Hi Waldek,
> > >
> > > I wonder if PR#207 is missing on your radar, what's your view on
> > > https://github.com/fricas/fricas/pull/207 ?
> >
> > My trouble is that I do not know what problem this attempts
> > to fix.
> >
> > AFAICS completely disables readline built into GCL, which is
> > not a big deal due to rlwrap, but some people may wish to
> > interact directly with gcl command line.
>
> one of the two readlines has to go, either the rlwrap's one, or the
> built-in one.
> Having them both on leads to some weird interactions, doubling up stuff, etc.

If there are two FriCAS disables the GCL one. This setting only
affects cases when there are no rlwrap or when FriCAS was
incorrectly started.

> >
> > Another trouble is how to test anything: again there are various
> > GCL snapshots and I do not know which one is in use.
>
> we are talking about GCL 2.7.1 (with a patch it needs, published on
> its release page - which is weird, if it doen't build/work without
> they should make a new release, but, well...)
> https://www.gnu.org/software/gcl/

Gives:

Too Many Requests

when I try to access it...


--
Waldek Hebisch

Dima Pasechnik

unread,
1:38 PM (4 hours ago) 1:38 PM
to fricas...@googlegroups.com
On Mon, Dec 22, 2025 at 12:20 PM Waldek Hebisch <de...@fricas.org> wrote:
>
> On Sun, Dec 21, 2025 at 10:09:06PM -0600, Dima Pasechnik wrote:
> > On Sun, Dec 21, 2025 at 9:51 PM Waldek Hebisch <de...@fricas.org> wrote:
> > >
> > > On Mon, Dec 22, 2025 at 09:43:50AM +0800, Qian Yun wrote:
> > > > Hi Waldek,
> > > >
> > > > I wonder if PR#207 is missing on your radar, what's your view on
> > > > https://github.com/fricas/fricas/pull/207 ?
> > >
> > > My trouble is that I do not know what problem this attempts
> > > to fix.
> > >
> > > AFAICS completely disables readline built into GCL, which is
> > > not a big deal due to rlwrap, but some people may wish to
> > > interact directly with gcl command line.
> >
> > one of the two readlines has to go, either the rlwrap's one, or the
> > built-in one.
> > Having them both on leads to some weird interactions, doubling up stuff, etc.
>
> If there are two FriCAS disables the GCL one. This setting only
> affects cases when there are no rlwrap or when FriCAS was
> incorrectly started.

There is one FriCAS, it has to be build with either internal readline,
or rlwrap, but not both.

>
> > >
> > > Another trouble is how to test anything: again there are various
> > > GCL snapshots and I do not know which one is in use.
> >
> > we are talking about GCL 2.7.1 (with a patch it needs, published on
> > its release page - which is weird, if it doen't build/work without
> > they should make a new release, but, well...)
> > https://www.gnu.org/software/gcl/
this says (the patch for alloc.c is important):

An implementation of Common Lisp

Latest stable release: gcl-2.7.1.tar.gz

Build Requirements: gcc/clang,libgmp-dev,libtirpc-dev,zlib1g-dev
Optional Features Build Requirements:
libreadline-dev,tk8.6-dev,libxmu-dev,libxaw7-dev
Build instructions:

tar zxf gcl-2.7.1.tar.gz
cd gcl-2.7.1
Apply errata:


modified gcl/debian/rules
@@ -138,7 +138,7 @@ clean: debian/control debian/gcl.templates
rm -rf $(INS) debian/substvars debian.upstream
rm -rf *stamp build-indep
rm -f debian/elpa-gcl$(EXT).elpa debian/gcl$(EXT)-pkg.el
- rm -rf $(EXT_TARGS) info/gcl$(EXT)*.info*
+ rm -rf $(EXT_TARGS) info/gcl$(EXT)*.info* gcl_pool

debian-clean: debian/control debian/gcl.templates
dh_testdir
modified gcl/git.tag
@@ -1,2 +1,2 @@
-"Version_2_7_0"
+"Version_2_7_1"

modified gcl/o/alloc.c
@@ -707,6 +707,7 @@ empty_relblock(void) {
for (;!rb_emptyp();) {
tm_table[t_relocatable].tm_adjgbccnt--;
expand_contblock_index_space();
+ expand_contblock_array();
GBC(t_relocatable);
}
sSAleaf_collection_thresholdA->s.s_dbind=o;



./configure --prefix=your_install_directory && make install




you can get gcl 2.7.1 tarball from https://sunsite.icm.edu.pl/pub/gnu/gcl/

HTH
Dima

>
> Gives:
>
> Too Many Requests
>
> when I try to access it...
>
>
> --
> Waldek Hebisch
>
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/aUmL9fNBvWy2h0_p%40fricas.org.
Reply all
Reply to author
Forward
0 new messages