On Sat, Dec 7, 2024 at 11:44 AM ETAL <amalsed...@gmail.com> wrote:
>
> Thank you for your reply and assistance; I truly appreciate it. However, I’m 
> unable to get Sage 10.4, at least not through sudo or the binaries. It took 
> me over seven hours to install Sage 10.3 from the source code, so I’m just 
> trying to make it work as best as I can.

7 hours is not normal. This means that either you have a rather old OS
which doesn't have many packages needing Sage, or you simply didn't
install them (output of ./configure gives you some advice, don't
ignore it), and rather let Sage build their own copies of most
everything.
Please post your top-level config.log to let us see what went wrong.

>
> Regarding the installation of the gap_packages SPKG, I’m not sure how to 
> proceed. Should I revert the changes I made to the source (specifically the 
> binaries) and restore it to its original state? If so, what exactly should I 
> modify in the line:
>
> Export SAGE_GAP_BINARY="/usr/local/bin/gap"

This won't be enough. Sage is using a lot of functionality of GAP from
libgap, which has to be linked into the corresponding Python module.

>
> I’m feeling quite confused and would really appreciate your guidance on this. 
> Thank you so much for your valuable help!
>
> Amal
> Le samedi 7 décembre 2024 à 18:27:36 UTC+1, Michael Orlitzky a écrit :
>>
>> 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/57d9de9a-963c-4b91-9a41-b286d4c3bd8en%40googlegroups.com.

-- 
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/CAAWYfq2wvF0jSYTeBtOFvwKx3Wp4ZkzeMXDcEyV5F0eRrOKCOw%40mail.gmail.com.

Reply via email to