Ask Your Question

Compiling sage on opensuse 12.3

asked 2013-04-22 03:05:50 +0200

Gonneman gravatar image

updated 2013-04-22 05:39:13 +0200

ppurka gravatar image

Dear Sage support group,

I am trying to compile sage 5.8 on my newly installed opensuse 12.3. However, the install fails after checking my "build system type".

I've copy pasted the error message below. Any help would be greatly appreciated.

Best, Simon

make[1]: Entering directory `/home/gonneman/Downloads/sage-5.8/spkg'
make base
make[2]: Entering directory `/home/gonneman/Downloads/sage-5.8/spkg'
/home/gonneman/Downloads/sage-5.8/spkg/pipestatus "base/prereq-1.1-install 2>&1" "tee -a /home/gonneman/Downloads/sage-5.8/spkg/logs/prereq-1.1.log"
Starting prerequisite check.
Machine: Linux 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed
You do not have all of the prerequisites needed to build Sage
from source. See the errors above.
If you would like to try the build anyway (to help porting)
export the variable 'SAGE_PORT' to something non-empty.
make[2]: *** [installed/prereq-1.1] Error 1
make[2]: Leaving directory `/home/gonneman/Downloads/sage-5.8/spkg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gonneman/Downloads/sage-5.8/spkg'
edit retag flag offensive close merge delete


How long should this makefile execution take? I have 2gb ram and Intel Atom N2600. I launched it 10 hours ago and it seems it is still working

leo krupski gravatar imageleo krupski ( 2013-11-09 05:20:42 +0200 )edit

Intel Atom is quite slow. Probably a day or two. :-) It takes about 3 hours on an Intel Core 2, and about the same on an Intel Core i5.

ppurka gravatar imageppurka ( 2013-11-10 03:55:18 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-22 06:04:42 +0200

ppurka gravatar image

Do you have gcc installed in your system?

edit flag offensive delete link more


Yes that was the problem. Can't believe I didn't notice that sooner. Anyway, thank you very much!

Gonneman gravatar imageGonneman ( 2013-04-23 03:57:09 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-22 03:05:50 +0200

Seen: 1,192 times

Last updated: Apr 22 '13