* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
@ 2022-08-26 17:32 Katherine Cox-Buday
2022-08-26 18:25 ` Liliana Marie Prikler
2022-08-26 19:02 ` Maxime Devos
0 siblings, 2 replies; 8+ messages in thread
From: Katherine Cox-Buday @ 2022-08-26 17:32 UTC (permalink / raw)
To: 57436
It gives me this error: configure: error: C++ compiler 'g++' does not
support the C++11 standard
I have to run `guix shell -D guix gcc-toolchain@12.1.0 --pure` to get
./configure to work.
Since `guix shell -D` includes the development packages for Guix,
maybe the package needs updating?
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-26 17:32 bug#57436: Running ./configure from `guix shell -D guix --pure` errors Katherine Cox-Buday
@ 2022-08-26 18:25 ` Liliana Marie Prikler
2022-08-26 19:02 ` Maxime Devos
1 sibling, 0 replies; 8+ messages in thread
From: Liliana Marie Prikler @ 2022-08-26 18:25 UTC (permalink / raw)
To: Katherine Cox-Buday, 57436
Am Freitag, dem 26.08.2022 um 11:32 -0600 schrieb Katherine Cox-Buday:
> It gives me this error: configure: error: C++ compiler 'g++' does not
> support the C++11 standard
>
> I have to run `guix shell -D guix gcc-toolchain@12.1.0 --pure` to get
> ./configure to work.
>
> Since `guix shell -D` includes the development packages for Guix,
> maybe the package needs updating?
I'm pretty sure GCC 10 ought to support C++11. There's probably some
other issue with your GCC, you might want to try `guix build --repair'.
Cheers
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-26 17:32 bug#57436: Running ./configure from `guix shell -D guix --pure` errors Katherine Cox-Buday
2022-08-26 18:25 ` Liliana Marie Prikler
@ 2022-08-26 19:02 ` Maxime Devos
2022-08-26 19:34 ` Katherine Cox-Buday
2022-08-27 15:56 ` Katherine Cox-Buday
1 sibling, 2 replies; 8+ messages in thread
From: Maxime Devos @ 2022-08-26 19:02 UTC (permalink / raw)
To: Katherine Cox-Buday, 57436
[-- Attachment #1.1.1: Type: text/plain, Size: 741 bytes --]
On 26-08-2022 19:32, Katherine Cox-Buday wrote:
> It gives me this error: configure: error: C++ compiler 'g++' does not
> support the C++11 standard
>
> I have to run `guix shell -D guixgcc-toolchain@12.1.0 --pure` to get
> ./configure to work.
>
> Since `guix shell -D` includes the development packages for Guix,
> maybe the package needs updating?
Maybe ./configure somehow picks up an old g++ from outside the "guix
shell" environment.
To avoid this, you can do `guix shell --pure -D guix'.
Don't forget to add --localstatedir=/var to ./configure, especially if
you hack on the daemon -- otherwise if you start the modified daemon
from your git checkout, the state will go out of sync.
Greetings,
Maxime
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-26 19:02 ` Maxime Devos
@ 2022-08-26 19:34 ` Katherine Cox-Buday
2022-08-26 20:27 ` Maxime Devos
2022-08-27 15:56 ` Katherine Cox-Buday
1 sibling, 1 reply; 8+ messages in thread
From: Katherine Cox-Buday @ 2022-08-26 19:34 UTC (permalink / raw)
To: Maxime Devos; +Cc: 57436
Thanks, Maxime!
Does the location of the `--pure` flag matter? I.e. I was running
`guix shell -D guix --pure` (suggested by the manual)
and you're suggesting
`guix shell --pure -D guix'
On Fri, Aug 26, 2022 at 1:02 PM Maxime Devos <maximedevos@telenet.be> wrote:
>
> On 26-08-2022 19:32, Katherine Cox-Buday wrote:
>
> > It gives me this error: configure: error: C++ compiler 'g++' does not
> > support the C++11 standard
> >
> > I have to run `guix shell -D guixgcc-toolchain@12.1.0 --pure` to get
> > ./configure to work.
> >
> > Since `guix shell -D` includes the development packages for Guix,
> > maybe the package needs updating?
>
> Maybe ./configure somehow picks up an old g++ from outside the "guix
> shell" environment.
>
> To avoid this, you can do `guix shell --pure -D guix'.
>
> Don't forget to add --localstatedir=/var to ./configure, especially if
> you hack on the daemon -- otherwise if you start the modified daemon
> from your git checkout, the state will go out of sync.
>
> Greetings,
> Maxime
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-26 19:34 ` Katherine Cox-Buday
@ 2022-08-26 20:27 ` Maxime Devos
0 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2022-08-26 20:27 UTC (permalink / raw)
To: Katherine Cox-Buday; +Cc: 57436
[-- Attachment #1.1.1: Type: text/plain, Size: 325 bytes --]
On 26-08-2022 21:34, Katherine Cox-Buday wrote:
> Thanks, Maxime!
>
> Does the location of the `--pure` flag matter? I.e. I was running
>
> `guix shell -D guix --pure` (suggested by the manual)
>
> and you're suggesting
>
> `guix shell --pure -D guix'
I would expect it not to matter.
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-26 19:02 ` Maxime Devos
2022-08-26 19:34 ` Katherine Cox-Buday
@ 2022-08-27 15:56 ` Katherine Cox-Buday
2022-08-29 14:01 ` zimoun
1 sibling, 1 reply; 8+ messages in thread
From: Katherine Cox-Buday @ 2022-08-27 15:56 UTC (permalink / raw)
To: Maxime Devos; +Cc: 57436
Maxime Devos <maximedevos@telenet.be> writes:
> Maybe ./configure somehow picks up an old g++ from outside the "guix shell"
> environment.
This turned out to be the issue. I discovered my shell startup files were
mis-configured by running `guix shell --pure --check -D guix`. This is
definitely a user error, and my fault, but maybe we should update the manual
to include the `--check` flag?
--
Katherine
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-27 15:56 ` Katherine Cox-Buday
@ 2022-08-29 14:01 ` zimoun
2022-09-07 18:26 ` Katherine Cox-Buday
0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2022-08-29 14:01 UTC (permalink / raw)
To: Katherine Cox-Buday, Maxime Devos; +Cc: 57436
Hi,
On sam., 27 août 2022 at 09:56, Katherine Cox-Buday <cox.katherine.e@gmail.com> wrote:
> This turned out to be the issue. I discovered my shell startup files were
> mis-configured by running `guix shell --pure --check -D guix`. This is
> definitely a user error, and my fault, but maybe we should update the manual
> to include the `--check` flag?
Well, “guix shell” should hint a ’--check’ the first time you run it.
And is the explanation about ’--check’ (section Invoking guix shell) not
clear?
Do you mean update the «Building from Git» section?
Cheers,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#57436: Running ./configure from `guix shell -D guix --pure` errors
2022-08-29 14:01 ` zimoun
@ 2022-09-07 18:26 ` Katherine Cox-Buday
0 siblings, 0 replies; 8+ messages in thread
From: Katherine Cox-Buday @ 2022-09-07 18:26 UTC (permalink / raw)
To: zimoun; +Cc: 57436, Maxime Devos
On Mon, Aug 29, 2022 at 1:29 PM zimoun <zimon.toutoune@gmail.com> wrote:
> Do you mean update the «Building from Git» section?
Yes this is what I mean.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-07 18:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 17:32 bug#57436: Running ./configure from `guix shell -D guix --pure` errors Katherine Cox-Buday
2022-08-26 18:25 ` Liliana Marie Prikler
2022-08-26 19:02 ` Maxime Devos
2022-08-26 19:34 ` Katherine Cox-Buday
2022-08-26 20:27 ` Maxime Devos
2022-08-27 15:56 ` Katherine Cox-Buday
2022-08-29 14:01 ` zimoun
2022-09-07 18:26 ` Katherine Cox-Buday
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.