Luis Finotti wrote: > On Wednesday, August 24, 2016 at 5:41:37 PM UTC-4, leif wrote: > > Luis Finotti wrote: > > I can't compile 7.3 using Debian Unstable. > > Do you intentionally (try to) build Sage's GCC? (I have to admit I > haven't tried to build 4.9.3 with 6.x, but building older GCCs with > newer versions of it in my experience is likely to fail.) > > If not, take a look at config.log, which should tell you /why/ Sage > attempts to build and use its own GCC. > > Presumably your system lacks g++ and/or gfortran; if you install these > from your distro, Sage won't have to build them. > > > -leif > > > I wasn't trying to compile gcc. Indeed I was missing gfortran, which is > funny since I've built sage many times in this machine.
Well, a "version mismatch" (e.g. gcc-6.1 but gfortran-5.4) would also cause Sage to install its GCC package, so probably gfortran hadn't been upgraded. FWIW, setting SAGE_INSTALL_GCC=no (before running 'configure') prevents from Sage building its own GCC; in your case 'configure' would then have exited with an error (if gfortran wasn't installed at all), or a warning (upon a "version mismatch"). -leif -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
