Re: [sage-devel] configure problem

2022-06-25 Thread Matthias Koeppe
On Wednesday, June 22, 2022 at 4:10:40 AM UTC-7 john.c...@gmail.com wrote:

> I suggest that the report by configure was not sufficiently helpful 
> or informative. Should it not wither mark gcc as something necessary 
> to be installed, or tell me that it cannot me?


It did say "(To override this error, use ./configure --without-system-gcc)".

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/25ab21f7-cd74-4b4a-a835-0999521a3141n%40googlegroups.com.


Re: [sage-devel] configure problem

2022-06-22 Thread John Cremona
Thanks for the quick replies.  I switched to the master branch and
there bootstrap+configure worked.

I suggest that the report by configure was not sufficiently  helpful
or informative.  Should it not wither mark gcc as something necessary
to be installed, or tell me that it cannot me?

I know that this system needs an OS upgrade, and will see about doing
that, though it has a lot of users (and long-running jobs) and is hard
to get physical access to, so doing an O/S upgrade via remote login is
not a very relaxing experience.

John

On Wed, 22 Jun 2022 at 12:02, Dima Pasechnik  wrote:
>
> On Wed, Jun 22, 2022 at 12:00 PM François Bissey  wrote:
> >
> > https://trac.sagemath.org/ticket/33316 that’s what happened. Support for 
> > gcc lower than 6.3 removed. I don’t know if you can get a newer gcc from 
> > that ubuntu.
>
> via a PPA it's possible, see e.g.
> https://gist.github.com/jlblancoc/99521194aba975286c80f93e47966dc5
>
> But it's better to upgrade to a more recent OS.
>
>
> >
> > > On 22/06/2022, at 22:56, John Cremona  wrote:
> > >
> > > On a machine (Ubuntu 16.04.7 LTS) on which I have done a lot of Sage
> > > development before,  and  successfully built sage from source, from
> > > scratch,  just a month ago (May 17 when 9.6 was released) with no
> > > problems.
> > >
> > > Now, I made a new clone of the source using
> > >
> > > git clone https://github.com/sagemath/sage.git
> > > cd sage
> > >
> > > then ran
> > >
> > > ./bootstrap
> > >
> > > and then
> > >
> > > ./configure
> > >
> > > but configure gave some error messages.  In the long list, I see
> > >
> > > gcc-11.3.0:  no suitable system
> > > package; this is an error
> > >
> > > and at the end:
> > >
> > > configure: error:
> > >
> > >Given --with-system-gcc=force, but no system package could be used.
> > >That's an error.  Please install the indicated package to continue.
> > >(To override this error, use ./configure --without-system-gcc)
> > >
> > > Now this system certainly has a working gcc, it is
> > > gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
> > >
> > > Also,  So, what has changed since then?
> > >
> > > John
> > >
> > > --
> > > 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 view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/sage-devel/CAD0p0K79NBC7Hv49MNY9keGR-siU0xfOnmJ2Ab%2B54FUXgpxwhg%40mail.gmail.com.
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/DA2BF98B-B926-4F70-A597-CCEC9B44749C%40gmail.com.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3mbmQcD_m6dW_34O4UJSfF7nYt07SgOxKZsYKijGrmPg%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAD0p0K6PYF%3Dgff8qG7Camt8fOB4gW17kU_2mEFuY-BynYqLkNQ%40mail.gmail.com.


Re: [sage-devel] configure problem

2022-06-22 Thread Dima Pasechnik
On Wed, Jun 22, 2022 at 12:00 PM François Bissey  wrote:
>
> https://trac.sagemath.org/ticket/33316 that’s what happened. Support for gcc 
> lower than 6.3 removed. I don’t know if you can get a newer gcc from that 
> ubuntu.

via a PPA it's possible, see e.g.
https://gist.github.com/jlblancoc/99521194aba975286c80f93e47966dc5

But it's better to upgrade to a more recent OS.


>
> > On 22/06/2022, at 22:56, John Cremona  wrote:
> >
> > On a machine (Ubuntu 16.04.7 LTS) on which I have done a lot of Sage
> > development before,  and  successfully built sage from source, from
> > scratch,  just a month ago (May 17 when 9.6 was released) with no
> > problems.
> >
> > Now, I made a new clone of the source using
> >
> > git clone https://github.com/sagemath/sage.git
> > cd sage
> >
> > then ran
> >
> > ./bootstrap
> >
> > and then
> >
> > ./configure
> >
> > but configure gave some error messages.  In the long list, I see
> >
> > gcc-11.3.0:  no suitable system
> > package; this is an error
> >
> > and at the end:
> >
> > configure: error:
> >
> >Given --with-system-gcc=force, but no system package could be used.
> >That's an error.  Please install the indicated package to continue.
> >(To override this error, use ./configure --without-system-gcc)
> >
> > Now this system certainly has a working gcc, it is
> > gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
> >
> > Also,  So, what has changed since then?
> >
> > John
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/CAD0p0K79NBC7Hv49MNY9keGR-siU0xfOnmJ2Ab%2B54FUXgpxwhg%40mail.gmail.com.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/DA2BF98B-B926-4F70-A597-CCEC9B44749C%40gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3mbmQcD_m6dW_34O4UJSfF7nYt07SgOxKZsYKijGrmPg%40mail.gmail.com.


Re: [sage-devel] configure problem

2022-06-22 Thread Dima Pasechnik
On Wed, Jun 22, 2022 at 11:57 AM John Cremona  wrote:
>
> On a machine (Ubuntu 16.04.7 LTS) on which I have done a lot of Sage
> development before,  and  successfully built sage from source, from
> scratch,  just a month ago (May 17 when 9.6 was released) with no
> problems.
>
> Now, I made a new clone of the source using
>
> git clone https://github.com/sagemath/sage.git
> cd sage
>
> then ran
>
> ./bootstrap
>
> and then
>
> ./configure
>
> but configure gave some error messages.  In the long list, I see
>
> gcc-11.3.0:  no suitable system
> package; this is an error
>
> and at the end:
>
> configure: error:
>
> Given --with-system-gcc=force, but no system package could be used.
> That's an error.  Please install the indicated package to continue.
> (To override this error, use ./configure --without-system-gcc)
>
> Now this system certainly has a working gcc, it is
> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)

one needs nowadays at least version 6.3 of gcc.
See https://trac.sagemath.org/ticket/33316

Also note

Ubuntu 16.04 LTS (Xenial) has reached the end of its free initial
five-year security maintenance period as of April 30, 2021

>
> Also,  So, what has changed since then?
>
> John
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAD0p0K79NBC7Hv49MNY9keGR-siU0xfOnmJ2Ab%2B54FUXgpxwhg%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2sQQ-sU-GOY5%3D07G2qrjAby_wjE2p92AGGY2-acpdQCw%40mail.gmail.com.


Re: [sage-devel] configure problem

2022-06-22 Thread François Bissey
https://trac.sagemath.org/ticket/33316 that’s what happened. Support for gcc 
lower than 6.3 removed. I don’t know if you can get a newer gcc from that 
ubuntu.

> On 22/06/2022, at 22:56, John Cremona  wrote:
> 
> On a machine (Ubuntu 16.04.7 LTS) on which I have done a lot of Sage
> development before,  and  successfully built sage from source, from
> scratch,  just a month ago (May 17 when 9.6 was released) with no
> problems.
> 
> Now, I made a new clone of the source using
> 
> git clone https://github.com/sagemath/sage.git
> cd sage
> 
> then ran
> 
> ./bootstrap
> 
> and then
> 
> ./configure
> 
> but configure gave some error messages.  In the long list, I see
> 
> gcc-11.3.0:  no suitable system
> package; this is an error
> 
> and at the end:
> 
> configure: error:
> 
>Given --with-system-gcc=force, but no system package could be used.
>That's an error.  Please install the indicated package to continue.
>(To override this error, use ./configure --without-system-gcc)
> 
> Now this system certainly has a working gcc, it is
> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
> 
> Also,  So, what has changed since then?
> 
> John
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAD0p0K79NBC7Hv49MNY9keGR-siU0xfOnmJ2Ab%2B54FUXgpxwhg%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/DA2BF98B-B926-4F70-A597-CCEC9B44749C%40gmail.com.


[sage-devel] configure problem

2022-06-22 Thread John Cremona
On a machine (Ubuntu 16.04.7 LTS) on which I have done a lot of Sage
development before,  and  successfully built sage from source, from
scratch,  just a month ago (May 17 when 9.6 was released) with no
problems.

Now, I made a new clone of the source using

git clone https://github.com/sagemath/sage.git
cd sage

then ran

./bootstrap

and then

./configure

but configure gave some error messages.  In the long list, I see

gcc-11.3.0:  no suitable system
package; this is an error

and at the end:

configure: error:

Given --with-system-gcc=force, but no system package could be used.
That's an error.  Please install the indicated package to continue.
(To override this error, use ./configure --without-system-gcc)

Now this system certainly has a working gcc, it is
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)

Also,  So, what has changed since then?

John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAD0p0K79NBC7Hv49MNY9keGR-siU0xfOnmJ2Ab%2B54FUXgpxwhg%40mail.gmail.com.