I figured, so I installed gcc, g++ and gfortran from the ubuntu packages as 
in http://doc.sagemath.org/html/en/installation/source.html#prerequisites.

On Monday, April 30, 2018 at 6:14:26 PM UTC-5, François Bissey wrote:
>
> OK so asking for sage to install its own gcc may be overkill as I am 
> expecting it 
> will take forever. Do you have access to another compiler - gcc or 
> clang-5+? 
>
> > On 1/05/2018, at 11:11, Ronno Das <ronn...@gmail.com <javascript:>> 
> wrote: 
> > 
> > Yes, I'm compiling on the pi. 
> > 
> > On Monday, April 30, 2018 at 5:36:41 PM UTC-5, François Bissey wrote: 
> > The real interesting bit is 
> > /bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I. -I../../..  -I../../..  -I../../../fflas-ffpack/utils/ 
> -I../../../fflas-ffpack/fflas/ -I../../../fflas-ffpack/ffpack 
> -I../../../fflas-ffpack/field -fPIC -std=gnu++11 -fabi-version=6 
> -I/opt/sage/local/include -I/opt/sage/local/include 
> -D__FFLASFFPACK_HAVE_CBLAS    -O2  -Wall -DNDEBUG -UFFLASFFPACK_DEBUG -g 
> -O2 -fPIC  -std=gnu++11   -fabi-version=6 -c -o ffpack_inst.lo 
> ffpack_inst.C 
> > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. 
> -I../../../fflas-ffpack/utils/ -I../../../fflas-ffpack/fflas/ 
> -I../../../fflas-ffpack/ffpack -I../../../fflas-ffpack/field -fPIC 
> -std=gnu++11 -fabi-version=6 -I/opt/sage/local/include 
> -I/opt/sage/local/include -D__FFLASFFPACK_HAVE_CBLAS -O2 -Wall -DNDEBUG 
> -UFFLASFFPACK_DEBUG -g -O2 -fPIC -std=gnu++11 -fabi-version=6 -c 
> ffpack_inst.C  -fPIC -DPIC -o .libs/ffpack_inst.o 
> > In file included from ffpack_inst.C:68:0: 
> > ffpack_inst_implem.inl:396:1: internal compiler error: in 
> get_untransformed_body, at cgraph.c:3263 
> > 
> > so your compiler (gcc-5.4.0) broke down at this stage but it will be 
> difficult to know why. 
> > You are compiling directly on the pi? 
> > 
> > François 
> > 
> > > On 1/05/2018, at 09:57, Ronno Das <ronn...@gmail.com> wrote: 
> > > 
> > > The 'make' ends with 
> > > 
> > > [fflas_ffpack-2.2.2.p0] 
> ************************************************************************ 
> > > [fflas_ffpack-2.2.2.p0] Error installing package fflas_ffpack-2.2.2.p0 
> > > [fflas_ffpack-2.2.2.p0] 
> ************************************************************************ 
> > > [fflas_ffpack-2.2.2.p0] Please email sage-devel (
> http://groups.google.com/group/sage-devel) 
> > > [fflas_ffpack-2.2.2.p0] explaining the problem and including the log 
> file 
> > > [fflas_ffpack-2.2.2.p0]   
> /opt/sage/logs/pkgs/fflas_ffpack-2.2.2.p0.log 
> > > [fflas_ffpack-2.2.2.p0] Describe your computer, operating system, etc. 
> > > [fflas_ffpack-2.2.2.p0] If you want to try to fix the problem 
> yourself, *don't* just cd to 
> > > [fflas_ffpack-2.2.2.p0] 
> /opt/sage/local/var/tmp/sage/build/fflas_ffpack-2.2.2.p0 and type 'make' or 
> whatever is appropriate. 
> > > [fflas_ffpack-2.2.2.p0] Instead, the following commands setup all 
> environment variables 
> > > [fflas_ffpack-2.2.2.p0] correctly and load a subshell for you to debug 
> the error: 
> > > [fflas_ffpack-2.2.2.p0]   (cd 
> '/opt/sage/local/var/tmp/sage/build/fflas_ffpack-2.2.2.p0' && 
> '/opt/sage/sage' --sh) 
> > > [fflas_ffpack-2.2.2.p0] When you are done debugging, you can type 
> "exit" to leave the subshell. 
> > > [fflas_ffpack-2.2.2.p0] 
> ************************************************************************ 
> > > Makefile:1529: recipe for target 
> '/opt/sage/local/var/lib/sage/installed/fflas_ffpack-2.2.2.p0' failed 
> > > make[2]: *** 
> [/opt/sage/local/var/lib/sage/installed/fflas_ffpack-2.2.2.p0] Error 1 
> > > make[2]: Leaving directory '/opt/sage/build/make' 
> > > Makefile:803: recipe for target 'all' failed 
> > > make[1]: *** [all] Error 2 
> > > make[1]: Leaving directory '/opt/sage/build/make' 
> > > 
> > > real    8m37.346s 
> > > user    8m16.960s 
> > > sys     0m8.470s 
> > > *************************************************************** 
> > > Error building Sage. 
> > > 
> > > The following package(s) may have failed to build (not necessarily 
> > > during this run of 'make all'): 
> > > 
> > > * package: fflas_ffpack-2.2.2.p0 
> > >   log file: /opt/sage/logs/pkgs/fflas_ffpack-2.2.2.p0.log 
> > >   build directory: 
> /opt/sage/local/var/tmp/sage/build/fflas_ffpack-2.2.2.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. 
> > > 
> > > Makefile:16: recipe for target 'all' failed 
> > > make: *** [all] Error 1 
> > > 
> > > I've attached the file 
> '/opt/sage/logs/pkgs/fflas_ffpack-2.2.2.p0.log'. What do I need to fix? 
> > > 
> > > -- 
> > > 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+...@googlegroups.com. 
> > > To post to this group, send email to sage-...@googlegroups.com. 
> > > Visit this group at https://groups.google.com/group/sage-devel. 
> > > For more options, visit https://groups.google.com/d/optout. 
> > > <fflas_ffpack-2.2.2.p0.log> 
> > 
> > 
> > -- 
> > 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+...@googlegroups.com <javascript:>. 
> > To post to this group, send email to sage-...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to