I am trying to build the latest sage release with the possible goal of 
releasing another Live image version (USB/CD/HD disk image).

*uname -a*
Linux debian 3.2.0-0.bpo.4-686-pae #1 SMP Debian 3.2.46-1+deb7u1~bpo60+1 
i686 GNU/Linux

Target: i486-linux-gnu
gcc version 4.4.5 (Debian 4.4.5-8)

I got the source with:
git clone git://github.com/sagemath/sage.git

after cd sage, make
I ran over a few hiccups which I want to share:


*Hiccup1 - needs gfortran to build atlas package:*
I had an error about missing fortran just befor atlas build (imho this 
should be checked in the beginnung of the build)
I thougt Sage is no longer dependent on gfortran, but reading the 
README.txt I learned better.

Solution: installed fortran (apt-get install gfortran)
Export SAGE_INSTALL_GCC=yes (not sure if that is needed too)

Does that mean sage needs fortran to compile, but not to run? 

*Hiccup 2: SAGE_FAT_BINARIES / SAGE_ATLAS_ARCH conflict*
...
Setting up build directory for atlas-3.10.1.p7
Finished set up
****************************************************
Host system:
Linux debian 3.2.0-0.bpo.4-686-pae #1 SMP Debian 3.2.46-1+deb7u1~bpo60+1 
i686 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' 
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-targets=all --with-arch-32=i586 --with-tune=generic 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8) 
****************************************************
Configuration:
SAGE_LOCAL: /media/sda3/sage/sage/local
linker_Solaris?: False
OS_X_Lion?: False
PPC?: False
linker_Darwin?: False
Linux?: True
SPKG_DIR: /media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7
linker_GNU?: True
ld: GNU
system: Linux
Darwin?: False
machine: i686
fortran: gfortran
Solaris?: False
fortran_g95?: False
bits: 32bit
CYGWIN?: False
SPARC?: False
fortran_GNU?: True
FreeBSD?: False
32bit?: True
IA64?: False
generic_binary?: True
64bit?: False
release: 3.2.0-0.bpo.4-686-pae
Intel?: True
processor: 
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/shell.patch
patching file makes/Make.Flp
patching file makes/Make.ttune
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/shell.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/Makefile.patch
patching file CONFIG/src/Makefile
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/Makefile.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/threads.patch
patching file bin/atlas_install.c
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/threads.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/probe_comp.c.patch
patching file CONFIG/src/probe_comp.c
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/probe_comp.c.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/do_not_force_mutex.patch
patching file tune/threads/tune_count.c
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/do_not_force_mutex.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/archinfo_linux.c.patch
patching file CONFIG/src/backend/archinfo_linux.c
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/archinfo_linux.c.patch.
Running patch -p1 -d src/ATLAS --input 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/long_filenames.patch
patching file bin/extract.c
Applied 
/media/sda3/sage/sage/local/var/tmp/sage/build/atlas-3.10.1.p7/patches/long_filenames.patch.
Building using specific architecture.
Sage "fat" binary mode set: Building "base" binary
NOTE: This can result in a Sage that is significantly slower at certain 
numerical
linear algebra since full FAT binary support has not been implemented yet.
unknown SAGE_ATLAS_ARCH option: 
SAGE_ATLAS_ARCH architecture must be "fast", "base", or one of UNKNOWN, 
POWER3, POWER4, POWER5, PPCG4, PPCG5, POWER6, POWER7, IBMz9, IBMz10, 
IBMz196, x86x87, x86SSE1, x86SSE2, x86SSE3, P5, P5MMX, PPRO, PII, PIII, PM, 
CoreSolo, CoreDuo, Core2Solo, Core2, Corei1, Corei2, Atom, P4, P4E, 
Efficeon, K7, HAMMER, AMD64K10h, AMDDOZER, UNKNOWNx86, IA64Itan, IA64Itan2, 
USI, USII, USIII, USIV, UST2, UnknownUS, MIPSR1xK, MIPSICE9, ARMv7
SAGE_ATLAS_ARCH ISA extension must be one of None, VSX, AltiVec, AVXMAC, 
AVXFMA4, AVX, SSE3, SSE2, SSE1, 3DNow, NEON

real 0m0.979s
user 0m0.056s
sys 0m0.024s
************************************************************************
Error installing package atlas-3.10.1.p7
************************************************************************

Solution:
export SAGE_ATLAS_ARCH=None
But I am not sure about which instruction set (esp SSE) is now needed as 
minimum to run the binary. I think the documentation should give a hint 
about how those two variables interact and that they should not be applied 
both.

*Hiccup 3 - freeze at building maxima with "checking where .elc files 
should go..."*
...
Now configuring Maxima...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make -j1 sets $(MAKE)... yes
checking for emacs... no
checking where .elc files should go...

here was a freeze

google found this is similar problem 
http://comments.gmane.org/gmane.linux.lfs.devel/11396

Solution
export EMACS=no


*Nr. 4 Documentation Bug?*
on the site:
http://sagemath.org/development.html

I get a permisson error when I click the links
http://sagemath.org/doc/developer/

or
http://sagemath.org/doc/faq/

also
http://sagemath.org/doc/installation/source.html#environment-variables
doesn't work.

but
http://wiki.sagemath.org/faq
works.
Maybe this is just temporal...

Just running doctests, looking good so far.


*Nr 5. SAGE needs more space than in the README.txt*
While testing I ran out of space on my device (I know, my disks are full of 
pictures). In the README.txt it says 3 GB are needed.
My sage folder has now 3.3  GB so maybe push up to 3.5 GB?

Merry Christmas!

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to