Can't Build From Sage Source on Ubuntu

104 views
Skip to first unread message

Derick Swodnick

unread,
Feb 1, 2021, 10:22:24 AM2/1/21
to sage-support
Hello! I am trying to build from Sage source code in Ubuntu, but unfortunately I get this error.


[......................................................................]
rm -f config.log
mkdir -p logs/pkgs
ln -s logs/pkgs/config.log config.log
****************************************************************************
error: Sage source tree is unconfigured. Please run "./configure" first.
note:  Type "./configure --help" to see the available configuration options.
****************************************************************************
Makefile:46: recipe for target 'build/make/Makefile' failed
make[1]: *** [build/make/Makefile] Error 1
make[1]: Leaving directory '/root/sage'
Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 2


My build steps:

cd root

git clone -c core.symlinks=true --branch master https://github.com/sagemath/sage.git

cd sage

make

Help me figure out what exactly am I doing wrong?

Dima Pasechnik

unread,
Feb 1, 2021, 10:32:27 AM2/1/21
to sage-support
See above:
Please run "./configure" first.

By the way, you should not build Sagemath (or any other software, in
fact) as root.

>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/3254f805-a5d0-454b-931d-f1ad9fcada82n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages