build error, building current beta on ubuntu

54 views
Skip to first unread message

jambodev

unread,
Dec 30, 2020, 10:30:25 AM12/30/20
to sage-devel
Hi Matthias, all,

As suggested on the other thread, I tried installing the current beta. But it fails for some reason. Please find my logs attached.


config.log
install.log

Dima Pasechnik

unread,
Dec 30, 2020, 11:16:18 AM12/30/20
to sage-devel
in the install.log, one sees

[sagelib-9.3.beta4] /usr/local/include/flint/fmpz_poly_mat.h:105:44:
error: unknown type name ‘flint_bitcnt_t’; did you mean
‘flint_rand_t’?
[sagelib-9.3.beta4] 105 | slong len,
flint_bitcnt_t bits);
[sagelib-9.3.beta4] |
^~~~~~~~~~~~~~
[sagelib-9.3.beta4] |
flint_rand_t
[sagelib-9.3.beta4] /usr/local/include/flint/fmpz_poly_mat.h:108:41:
error: unknown type name ‘flint_bitcnt_t’; did you mean
‘flint_rand_t’?
[sagelib-9.3.beta4] 108 | slong len,
flint_bitcnt_t bits);

which indicates that you most probably have a conflicting copy of
flint in /usr/local/
- as well as a copy of a system package flint in /usr/
(and they are mixed up in the build)
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/417937e4-9235-4b1a-b1fb-7705bbbc5a6cn%40googlegroups.com.

jambodev

unread,
Dec 30, 2020, 12:55:12 PM12/30/20
to sage-devel
Thanks Dima,

I'll remove that and will retry.

cheers,

jambodev

unread,
Dec 31, 2020, 11:34:06 AM12/31/20
to sage-devel
Thanks again. I was able to build sage.
Reply all
Reply to author
Forward
0 new messages