make error gsl 2.7

42 views
Skip to first unread message

Mary Claire Simone

unread,
Sep 28, 2022, 4:46:14 PM9/28/22
to sage-devel
Hello,

I​'m having​ problems building sage with "make". I use a ​MacOs machine​ with Intel Core processor​. The attachments are the log file​s​. ​I'm not sure if I have homebrew working correctly, I have installed and reinstalled gsl (and other prerequisites) after reading these error messages, and ran make again but get the same error. ./configure tells me that there is no suitable ​system package for gsl and so SPKG 2.7 will be installed.​
Thanks for your help! 

B​est,
Mary Claire​


config.log
gsl-2.7.log

Dima Pasechnik

unread,
Sep 28, 2022, 6:04:51 PM9/28/22
to sage-devel
You can't use gsl from Homebrew, as you already have openblas (a dependency of gsl) installed from Sage.

Install openblas in Homebrew (if not yet installed)
and remove Sage's built openblas:

     make openblas-clean 

then re-run ./configure
It should pick up gsl from Homebrew then.


HTH
Dima

--
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/e28d3d9f-970c-4c30-be97-9956276eeed5n%40googlegroups.com.

Mary Claire Simone

unread,
Sep 29, 2022, 10:51:15 AM9/29/22
to sage-devel
Thank you Dima, this suggestion worked for the gsl error. 
I've attempted make again and now have a new error installing package giac-1.9.0.15p0. I've attached the log files. 

Thanks for your help!

config.log
giac-1.9.0.15p0.log

Dima Pasechnik

unread,
Sep 29, 2022, 12:23:10 PM9/29/22
to sage-devel
that's cause Homebrew pari is too new, and it's used in the build.
This version is not yet supported by
Sage, and we don't have a fix in place that rejects it.

Try

make -j8 pari
make -j8 build
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/d22328bd-9c23-4c0e-a9a1-117fdd2f97fen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages