Hello,

I was compiling sage 6.4(it is unfortunately the only version supported by 
a math package I will be using) from the source on Ubuntu 14.04 with the 
"make" command, and the process halted with the error below.

Can someone please help me with this error?


Thanks,
Sun



/home/sun/Programs/sage-6.4/
build/pipestatus "sage-spkg -f conway_polynomials-0.4.p0 2>&1" "tee -a 
/home/sun/Programs/sage-6.4/logs/pkgs/conway_polynomials-0.4.p0.log"
Found local metadata for conway_polynomials-0.4.p0
Found local sources at 
/home/sun/Programs/sage-6.4/upstream/conway_polynomials-0.4.tar.bz2
Checksum: 25b7abe5c935d20c3ebcde943308652c412d14dc vs 
25b7abe5c935d20c3ebcde943308652c412d14dc
conway_polynomials-0.4.p0
====================================================
Setting up build directory for conway_polynomials-0.4.p0
Finished set up
****************************************************
Host system:
Linux Pulsar 3.19.0-30-generic #34~14.04.1-Ubuntu SMP Fri Oct 2 22:09:39 
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
4.8.4-2ubuntu1~14.04' 
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.8 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre 
--enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) 
****************************************************
Traceback (most recent call last):
  File "./spkg-install", line 4, in <module>
    from sage.all import save
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/all.py", 
line 100, in <module>
    from sage.rings.all      import *
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/all.py",
 
line 68, in <module>
    from number_field.all import *
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/number_field/all.py",
 
line 7, in <module>
    from totallyreal import enumerate_totallyreal_fields_prim
  File "sage/rings/number_field/totallyreal_data.pxd", line 17, in init 
sage.rings.number_field.totallyreal 
(build/cythonized/sage/rings/number_field/totallyreal.c:8626)
  File "sage/rings/number_field/totallyreal_data.pyx", line 41, in init 
sage.rings.number_field.totallyreal_data 
(build/cythonized/sage/rings/number_field/totallyreal_data.c:9426)
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
 
line 465, in PolynomialRing
    R = _single_variate(base_ring, name, sparse, implementation)
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
 
line 539, in _single_variate
    R = m.PolynomialRing_integral_domain(base_ring, name, sparse, 
implementation)
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.py",
 
line 1531, in __init__
    sparse=sparse, element_class=element_class)
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.py",
 
line 1438, in __init__
    sparse=sparse, element_class=element_class, category=category)
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.py",
 
line 307, in __init__
    from sage.matrix.matrix_space import is_MatrixSpace
  File 
"/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/matrix/matrix_space.py",
 
line 34, in <module>
    import matrix_generic_dense
  File "sage/matrix/matrix_generic_dense.pyx", line 1, in init 
sage.matrix.matrix_generic_dense 
(build/cythonized/sage/matrix/matrix_generic_dense.c:4634)
ImportError: 
/home/sun/Programs/sage-6.4/local/lib/python2.7/site-packages/sage/matrix/matrix_dense.so:
 
file too short

real    0m2.774s
user    0m1.724s
sys    0m0.396s
************************************************************************
Error installing package conway_polynomials-0.4.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/sun/Programs/sage-6.4/logs/pkgs/conway_polynomials-0.4.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/sun/Programs/sage-6.4/local/var/tmp/sage/build/conway_polynomials-0.4.p0 
and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/home/sun/Programs/sage-6.4/local/var/tmp/sage/build/conway_polynomials-0.4.p0'
 
&& '/home/sun/Programs/sage-6.4/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** 
[/home/sun/Programs/sage-6.4/local/var/lib/sage/installed/conway_polynomials-0.4.p0]
 
Error 1
make[2]: Leaving directory `/home/sun/Programs/sage-6.4/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sun/Programs/sage-6.4/build'

real    45m13.002s
user    43m46.692s
sys    1m18.460s
***************************************************************
Error building Sage.

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

package: conway_polynomials-0.4.p0
log file: 
/home/sun/Programs/sage-6.4/logs/pkgs/conway_polynomials-0.4.p0.log
build directory: 
/home/sun/Programs/sage-6.4/local/var/tmp/sage/build/conway_polynomials-0.4.p0

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.

make: *** [build] Error 1
[sun - sage-6.4]$

-- 
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