[sage-devel] Sage 5.0.beta14 on Ubuntu 11.10

25 views
Skip to first unread message

Nicu Tofan

unread,
May 1, 2012, 3:47:40 PM5/1/12
to sage-...@googlegroups.com
Hello!

I'm reporting here the compilation results on:
Ubuntu 11.10 - 64-bit
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 1600.000
BogoMIPS: 5649.14
L1d cache: 32K
L1i cache: 32K
L2 cache: 3072K
NUMA node0 CPU(s): 0,1

I've downloaded sage-5.0.beta14.tar and typed:
export MAKE="make -j4"
export SAGE_CHECK="yes"
make

The only thing that were reported at the stderr were:
setup.py:650: UserWarning: could not find dependency <string> included in $SAGE_ROOT/local/lib/python/site-packages/Cython/Includes/libcpp/string.pxd. I will assume it is a system C/C++ header.
  warnings.warn(msg+' I will assume it is a system C/C++ header.')
setup.py:650: UserWarning: could not find dependency <vector> included in $SAGE_ROOT/local/lib/python/site-packages/Cython/Includes/libcpp/vector.pxd. I will assume it is a system C/C++ header.
  warnings.warn(msg+' I will assume it is a system C/C++ header.')

real    0m5.420s
user    0m2.444s
sys    0m0.860s
(maybe that last part should go to stdout instead of stderr)

Sage was functional at this time. Next I've installed all optional packages listed by the ./sage -optional and found that following packages were not installed (log file available on demand):
TOPCOM-0.16.2.p2
ace-5.0.p0
dot2tex-2.8.7-2
fricas-1.0.9
fricasaldor-1.0.9
libcocoa-0.9930
lrs-4.2b.p1
qhull-2010.1
valgrind-3.7.0

Next, I've run ./sage --testall --long. The log ends with these lines:
The following tests failed:
    sage -t  --long -force_lib "devel/sage/sage/misc/functional.py"
    sage -t  --long -force_lib "devel/sage/sage/tests/startup.py"
    sage -t  --long -force_lib "devel/sage/sage/calculus/test_sympy.py"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/expression_conversions.py"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/ring.pyx"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/constants_c.pyx"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/expression.pyx"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/constants.py"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/integration/integral.py"
    sage -t  --long -force_lib "devel/sage/sage/symbolic/integration/external.py"
    sage -t  --long -force_lib "devel/sage/sage/functions/generalized.py"
    sage -t  --long -force_lib "devel/sage/sage/functions/trig.py"
    sage -t  --long -force_lib "devel/sage/sage/rings/integer.pyx"
    sage -t  --long -force_lib "devel/sage/sage/rings/infinity.py"
    sage -t  --long -force_lib "devel/sage/sage/rings/rational.pyx"

One is special:
sage -t  --long -force_lib "devel/sage/sage/tests/startup.py"
**********************************************************************
File "$SAGE_ROOT/devel/sage/sage/tests/startup.py", line 13:
    sage: sage0("'numpy' in sys.modules")
Expected:
    False
Got:
    True
**********************************************************************

Other ones say the same thing:
sage -t  --long -force_lib "devel/sage/sage/calculus/test_sympy.py"
**********************************************************************
File "$SAGE_ROOT/devel/sage/sage/calculus/test_sympy.py", line 104:
    sage: from sympy import Symbol, cos, sympify, pprint
Expected nothing
Got:
    doctest:135: UserWarning: gmpy version is too old to use (1.03 or newer required)
**********************************************************************
 
One other awkward thing that I've noticed is that some images are not shown by the tutorial inside notebook. Neither Chromium nor Firefox were smart enough despite the fact that the directive to include the image was there and the image was reachable. I shall investigate this further.

Nick
Reply all
Reply to author
Forward
0 new messages