Help with installing package lrslib-062+autotools-2017-03-03.p1

41 views
Skip to first unread message

Lisa Marie

unread,
Jan 14, 2021, 10:38:42 AM1/14/21
to sage-devel
Hey everybody,

I have a problem with installing the package lrslib-062+autotools-2017-03-03.p1 for sage. I work on an Macbook with an Intelprocessor and MacOSX Big Sur, 11.1. I also installed every package recommended for sage. 

Can you help me fix the problem or at least say what the problem is?

The log-file of the problem is appended.

Thanks for helping!
Lisa
lrslib-062+autotools-2017-03-03.p1.log

Dima Pasechnik

unread,
Jan 14, 2021, 11:38:17 AM1/14/21
to sage-devel
the problem is that the compiler in XCode 12 has unreasonable assumptions about C/C++ code.
This most probably can be fixed by setting appropriate compiler flags. See the relevant to XCode   12 and macOS 11 tickets on trac.sagemath.org



--
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/c10daea1-d3c7-437c-aef5-43eac70296ddn%40googlegroups.com.

Lisa Marie

unread,
Jan 14, 2021, 2:01:36 PM1/14/21
to sage-devel
Hi,

thanks for the quick help.

I'm not really familiar with compiler flags. Could you specify your answer a bit? Would be really helpful for me!

Regards, Lisa

Zachary Scherr

unread,
Jan 14, 2021, 3:56:31 PM1/14/21
to sage-devel
Did you build sage from source? I had success getting lrslib to build by running:

CFLAGS=-Wno-implicit-function-declaration make lrslib

if you didn't build from source then you might try

CFLAGS=-Wno-implicit-function-declaration sage -i lrslib

Lisa Marie

unread,
Jan 14, 2021, 5:09:47 PM1/14/21
to sage-devel
thanks, that worked!
Reply all
Reply to author
Forward
0 new messages