First attempt to compile sage-5.0 on Solaris 10:

> uname -a
SunOS mimosa 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220 
Solaris

Failed at the first post with:

checking for /usr/local/gnu/lib/libgfortran.so... yes
configure: The environment variable
configure: SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so
configure: is a not a 32-bit dynamic library. SAGE64 was
configure: not set to "yes", so you intend to build 32-bit.
configure: The environment variables SAGE_FORTRAN_LIB and/or SAGE64
configure: are not set properly.
configure: error: Exiting, due to the incorrect configuration of environment 
variables
You do not have all of the prerequisites needed to build Sage
from source.  See the errors above.
make[1]: *** [installed/prereq-1.0] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/home/unit/cu/dcv/src/local/sage-5.0/spkg'

/usr/local/gnu/lib/libgfortran.so sure is a 32-bit dynamic library, and this 
same setup, with the same env variables, (almost) worked with sage-5.0.rc0.

 > file -L /usr/local/gnu/lib/libgfortran.so
/usr/local/gnu/lib/libgfortran.so: ELF 32-bit MSB shared object, SPARC32PLUS, 
V8+ Required, version 1 (SYSV), not stripped

> env
...
MAKE=make -j64 -l64
SAGE_CHECK=yes
SAGE_FORTRAN=/usr/local/gnu/bin/gfortran
SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to