bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-09-07 Thread Katherine Cox-Buday
On Mon, Aug 29, 2022 at 1:29 PM zimoun  wrote:

> Do you mean update the «Building from Git» section?

Yes this is what I mean.





bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-29 Thread zimoun
Hi,

On sam., 27 août 2022 at 09:56, Katherine Cox-Buday  
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






bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-27 Thread Katherine Cox-Buday
Maxime Devos  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





bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-26 Thread Maxime Devos


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.



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-26 Thread Katherine Cox-Buday
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  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
>





bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-26 Thread Maxime Devos

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



OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-26 Thread Liliana Marie Prikler
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





bug#57436: Running ./configure from `guix shell -D guix --pure` errors

2022-08-26 Thread 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?