GNU bug report logs - #71022
[PATCH] configure.ac: Set default value for the 'prefix' variable.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 17 May 2024 23:56:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Simon Tournier <zimon.toutoune <at> gmail.com>, Vagrant Cascadian <vagrant <at> debian.org>, Richard Sent <richard <at> freakingpenguin.com>, 71022 <at> debbugs.gnu.org, Efraim Flashner <efraim <at> flashner.co.il>, Florian Pelz <pelzflorian <at> pelzflorian.de>, Ricardo Wurmus <rekado <at> elephly.net>, Andreas Enge <andreas <at> enge.fr>, Attila Lendvai <attila <at> lendvai.name>, Matthew Trzcinski <matt <at> excalamus.com>, Janneke Nieuwenhuizen <janneke <at> gnu.org>
Subject: [bug#71022] [PATCH] configure.ac: Set default value for the 'prefix' variable.
Date: Thu, 23 May 2024 11:17:17 +0200
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

>> Shouldn’t it read “prefix=/”?
>
> This is what I went for originally, but it would cause this error:
>
> configure: error: chosen localstatedir '//var' does not match that of the existing installation '/var'
> Installing may corrupt /gnu/store!
> Use './configure --localstatedir=/var'.
>
> So it seems Autoconf's generated configure script expects --prefix to
> *not* contain a trailing '/', which is the case for --prefix=/.

Oh I see, makes sense.

Thanks,
Ludo’.




This bug report was last modified 1 year and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.