I've worked around the problems, but I thought I should report them here. I just tried building sage 6.1.1 on a new (to me ...) SPARC (T4-2) box

$ cat /etc/release
Oracle Solaris 11.1 SPARC
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Assembled 06 November 2013

The first make

$ env MAKE='gmake -j32' gmake

checking whether to enable maintainer-specific portions of Makefiles... yes
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: error: unrecognized option: `-j32'
Try `./configure --help' for more information
If you would like to try to build Sage anyway (to help porting),
export the variable 'SAGE_PORT' to something non-empty.

Worked around with

$ env SAGE_PORT='x' MAKE='gmake -j32' gmake

The build failed at libfplll-4.0.4, which failed with complaints

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/home/cudcv/sage-6.1.1/local/include/ -fPIC -I/home/cudcv/sage-6.1.1/local/include/ -L/home/cudcv/sage-6.1.1/local/lib -MT fplll.lo
-MD -MP -MF .deps/fplll.Tpo -c fplll.cpp -fPIC -DPIC -o .libs/fplll.o
In file included from nr.h:430:0,
from numvect.h:19,
from matrix.h:21,
from wrapper.h:21,
from fplll.cpp:18:
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = double]':
nr.cpp:868:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = long double]':
nr.cpp:1078:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = dpe_struct [1]]':
nr.cpp:1278:33: error: 'isfinite' was not declared in this scope
...
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/home/cudcv/sage-6.1.1/local/include/ -fPIC -I/home/cudcv/sage-6.1.1/local/include/ -L/home/cudcv/sage-6.1.1/local/lib -MT topenum.l o -MD -MP -MF .deps/topenum.Tpo -c topenum.cpp -fPIC -DPIC -o .libs/topenum.o
In file included from nr.h:430:0,
from numvect.h:19,
from matrix.h:21,
from util.h:23,
from util.cpp:16:
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = double]':
nr.cpp:868:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = long double]':
nr.cpp:1078:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = dpe_struct [1]]':
nr.cpp:1278:33: error: 'isfinite' was not declared in this scope
gmake[5]: *** [fplll.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: *** [util.lo] Error 1
In file included from nr.h:430:0,
from numvect.h:19,
from matrix.h:21,
from util.h:23,
from topenum.h:19,
from topenum.cpp:16:
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = double]':
nr.cpp:868:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = long double]':
nr.cpp:1078:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = dpe_struct [1]]':
nr.cpp:1278:33: error: 'isfinite' was not declared in this scope
gmake[5]: *** [topenum.lo] Error 1
gmake[5]: Leaving directory `/home/cudcv/sage-6.1.1/local/var/tmp/sage/build/libfplll-4.0.4/src/src'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/cudcv/sage-6.1.1/local/var/tmp/sage/build/libfplll-4.0.4/src'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/cudcv/sage-6.1.1/local/var/tmp/sage/build/libfplll-4.0.4/src'
Error building libfplll

A quick google search suggested compiling with

$ env SAGE_PORT='x' CXX='g++ -D_GLIBCXX_USE_C99_MATH' MAKE='gmake -j32' gmake

which got past that problem. The build then aborted, the install log ending in:

Finished installing atlas-3.10.1.p7.spkg
gmake[2]: Leaving directory `/home/cudcv/sage-6.1.1/build'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/cudcv/sage-6.1.1/build'

real 33m35.011s
user 361m10.877s
sys 23m39.620s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

gmake: *** [build] Error 1

So I'm not sure what failed there. Re-ran the same make command, and it aborted again with the same message this time after

Successfully installed r-3.0.2.p0
Deleting temporary build directory
/home/cudcv/sage-6.1.1/local/var/tmp/sage/build/r-3.0.2.p0
Finished installing r-3.0.2.p0.spkg

Then

Successfully installed scipy-0.12.0.p1

and

Successfully installed linbox-1.3.2.p0

Until

gmake[2]: *** [/home/cudcv/sage-6.1.1/local/var/lib/sage/installed/csage] Error 2
gmake[2]: Leaving directory `/home/cudcv/sage-6.1.1/build'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/cudcv/sage-6.1.1/build'

After that I had to re-run the make without the CXX=... setting.

BTW, total time to build 2 hours, including typing this email. If there's anything else I can do to help debug the problems, please let me know. This is a test machine at the moment, so I pretty much have free reign. I'm just running a ptestlong.

Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk               PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

--
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to