标签:
1 sudo apt-get install binutils gcc make m4 perl tar
1 sudo apt-get install dpkg-dev
1 sudo apt-get install dvipng imagemagick texlive
1 cd ~/sage-6.7 #进入目录 2 export SAGE_FAT_BINATY=‘‘yes‘‘ 3 MAKE=‘make -j4‘ make #不可以使用root
Warning::系统默认的GCC-4.9.2.p1在会出现问题后,Sage默认使用自带的GCC,由于版本问题导致R安装不上,出现如下ERROR
/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/bin/exec/R: /usr/lib/x86_64-linux-gnu/libgomp.so.1: version `GOMP_4.0‘ not found (required by /home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/lib/libR.so)
make[7]: *** Error sysdate
make[6]: *** [all] Error 1
make[6]: Leaving directory `/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/src/library/tools‘
make[5]: *** [R] Error 1
make[5]: Leaving directory `/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/src/library‘
make[4]: *** [R] Error 1
make[4]: Leaving directory `/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/src‘
make[3]: *** [R] Error 1
make[3]: Leaving directory `/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src‘
Error building R.
to prepare a binary distribution that will run on the widest range of target machines.
./sage --bdisk x.y.z-fat #生成 .tar.gz 包文件
./sage --testall
项目 | make | ./sage --testall |
耗时 | 约2.5h | 约1.2h |
Ubuntu 14.04 LTS 下使用源码编译安装 Sagemath 6.7 x64 (小结)
标签:
原文地址:http://www.cnblogs.com/tfflowers/p/4571564.html