On 2024-12-06 01:34:46, ETAL wrote:
> 
> Hello,
> 
> I am experiencing an issue using the Guava package in SageMath 10.3 with 
> GAP 4.12.2 installed on my system. The strange part is that *Guava works 
> when I use the GAP console inside Sage*, but it doesn't work when I try to 
> load it through Sage directly.

If sage is using a separate copy of GAP that it built, then just
changing the path to the binary is not enough. It will also be using a
separate copy of the libgap library for most things, and that copy of
libgap will be unable to use the packages that you have installed in
your "normal" GAP.

For a quick fix, install the gap_packages SPKG. It contains Guava. For
a better fix, try to find a version of Sage (10.4?) that will use your
existing GAP 4.12.2. (Unfortunately Sage 10.5 will reject anything
older than GAP 4.13.0.)

In the long term, we know that this is pretty confusing, and it would
be a lot nicer IMO if we refused to build a separate copy of GAP and
instead told the user to install it. The same goes for things like
GCC, python, flint, pari, etc. that can easily be installed on any
system. But GAP is particularly annoying for power users because
of the way its packages are (not) handled.

-- 
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 visit 
https://groups.google.com/d/msgid/sage-devel/Z1SFgY1bEzfDqnxB%40mertle.

Reply via email to