On Tue, 7 Nov 2023, 12:01 Laurent Bakri, <laurent.ba...@gmail.com> wrote:

> Hi all,
>
> I am using Debian Testing (now "Sid" because I was wondering if it could
> help; it doesn't) and Ubuntu (23.10). Since a recent (a few months ago?)
> upgrade of Singular, SageMath won't launch on my Debian machines (laptop
> and desktop) or on my recently upgraded Ubuntu. I'm encountering the
> following error:
>
> *Error in sys.excepthook: Traceback (most recent call last): File
> "/usr/lib/python3.11/pathlib.py", line 1251, in is_dir return
> S_ISDIR(self.stat().st_mode) ^^^^^^^^^ AttributeError: 'str' object has no
> attribute 'stat' See the file debug-launching-sage.log.*
>

we don't do packaging of SageMath for Debian,
so that's not for us to fix.

So I tried to install Sage from source on my Debian desktop, but it won't
> compile because it fails to build Brial (something related to libboost, if
> I understand correctly):
>

what version of SageMath are you trying to build?
You might need a recent, 10.1, or 10.2.rc0,
if you're on Debian Testing.



*"/../libbrial/include/polybori/common/traits.h:26:10: fatal error:
> boost/preprocessor/cat.hpp: No such file or directory 26 | #include
> <boost/preprocessor/cat.hpp>*
>

looks like you need boost's headers installed. Run

      sudo apt install libboost-dev

> I'm not sure which direction I should take now. Historically, it has been
> easy because there were some "vanilla" binaries available for Linux.
> Currently, I am limited to using Sage 9.2, which, if I understand
> correctly, is the last version that comes with a "generic" compiled version.
>

if you don't want to compile Sage yourself you'd e.g. use Conda route to
install and run Sage:

https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda

HTH.


Any help would be greatly appreciated.
>
> Regards,
>
> Laurent
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/sage-devel/6f76bb3b-974c-4c96-82c9-4720bfe924a8n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/6f76bb3b-974c-4c96-82c9-4720bfe924a8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1Ds4j7GkVpC8Kan3%2BJnyZ9%2Bpt-4k9Rir3ri4GPWnqhKw%40mail.gmail.com.

Reply via email to