[sage-devel] Problem while compiling

2015-05-06 Thread larutan . 87

Hello,

I have tried to compile sage from sources but it does not work.
Attached is a log of the last part of the compiling output.
My OS is a Linux Mint 17 64 bits.

Thanks in advance for any help.

Christophe

-- 
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.
/bin/bash ./libtool --tag=CC   --mode=link 
/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc
 
-B/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/
 -B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/bin/ 
-B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/include -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/sys-include
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules 
-ffunction-sections -fdata-sections  -g -O2   -o libcaf_single.la -static 
-rpath 
/home/christophe/math/sage-6.6/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 
single.lo  -lm 
libtool: link: ar rc .libs/libcaf_single.a  single.o
libtool: link: ranlib .libs/libcaf_single.a
libtool: link: ( cd .libs  rm -f libcaf_single.la  ln -s 
../libcaf_single.la libcaf_single.la )
/bin/bash ./libtool --tag=CC   --mode=compile 
/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc
 
-B/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/
 -B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/bin/ 
-B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/include -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I../../../src/libgfortran  
-iquote../../../src/libgfortran/io -I../../../src/libgfortran/../gcc 
-I../../../src/libgfortran/../gcc/config 
-I../../../src/libgfortran/../libquadmath -I../.././gcc 
-I../../../src/libgfortran/../libgcc -I../libgcc  -std=gnu99 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra 
-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections  -g -O2 
-MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c -o fmain.lo 
../../../src/libgfortran/fmain.c
libtool: compile:  
/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc
 
-B/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/
 -B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/bin/ 
-B/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/include -isystem 
/home/christophe/math/sage-6.6/local/x86_64-unknown-linux-gnu/sys-include 
-DHAVE_CONFIG_H -I. -I../../../src/libgfortran 
-iquote../../../src/libgfortran/io -I../../../src/libgfortran/../gcc 
-I../../../src/libgfortran/../gcc/config 
-I../../../src/libgfortran/../libquadmath -I../.././gcc 
-I../../../src/libgfortran/../libgcc -I../libgcc -std=gnu99 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra 
-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2 
-MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c ../../../src/libgfortran/fmain.c  
-fPIC -DPIC -o .libs/fmain.o
In file included from ./kinds.h:75:0,
 from ../../../src/libgfortran/libgfortran.h:243,
 from ../../../src/libgfortran/fmain.c:4:
../../../src/libgfortran/kinds-override.h:40:5: error: #error Where has 
__float128 gone?
 #   error Where has __float128 gone?
 ^
make[6]: *** [fmain.lo] Error 1
make[6]: Leaving directory 
`/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-linux-gnu/libgfortran'
make[5]: *** [all] Error 2
make[5]: Leaving directory 
`/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/x86_64-unknown-linux-gnu/libgfortran'
make[4]: *** [all-target-libgfortran] Error 2
make[4]: Leaving directory 
`/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/christophe/math/sage-6.6/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build'

real67m42.626s
user61m56.874s
sys 5m47.686s

Error installing package gcc-4.9.2.p1

Please email sage-devel 

[sage-devel] Problem while compiling in red hat (Scientific linux)

2012-09-02 Thread Jorge Hernández Bernal
Hi,

I have been running sage in ubuntu and all is fine, but now I want to have a 
server for long time computing. I'm trying to install sage in a old computer (a 
6? years old laptop) which is running Scientific Linux.

I tried to install it from de binaries, but there was a problem, apparently the 
same as here 
https://groups.google.com/forum/?fromgroups=#!topic/sage-support/lFNhyJuoBbo I 
tried to compile the source as somebody tells in that post, but I get the next 
error:

Any idea? I just need to run sage, I don't mind to install from binaries or 
compile it. I could install another linux system if necesary.
-

Processing pyOpenSSL-0.12.tar.gz
Running pyOpenSSL-0.12/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-IxDUgp/pyOpenSSL-0.12/egg-dist-tmp-fxIOZ1
warning: no files found matching 'COPYING'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
In file included from /root/sage-5.2/local/include/python2.7/Python.h:8:0,
 from OpenSSL/crypto/crypto.c:14:
/root/sage-5.2/local/include/python2.7/pyconfig.h:1183:0: aviso: se redefinió 
_XOPEN_SOURCE [activado por defecto]
línea-de-orden:0:0: nota: esta es la ubicación de la definición previa
In file included from OpenSSL/crypto/crypto.h:17:0,
 from OpenSSL/crypto/crypto.c:16:
OpenSSL/crypto/x509.h:17:25: error fatal: openssl/ssl.h: No existe el fichero o 
el directorio
compilación terminada.
error: Setup script exited with error: command 'gcc' failed with exit status 1
Error installing pyOpenSSL-0.12.tar.gz.

real0m49.018s
user0m33.693s
sys 0m4.505s

Error installing package sagenb-0.9.1

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /root/sage-5.2/spkg/logs/sagenb-0.9.1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/root/sage-5.2/spkg/build/sagenb-0.9.1 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 '/root/sage-5.2/spkg/build/sagenb-0.9.1'  '/root/sage-5.2/sage' -sh)
When you are done debugging, you can type exit to leave the subshell.

make[1]: *** [installed/sagenb-0.9.1] Error 1
make[1]: se sale del directorio `/root/sage-5.2/spkg'

real546m0.701s
user475m40.041s
sys 18m50.579s
Error building Sage.
make: *** [build] Error 1
You have new mail in /var/spool/mail/root

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.




Re: [sage-devel] Problem while compiling in red hat (Scientific linux)

2012-09-02 Thread Minh Nguyen
Hi,

On Mon, Sep 3, 2012 at 12:56 AM, Jorge Hernández Bernal
jorgehazdr...@gmail.com wrote:
 Any idea? I just need to run sage, I don't mind to install from binaries
 or compile it. I could install another linux system if necesary.

You might find a solution in the following post

https://groups.google.com/forum/?fromgroups=#!topic/sage-devel/993rejgC3ys

A related solution (for Ubuntu) is

https://groups.google.com/forum/?fromgroups=#!topic/sage-devel/q9_Mn3f467g

-- 
Regards,
Minh Van Nguyen
http://bit.ly/mvngu

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.