Help building Sage 9.3

44 views
Skip to first unread message

Hongli Zhao

unread,
Jun 29, 2021, 3:01:15 AM6/29/21
to sage-devel
Hi,


to pull the source code. However I'm having a lot of trouble compiling the code. I did ```conda deactivate``` and first ran ```./configure```, then repeatedly I see these errors regardless if I ```brew install``` these packages (I already have these packages but the errors are still showing):

Screen Shot 2021-06-29 at 1.59.38 AM.png
Could someone help? Thanks a lot

Matthias Koeppe

unread,
Jun 29, 2021, 3:03:56 AM6/29/21
to sage-devel
These are not errors, but the fact that "readline" is included there suggests that you did not run the "source" command shown there.

Hongli Zhao

unread,
Jun 29, 2021, 3:17:55 AM6/29/21
to sage-devel
Thanks professor, I had to delete and re-download the source code repeatedly because ```./sage``` kept crashing for some reason,

I ran ```make``` and now I found these errors...
Screen Shot 2021-06-29 at 2.16.57 AM.png

Hongli Zhao

unread,
Jun 29, 2021, 3:21:41 AM6/29/21
to sage-devel
Attached is the cypari log file, sorry.
cypari-2.1.2.log

Dima Pasechnik

unread,
Jun 30, 2021, 12:58:52 PM6/30/21
to sage-devel
in your log one sees
  gcc -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -Wl,-rpath,/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -O2 -g -march=native build/temp.macosx-11-x86_64-3.9/cypari2/closure.o -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib64 -lgmp -lpari -o build/lib.macosx-11-x86_64-3.9/cypari2/closure.cpython-39-darwin.so -lpari
  ld: library not found for -lgmp

Usually this points out at some kind of misconfiguration. Did you forget to run

source .homebrew_build_env

before this round of make?



--
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/0ec31a89-9b7a-4c25-84be-acdc3685f641n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages