[sage-release] Re: Trouble with gfan
We actually test this platform (ubuntu xenial), and gfan builds correctly. See https://github.com/sagemath/sage/runs/3392764418?check_suite_focus=true This failure must be caused by something specific to your system - such as some stuff installed into /usr/local or something like that. On Saturday, August 28, 2021 at 11:46:14 AM UTC-7 Simon King wrote: > Hi! > > I'm afraid it's a long time since I last tried to build SageMath. When I > now checked out the latest develop branch, gfran failed to build. > > From the log: > [gfan-0.6.2.p1] IntegerVectorList setTemp;for(auto > c=observedExponents.begin();c!=observedExponents.end();c++)setTemp.push_back(*c); > [gfan-0.6.2.p1] ^ > [gfan-0.6.2.p1] In file included from src/field_rationals.h:8:0, > [gfan-0.6.2.p1] from src/polynomialgcd.cpp:14: > [gfan-0.6.2.p1] src/field.h:81:23: note: candidate: FieldElement > operator*(const FieldElement&, const FieldElement&) > [gfan-0.6.2.p1] friend FieldElement operator*(const FieldElement &a,const > FieldElement &b); > [gfan-0.6.2.p1] ^ > [gfan-0.6.2.p1] src/field.h:81:23: note: candidate expects 2 arguments, 1 > provided > > This is on an older ubuntu (16.04.7), in case that matters. > > Is that a known issue? How can I downgrade to a working version of gfan? > > Best regards, > Simon > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/edf53a20-ff73-4115-96f8-5828cd26807an%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Matthia, On 2021-08-28, Matthias Köppe wrote: > We actually test this platform (ubuntu xenial), and gfan builds correctly. > See https://github.com/sagemath/sage/runs/3392764418?check_suite_focus=true > > This failure must be caused by something specific to your system - such as > some stuff installed into /usr/local or something like that. What could be the cause? I'm not sure whether I added any stuff since the last successful build. In particular, the error message I'm getting looks to me like there is something wrong in the sources (namely: A different number of arguments in the header and in the code) -- is gfan partially taken from the system? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgfuot%24159%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Dima, On 2021-08-29, Dima Pasechnik wrote: > On Sun, Aug 29, 2021 at 1:32 PM Simon King wrote: >> In particular, the error message I'm getting looks to me like there is >> something >> wrong in the sources (namely: A different number of arguments in the header >> and in the code) -- is gfan partially taken from the system? > > probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > A system-wide install of old gfan might get in the way. I see. So, I should better focus on installing Sage on my new laptop, that has a more recent ubuntu. Thanks and best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgg1k6%24qus%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Matthias, On 2021-08-29, Matthias Köppe wrote: > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > >> is gfan partially taken from the system? >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. >> A system-wide install of old gfan might get in the way. > > No, that alone cannot explain it -- we test this configuration. > ubuntu-xenial-standard installs the system gfan, then rejects it, then > correctly builds gfan. What could explain it? Is there a typical application that I might have installed and depends on gfan? I mean, it is for Groebner fans. So, what *non-mathematical* software would use it? I don't think that I installed a mathematical software after the last successful build of Sage. Should I try to uninstall gfan, re-install it, and try again? And, if that fails, uninstall and NOT re-install, but build Sage and hope that it provides a working gfan? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sggktg%24vdn%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
I'd start by un-installing system-wide gfan (could it be that you have more system-wide copies of it, e.g. in /usr/local/ ?) and try building then. On Sunday, August 29, 2021 at 7:50:32 PM UTC+1 Simon King wrote: > Hi Matthias, > > On 2021-08-29, Matthias Köppe wrote: > > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > > > >> is gfan partially taken from the system? > >> > >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > >> A system-wide install of old gfan might get in the way. > > > > No, that alone cannot explain it -- we test this configuration. > > ubuntu-xenial-standard installs the system gfan, then rejects it, then > > correctly builds gfan. > > What could explain it? Is there a typical application that I might have > installed and depends on gfan? I mean, it is for Groebner fans. So, what > *non-mathematical* software would use it? I don't think that I installed > a mathematical software after the last successful build of Sage. > > Should I try to uninstall gfan, re-install it, and try again? And, > if that fails, uninstall and NOT re-install, but build Sage and hope > that it provides a working gfan? > > Best regards, > Simon > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/651d195a-bc5c-4f4a-bee9-a669ca5080c5n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Dima On 2021-08-29, Dima Pasechnik wrote: > I'd start by un-installing system-wide gfan (could it be that you have more > system-wide copies of it, e.g. in /usr/local/ ?) > and try building then. I tried to "find /usr/local/ -name *gfan*", which resulted in nothing. Then I tried "sudo apt remove gfan", which told me that gfan is not installed! So, I misinterpreted "apt show gfan" (it gave me the apparently wrong impression that I had it installed. So, what next? How can I find out whether (and where) gfan is installed system-wide? And if it is not installed: Shall I try to install gfan system-wide, and try building Sage again? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sggmnp%24kfl%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Singular vendors a part of gfan called gfanlib. Perhaps an installation of that is leaking into your build. If you can share your top-level config.log and the full gfan build log, we can take a closer look. On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > Hi Matthias, > > On 2021-08-29, Matthias Köppe wrote: > > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > > > >> is gfan partially taken from the system? > >> > >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > >> A system-wide install of old gfan might get in the way. > > > > No, that alone cannot explain it -- we test this configuration. > > ubuntu-xenial-standard installs the system gfan, then rejects it, then > > correctly builds gfan. > > What could explain it? Is there a typical application that I might have > installed and depends on gfan? I mean, it is for Groebner fans. So, what > *non-mathematical* software would use it? I don't think that I installed > a mathematical software after the last successful build of Sage. > > Should I try to uninstall gfan, re-install it, and try again? And, > if that fails, uninstall and NOT re-install, but build Sage and hope > that it provides a working gfan? > > Best regards, > Simon > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/0cf45e3e-d617-4fbc-a5fd-0566e03867c1n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Dima, On 2021-08-29, Dima Pasechnik wrote: > The error you get is most likely due to an old g++, which chokes on a > newer C++ construction, > not due to a version mixup. > > What is the g++ version you are using? > (or perhaps you use clang?) > $ g++ --version g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Is that new enough? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sggvg3%24gcl%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Matthias, the two logs are at https://users.fmi.uni-jena.de/~king/logs/ Best regards, Simon On 2021-08-29, Matthias Köppe wrote: > Singular vendors a part of gfan called gfanlib. Perhaps an installation of > that is leaking into your build. > > If you can share your top-level config.log and the full gfan build log, we > can take a closer look. > > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > >> Hi Matthias, >> >> On 2021-08-29, Matthias Köppe wrote: >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: >> > >> >> is gfan partially taken from the system? >> >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. >> >> A system-wide install of old gfan might get in the way. >> > >> > No, that alone cannot explain it -- we test this configuration. >> > ubuntu-xenial-standard installs the system gfan, then rejects it, then >> > correctly builds gfan. >> >> What could explain it? Is there a typical application that I might have >> installed and depends on gfan? I mean, it is for Groebner fans. So, what >> *non-mathematical* software would use it? I don't think that I installed >> a mathematical software after the last successful build of Sage. >> >> Should I try to uninstall gfan, re-install it, and try again? And, >> if that fails, uninstall and NOT re-install, but build Sage and hope >> that it provides a working gfan? >> >> Best regards, >> Simon >> >> > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgh096%24bsr%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
./configure correctly determines that it needs to use CXX='g++ -std=gnu++11' to work with this old compiler. Check if you have environment variables CC or CXX set in your global environment -- they should be unset; otherwise, they will override the values determined by ./configure. (This is nonstandard behavior of our build system.) On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: > Hi Matthias, > > the two logs are at https://users.fmi.uni-jena.de/~king/logs/ > > Best regards, > Simon > > On 2021-08-29, Matthias Köppe wrote: > > Singular vendors a part of gfan called gfanlib. Perhaps an installation > of > > that is leaking into your build. > > > > If you can share your top-level config.log and the full gfan build log, > we > > can take a closer look. > > > > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > > > >> Hi Matthias, > >> > >> On 2021-08-29, Matthias Köppe wrote: > >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > >> > > >> >> is gfan partially taken from the system? > >> >> > >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > >> >> A system-wide install of old gfan might get in the way. > >> > > >> > No, that alone cannot explain it -- we test this configuration. > >> > ubuntu-xenial-standard installs the system gfan, then rejects it, > then > >> > correctly builds gfan. > >> > >> What could explain it? Is there a typical application that I might have > >> installed and depends on gfan? I mean, it is for Groebner fans. So, what > >> *non-mathematical* software would use it? I don't think that I installed > >> a mathematical software after the last successful build of Sage. > >> > >> Should I try to uninstall gfan, re-install it, and try again? And, > >> if that fails, uninstall and NOT re-install, but build Sage and hope > >> that it provides a working gfan? > >> > >> Best regards, > >> Simon > >> > >> > > > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/8f4d89cf-7965-4904-b6f0-ab0cd4736bb5n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Matthias, On 2021-08-30, Matthias Köppe wrote: > ./configure correctly determines that it needs to use CXX='g++ > -std=gnu++11' to work with this old compiler. > Check if you have environment variables CC or CXX set in your global > environment -- they should be unset; otherwise, they will override the > values determined by ./configure. (This is nonstandard behavior of our > build system.) In a shell: king@klap:~/Sage/git/sage$ echo $CC king@klap:~/Sage/git/sage$ echo $CXX So, it is not set. In a Sage shell: (sage-sh) king@klap:sage$ echo $CC gcc (sage-sh) king@klap:sage$ echo $CXX g++ -std=gnu++11 This is what it should be, right? Best regards, Simon > > On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: > >> Hi Matthias, >> >> the two logs are at https://users.fmi.uni-jena.de/~king/logs/ >> >> Best regards, >> Simon >> >> On 2021-08-29, Matthias Köppe wrote: >> > Singular vendors a part of gfan called gfanlib. Perhaps an installation >> of >> > that is leaking into your build. >> > >> > If you can share your top-level config.log and the full gfan build log, >> we >> > can take a closer look. >> > >> > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: >> > >> >> Hi Matthias, >> >> >> >> On 2021-08-29, Matthias Köppe wrote: >> >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: >> >> > >> >> >> is gfan partially taken from the system? >> >> >> >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. >> >> >> A system-wide install of old gfan might get in the way. >> >> > >> >> > No, that alone cannot explain it -- we test this configuration. >> >> > ubuntu-xenial-standard installs the system gfan, then rejects it, >> then >> >> > correctly builds gfan. >> >> >> >> What could explain it? Is there a typical application that I might have >> >> installed and depends on gfan? I mean, it is for Groebner fans. So, what >> >> *non-mathematical* software would use it? I don't think that I installed >> >> a mathematical software after the last successful build of Sage. >> >> >> >> Should I try to uninstall gfan, re-install it, and try again? And, >> >> if that fails, uninstall and NOT re-install, but build Sage and hope >> >> that it provides a working gfan? >> >> >> >> Best regards, >> >> Simon >> >> >> >> >> > >> >> > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgj7jp%247b6%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Well, then the gfan.log that you shared cannot possibly come from the same install as the config.log that you shared. Can you run "./sage -f gfan" again? >From your log: Building gfan-0.6.2.p1 g++ -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O2 -g -c src/polynomialgcd.cpp -o src/polynomialgcd.o It should say: Building gfan-0.6.2.p1 g++ -std=gnu++11 -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL -Wuninitialized -fno-omit-frame-pointer -O2 -g -c src/polynomialgcd.cpp -o src/polynomialgcd.o On Monday, August 30, 2021 at 11:21:58 AM UTC-7 Simon King wrote: > Hi Matthias, > > On 2021-08-30, Matthias Köppe wrote: > > ./configure correctly determines that it needs to use CXX='g++ > > -std=gnu++11' to work with this old compiler. > > Check if you have environment variables CC or CXX set in your global > > environment -- they should be unset; otherwise, they will override the > > values determined by ./configure. (This is nonstandard behavior of our > > build system.) > > In a shell: > king@klap:~/Sage/git/sage$ echo $CC > > king@klap:~/Sage/git/sage$ echo $CXX > > So, it is not set. > In a Sage shell: > (sage-sh) king@klap:sage$ echo $CC > gcc > (sage-sh) king@klap:sage$ echo $CXX > g++ -std=gnu++11 > > This is what it should be, right? > > Best regards, > Simon > > > > On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: > > > >> Hi Matthias, > >> > >> the two logs are at https://users.fmi.uni-jena.de/~king/logs/ > >> > >> Best regards, > >> Simon > >> > >> On 2021-08-29, Matthias Köppe wrote: > >> > Singular vendors a part of gfan called gfanlib. Perhaps an > installation > >> of > >> > that is leaking into your build. > >> > > >> > If you can share your top-level config.log and the full gfan build > log, > >> we > >> > can take a closer look. > >> > > >> > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > >> > > >> >> Hi Matthias, > >> >> > >> >> On 2021-08-29, Matthias Köppe wrote: > >> >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik > wrote: > >> >> > > >> >> >> is gfan partially taken from the system? > >> >> >> > >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs > 0.6.2. > >> >> >> A system-wide install of old gfan might get in the way. > >> >> > > >> >> > No, that alone cannot explain it -- we test this configuration. > >> >> > ubuntu-xenial-standard installs the system gfan, then rejects it, > >> then > >> >> > correctly builds gfan. > >> >> > >> >> What could explain it? Is there a typical application that I might > have > >> >> installed and depends on gfan? I mean, it is for Groebner fans. So, > what > >> >> *non-mathematical* software would use it? I don't think that I > installed > >> >> a mathematical software after the last successful build of Sage. > >> >> > >> >> Should I try to uninstall gfan, re-install it, and try again? And, > >> >> if that fails, uninstall and NOT re-install, but build Sage and hope > >> >> that it provides a working gfan? > >> >> > >> >> Best regards, > >> >> Simon > >> >> > >> >> > >> > > >> > >> > > > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/c7d10469-db0c-439a-a415-c697aae5e5a0n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Matthias, Right. Before, I erased the old log and did "sage -i gfan". Now, I did "sage -f gfan", which failed again. I have posted the new log under the old url. Best regards, Simon On 2021-08-30, Matthias Köppe wrote: > Well, then the gfan.log that you shared cannot possibly come from the same > install as the config.log that you shared. Can you run "./sage -f gfan" > again? > > From your log: > Building gfan-0.6.2.p1 > g++ -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL -Wuninitialized > -fno-omit-frame-pointer -O2 -g -c src/polynomialgcd.cpp -o > src/polynomialgcd.o > > It should say: > Building gfan-0.6.2.p1 > g++ -std=gnu++11 -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL > -Wuninitialized -fno-omit-frame-pointer -O2 -g -c > src/polynomialgcd.cpp -o src/polynomialgcd.o > > > On Monday, August 30, 2021 at 11:21:58 AM UTC-7 Simon King wrote: > >> Hi Matthias, >> >> On 2021-08-30, Matthias Köppe wrote: >> > ./configure correctly determines that it needs to use CXX='g++ >> > -std=gnu++11' to work with this old compiler. >> > Check if you have environment variables CC or CXX set in your global >> > environment -- they should be unset; otherwise, they will override the >> > values determined by ./configure. (This is nonstandard behavior of our >> > build system.) >> >> In a shell: >> king@klap:~/Sage/git/sage$ echo $CC >> >> king@klap:~/Sage/git/sage$ echo $CXX >> >> So, it is not set. >> In a Sage shell: >> (sage-sh) king@klap:sage$ echo $CC >> gcc >> (sage-sh) king@klap:sage$ echo $CXX >> g++ -std=gnu++11 >> >> This is what it should be, right? >> >> Best regards, >> Simon >> > >> > On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: >> > >> >> Hi Matthias, >> >> >> >> the two logs are at https://users.fmi.uni-jena.de/~king/logs/ >> >> >> >> Best regards, >> >> Simon >> >> >> >> On 2021-08-29, Matthias Köppe wrote: >> >> > Singular vendors a part of gfan called gfanlib. Perhaps an >> installation >> >> of >> >> > that is leaking into your build. >> >> > >> >> > If you can share your top-level config.log and the full gfan build >> log, >> >> we >> >> > can take a closer look. >> >> > >> >> > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: >> >> > >> >> >> Hi Matthias, >> >> >> >> >> >> On 2021-08-29, Matthias Köppe wrote: >> >> >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik >> wrote: >> >> >> > >> >> >> >> is gfan partially taken from the system? >> >> >> >> >> >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs >> 0.6.2. >> >> >> >> A system-wide install of old gfan might get in the way. >> >> >> > >> >> >> > No, that alone cannot explain it -- we test this configuration. >> >> >> > ubuntu-xenial-standard installs the system gfan, then rejects it, >> >> then >> >> >> > correctly builds gfan. >> >> >> >> >> >> What could explain it? Is there a typical application that I might >> have >> >> >> installed and depends on gfan? I mean, it is for Groebner fans. So, >> what >> >> >> *non-mathematical* software would use it? I don't think that I >> installed >> >> >> a mathematical software after the last successful build of Sage. >> >> >> >> >> >> Should I try to uninstall gfan, re-install it, and try again? And, >> >> >> if that fails, uninstall and NOT re-install, but build Sage and hope >> >> >> that it provides a working gfan? >> >> >> >> >> >> Best regards, >> >> >> Simon >> >> >> >> >> >> >> >> > >> >> >> >> >> > >> >> > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgjk9g%243p8%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Simon, This is very strange. 1) Could you check if you happen to have a g++ in /home/king/Sage/git/sage/local/bin? (unlikely because you mentioned earlier that the environment is correct in "sage -sh") 2) If you do (cd '/home/king/Sage/git/sage/local/var/tmp/sage/build/gfan-0.6.2.p1' && '/home/king/Sage/git/sage/sage' --buildsh), what is CXX set to? (Just post the whole output from "env"?) On Monday, August 30, 2021 at 2:58:20 PM UTC-7 Simon King wrote: > Hi Matthias, > > Right. Before, I erased the old log and did "sage -i gfan". > > Now, I did "sage -f gfan", which failed again. I have posted the new log > under the old url. > > Best regards, > Simon > > On 2021-08-30, Matthias Köppe wrote: > > Well, then the gfan.log that you shared cannot possibly come from the > same > > install as the config.log that you shared. Can you run "./sage -f gfan" > > again? > > > > From your log: > > Building gfan-0.6.2.p1 > > g++ -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL -Wuninitialized > > -fno-omit-frame-pointer -O2 -g -c src/polynomialgcd.cpp -o > > src/polynomialgcd.o > > > > It should say: > > Building gfan-0.6.2.p1 > > g++ -std=gnu++11 -O2 -g -march=native -DNOCDDPREFIX -DGMPRATIONAL > > -Wuninitialized -fno-omit-frame-pointer -O2 -g -c > > src/polynomialgcd.cpp -o src/polynomialgcd.o > > > > > > On Monday, August 30, 2021 at 11:21:58 AM UTC-7 Simon King wrote: > > > >> Hi Matthias, > >> > >> On 2021-08-30, Matthias Köppe wrote: > >> > ./configure correctly determines that it needs to use CXX='g++ > >> > -std=gnu++11' to work with this old compiler. > >> > Check if you have environment variables CC or CXX set in your global > >> > environment -- they should be unset; otherwise, they will override > the > >> > values determined by ./configure. (This is nonstandard behavior of > our > >> > build system.) > >> > >> In a shell: > >> king@klap:~/Sage/git/sage$ echo $CC > >> > >> king@klap:~/Sage/git/sage$ echo $CXX > >> > >> So, it is not set. > >> In a Sage shell: > >> (sage-sh) king@klap:sage$ echo $CC > >> gcc > >> (sage-sh) king@klap:sage$ echo $CXX > >> g++ -std=gnu++11 > >> > >> This is what it should be, right? > >> > >> Best regards, > >> Simon > >> > > >> > On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: > >> > > >> >> Hi Matthias, > >> >> > >> >> the two logs are at https://users.fmi.uni-jena.de/~king/logs/ > >> >> > >> >> Best regards, > >> >> Simon > >> >> > >> >> On 2021-08-29, Matthias Köppe wrote: > >> >> > Singular vendors a part of gfan called gfanlib. Perhaps an > >> installation > >> >> of > >> >> > that is leaking into your build. > >> >> > > >> >> > If you can share your top-level config.log and the full gfan build > >> log, > >> >> we > >> >> > can take a closer look. > >> >> > > >> >> > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > >> >> > > >> >> >> Hi Matthias, > >> >> >> > >> >> >> On 2021-08-29, Matthias Köppe wrote: > >> >> >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik > >> wrote: > >> >> >> > > >> >> >> >> is gfan partially taken from the system? > >> >> >> >> > >> >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs > >> 0.6.2. > >> >> >> >> A system-wide install of old gfan might get in the way. > >> >> >> > > >> >> >> > No, that alone cannot explain it -- we test this configuration. > >> >> >> > ubuntu-xenial-standard installs the system gfan, then rejects > it, > >> >> then > >> >> >> > correctly builds gfan. > >> >> >> > >> >> >> What could explain it? Is there a typical application that I > might > >> have > >> >> >> installed and depends on gfan? I mean, it is for Groebner fans. > So, > >> what > >> >> >> *non-mathematical* software would use it? I don't think that I > >> installed > >> >> >> a mathematical software after the last successful build of Sage. > >> >> >> > >> >> >> Should I try to uninstall gfan, re-install it, and try again? And, > >> >> >> if that fails, uninstall and NOT re-install, but build Sage and > hope > >> >> >> that it provides a working gfan? > >> >> >> > >> >> >> Best regards, > >> >> >> Simon > >> >> >> > >> >> >> > >> >> > > >> >> > >> >> > >> > > >> > >> > > > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/dbbf9b93-cc47-4738-93df-c49e64aa78f4n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Matthias, On 2021-08-30, Matthias Köppe wrote: > 1) Could you check if you happen to have a g++ in > /home/king/Sage/git/sage/local/bin? (unlikely because you mentioned > earlier that the environment is correct in "sage -sh") No, /home/king/Sage/git/sage/local/bin/g++ does not exist, and "which g++" both in a shell and in a sage shell says "/usr/bin/g++". > 2) If you do (cd > '/home/king/Sage/git/sage/local/var/tmp/sage/build/gfan-0.6.2.p1' && > '/home/king/Sage/git/sage/sage' --buildsh), what is CXX set to? (Just post > the whole output from "env"?) That's lengthy, but you asked for it... XDG_VTNR=7 LC_PAPER=en_US.UTF-8 AS=as SAGE_FAT_BINARY= SAGE_GMP_PREFIX=/home/king/Sage/git/sage/local ORIGINAL_CFLAGS= NNTPSERVER=news.gmane.io LDFLAGS=-Wl,-rpath-link,/home/king/Sage/git/sage/local/lib -L/home/king/Sage/git/sage/local/lib -Wl,-rpath,/home/king/Sage/git/sage/local/lib AR=ar XDG_SESSION_ID=c2 LC_ADDRESS=en_US.UTF-8 SAGE_LOGS=/home/king/Sage/git/sage/logs/pkgs SAGE_NTL_PREFIX=/home/king/Sage/git/sage/local LC_MONETARY=en_US.UTF-8 XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/king CLUTTER_IM_MODULE=xim SESSION=ubuntu UNAME=Linux SAGE_CONFIGURE_FFLAS_FFPACK= GPG_AGENT_INFO=/home/king/.gnupg/S.gpg-agent:0:1 SAGE_ENV_CONFIG_SOURCED=1 R_MAKEVARS_SITE=/home/king/Sage/git/sage/local/lib/R/share/Makevars.site TERM=xterm-256color XDG_MENU_PREFIX=gnome- SHELL=/bin/bash VTE_VERSION=4205 CONFIGURED_CFLAGS= CONFIGURED_CXXFLAGS= SAGE_VENV=/home/king/Sage/git/sage/local SAGE_ENV_SOURCED=4 SAGE_GMP_INCLUDE=/home/king/Sage/git/sage/local/include SAGE_DEBUG= QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 LIBRARY_PATH=/home/king/Sage/git/sage/local/lib PERL5LIB=/home/king/Sage/git/sage/local/lib/perl5: MKDIR=mkdir OPENBLAS_NUM_THREADS=1 SAGE_DOC_MATHJAX=True F77FLAGS_NON_NATIVE=-O2 -g SAGE_ORIG_PATH=/home/king/bin:/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin SAGE_CONFIGURE_MPC=--with-mpc=/home/king/Sage/git/sage/local SAGE_CONFIGURE_NTL=--with-ntl=/home/king/Sage/git/sage/local WINDOWID=85986144 LC_NUMERIC=en_US.UTF-8 PYTHON_EGG_CACHE=/home/king/.sage//.python-eggs CYSIGNALS_CRASH_LOGS=/home/king/.sage//crash_logs CONFIGURED_FCFLAGS= GNOME_KEYRING_CONTROL= UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3031 F77FLAGS_O3_NON_NATIVE=-O3 -g CXXFLAGS_O3_NON_NATIVE=-O3 -g GTK_MODULES=gail:atk-bridge:unity-gtk-module ORIGINAL_FCFLAGS= LC_ALL= SAGE_REPO_AUTHENTICATED=ssh://g...@trac.sagemath.org:/sage.git SAGE_NUM_THREADS=1 SAGE_CONFIGURE_MPFR=--with-mpfr=/home/king/Sage/git/sage/local DOT_SAGE=/home/king/.sage/ PYTHONUSERBASE=/home/king/.sage//local SAGE_FREETYPE_PREFIX=/home/king/Sage/git/sage/local USER=king LC_TELEPHONE=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: QT_ACCESSIBILITY=1 SINGULAR_EXECUTABLE=/home/king/Sage/git/sage/local/bin/Singular CONFIGURED_F77FLAGS= UNITY_HAS_3D_SUPPORT=true XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 SAGE_CONFIGURE_GMP=--with-gmp=/home/king/Sage/git/sage/local XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh CPATH=/home/king/Sage/git/sage/local/include SAGE_SHPROMPT_PREFIX=sage-buildsh DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path SESSION_MANAGER=local/klap:@/tmp/.ICE-unix/3565,unix/klap:/tmp/.ICE-unix/3565 SAGE_LOCAL=/home/king/Sage/git/sage/local MPLCONFIGDIR=/home/king/.sage//matplotlib-1.5.1 MAXIMA_PREFIX=/home/king/Sage/git/sage/local CXXFLAGS=-O2 -g -march=native SAGE_REPO_ANONYMOUS=https://gitlab.com/sagemath/dev/tracmirror.git MAXIMA_USERDIR=/home/king/.sage//maxima CXXFLA
[sage-release] Re: Trouble with gfan
Hi Matthias, On 2021-08-31, Matthias Köppe wrote: > This all looks fine. Can you check if anything changes if you remove some > items from PATH: > In particular /home/king/bin and /home/king/.local/bin and perhaps /snap/bin ./sage -f gfan fails in the same way as before. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgnga9%24101n%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
OK, Simon, there is only one conclusion: Your machine is haunted and you should abandon it. On Wednesday, September 1, 2021 at 2:14:57 AM UTC-7 Simon King wrote: > Hi Matthias, > > On 2021-08-31, Matthias Köppe wrote: > > This all looks fine. Can you check if anything changes if you remove > some > > items from PATH: > > In particular /home/king/bin and /home/king/.local/bin and perhaps > /snap/bin > > ./sage -f gfan fails in the same way as before. > > Best regards, > Simon > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/b08b4ba7-d2cd-4eba-8095-c4cb1594a4b8n%40googlegroups.com.
[sage-release] Re: Trouble with gfan
Hi Matthias, On 2021-09-01, Matthias Köppe wrote: > OK, Simon, there is only one conclusion: Your machine is haunted and you > should abandon it. Witchcraft?? OMG!! Anyway, from your and Dima's previous suggestions it seems to me that the trouble might have been caused by a too old version of gcc. Would it make sense to do "make distclean" and then try again with Sage's own gcc? If so: Could you remind me the command for forcing Sage to build (and use) the gcc spkg? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgqj2a%241435%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Jonathan, On 2021-09-02, 'Jonathan Kliem' via sage-release wrote: > Dear Simon, > > ./configure --help | grep gcc > > reveals that you should configure sage with > > --with-system-gcc=no > > I hope that works for you. Thank you. In fact I had the idea to do "./configure --help" and look out for "gcc" a few hours ago, and now it is trying to build. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgqqbv%2418f%241%40ciao.gmane.io.
[sage-release] Re: Trouble with gfan
Hi Dima On 2021-09-02, Dima Pasechnik wrote: > you can install g++7 package on Ubuntu 16.04. (google for instructions). > > This should do the trick (after distclean). I will not work with my old laptop much longer and I suppose that on the new laptop (with a more recent Ubuntu) the problem will not occur. Anyway, I wanted to try if/how it is possible to solve the problem on the old laptop. For the record: "make distclean", "./configure --with-system-gcc=no" and "make build" worked. I don't know if "make distclean" directly followed by "make build" would have worked, too. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/sgrelc%24sda%241%40ciao.gmane.io.
Re: [sage-release] Re: Trouble with gfan
On Sun, Aug 29, 2021 at 1:32 PM Simon King wrote: > > Hi Matthia, > > On 2021-08-28, Matthias Köppe wrote: > > We actually test this platform (ubuntu xenial), and gfan builds correctly. > > See https://github.com/sagemath/sage/runs/3392764418?check_suite_focus=true > > > > This failure must be caused by something specific to your system - such as > > some stuff installed into /usr/local or something like that. > > What could be the cause? I'm not sure whether I added any stuff since the > last successful build. > > In particular, the error message I'm getting looks to me like there is > something > wrong in the sources (namely: A different number of arguments in the header > and in the code) -- is gfan partially taken from the system? probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. A system-wide install of old gfan might get in the way. > > Best regards, > Simon > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/sgfuot%24159%241%40ciao.gmane.io. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq0XzRR8jGnevf9G96qfBFq9BHOTOnCk6y9Ycd%3DaierMqw%40mail.gmail.com.
Re: [sage-release] Re: Trouble with gfan
On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > is gfan partially taken from the system? > > probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > A system-wide install of old gfan might get in the way. > No, that alone cannot explain it -- we test this configuration. ubuntu-xenial-standard installs the system gfan, then rejects it, then correctly builds gfan. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/2e1b8475-53f2-40f9-a929-0e99e701d6f3n%40googlegroups.com.
Re: [sage-release] Re: Trouble with gfan
On Sun, Aug 29, 2021 at 8:21 PM Simon King wrote: > > Hi Dima > > On 2021-08-29, Dima Pasechnik wrote: > > I'd start by un-installing system-wide gfan (could it be that you have more > > system-wide copies of it, e.g. in /usr/local/ ?) > > and try building then. > > I tried to "find /usr/local/ -name *gfan*", which resulted in nothing. > > Then I tried "sudo apt remove gfan", which told me that gfan is not > installed! So, I misinterpreted "apt show gfan" (it gave me the > apparently wrong impression that I had it installed. > > So, what next? How can I find out whether (and where) gfan is installed > system-wide? And if it is not installed: Shall I try to install gfan > system-wide, > and try building Sage again? oops, sorry - gfan does not have any system-wide headers installed, never had. It only builds binaries. The error you get is most likely due to an old g++, which chokes on a newer C++ construction, not due to a version mixup. What is the g++ version you are using? (or perhaps you use clang?) > > Best regards, > Simon > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/sggmnp%24kfl%241%40ciao.gmane.io. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq1KVTdbYcb6bcZ1wqf_O4xbuqBY4uCv0C%3DrCefUYn4G3g%40mail.gmail.com.
Re: [sage-release] Re: Trouble with gfan
As far as I am concerned, Ubuntu 16.04 is past its EOL. We should not support it, and it will save us time messing around with obsolete compilers too (the last release in gcc 5 branch was 4 years ago, and gcc does not support anything older than gcc 9 now). On Mon, Aug 30, 2021 at 7:22 PM Simon King wrote: > > Hi Matthias, > > On 2021-08-30, Matthias Köppe wrote: > > ./configure correctly determines that it needs to use CXX='g++ > > -std=gnu++11' to work with this old compiler. > > Check if you have environment variables CC or CXX set in your global > > environment -- they should be unset; otherwise, they will override the > > values determined by ./configure. (This is nonstandard behavior of our > > build system.) > > In a shell: > king@klap:~/Sage/git/sage$ echo $CC > > king@klap:~/Sage/git/sage$ echo $CXX > > So, it is not set. > In a Sage shell: > (sage-sh) king@klap:sage$ echo $CC > gcc > (sage-sh) king@klap:sage$ echo $CXX > g++ -std=gnu++11 > > This is what it should be, right? > > Best regards, > Simon > > > > On Sunday, August 29, 2021 at 3:04:34 PM UTC-7 Simon King wrote: > > > >> Hi Matthias, > >> > >> the two logs are at https://users.fmi.uni-jena.de/~king/logs/ > >> > >> Best regards, > >> Simon > >> > >> On 2021-08-29, Matthias Köppe wrote: > >> > Singular vendors a part of gfan called gfanlib. Perhaps an installation > >> of > >> > that is leaking into your build. > >> > > >> > If you can share your top-level config.log and the full gfan build log, > >> we > >> > can take a closer look. > >> > > >> > On Sunday, August 29, 2021 at 11:50:32 AM UTC-7 Simon King wrote: > >> > > >> >> Hi Matthias, > >> >> > >> >> On 2021-08-29, Matthias Köppe wrote: > >> >> > On Sunday, August 29, 2021 at 5:44:33 AM UTC-7 Dima Pasechnik wrote: > >> >> > > >> >> >> is gfan partially taken from the system? > >> >> >> > >> >> >> probably. Ubuntu 16.04 has gfan version 0.5, but Sage needs 0.6.2. > >> >> >> A system-wide install of old gfan might get in the way. > >> >> > > >> >> > No, that alone cannot explain it -- we test this configuration. > >> >> > ubuntu-xenial-standard installs the system gfan, then rejects it, > >> then > >> >> > correctly builds gfan. > >> >> > >> >> What could explain it? Is there a typical application that I might have > >> >> installed and depends on gfan? I mean, it is for Groebner fans. So, what > >> >> *non-mathematical* software would use it? I don't think that I installed > >> >> a mathematical software after the last successful build of Sage. > >> >> > >> >> Should I try to uninstall gfan, re-install it, and try again? And, > >> >> if that fails, uninstall and NOT re-install, but build Sage and hope > >> >> that it provides a working gfan? > >> >> > >> >> Best regards, > >> >> Simon > >> >> > >> >> > >> > > >> > >> > > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "sage-release" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-release/WX3m7T8-SeM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/sgj7jp%247b6%241%40ciao.gmane.io. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq1mC6ANDhNWFnoLprYUeMZakKqW3rh52NMGQz-bkSKjWg%40mail.gmail.com.
Re: [sage-release] Re: Trouble with gfan
Dear Simon, ./configure --help | grep gcc reveals that you should configure sage with --with-system-gcc=no I hope that works for you. Jonathan On 02.09.21 15:20, Simon King wrote: Hi Matthias, On 2021-09-01, Matthias Köppe wrote: OK, Simon, there is only one conclusion: Your machine is haunted and you should abandon it. Witchcraft?? OMG!! Anyway, from your and Dima's previous suggestions it seems to me that the trouble might have been caused by a too old version of gcc. Would it make sense to do "make distclean" and then try again with Sage's own gcc? If so: Could you remind me the command for forcing Sage to build (and use) the gcc spkg? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/ccaab2cb-7b4a-5d2e-b648-8f709bc4b2d6%40gmail.com.
Re: [sage-release] Re: Trouble with gfan
you can install g++7 package on Ubuntu 16.04. (google for instructions). This should do the trick (after distclean). On Thu, 2 Sep 2021, 14:20 Simon King, wrote: > Hi Matthias, > > On 2021-09-01, Matthias Köppe wrote: > > OK, Simon, there is only one conclusion: Your machine is haunted and you > > should abandon it. > > Witchcraft?? OMG!! > > Anyway, from your and Dima's previous suggestions it seems to me that > the trouble might have been caused by a too old version of gcc. Would it > make sense to do "make distclean" and then try again with Sage's own > gcc? If so: Could you remind me the command for forcing Sage to build > (and use) the gcc spkg? > > Best regards, > Simon > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-release" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-release/WX3m7T8-SeM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/sgqj2a%241435%241%40ciao.gmane.io > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq0nPbD75U%3DV7vGcnxstTtgujBC-7TSYqSueQqQ5%3D3K4eQ%40mail.gmail.com.