From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: Removing the need for ./configure --localstatedir=/var ? Date: Mon, 11 Sep 2017 20:18:21 -0500 Message-ID: <87d16wd89u.fsf@dustycloud.org> References: <87bmmm30iq.fsf@dustycloud.org> <87d16y45vz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drZqq-0004Y0-Bq for guix-devel@gnu.org; Mon, 11 Sep 2017 21:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drZql-0001OO-N2 for guix-devel@gnu.org; Mon, 11 Sep 2017 21:18:56 -0400 In-reply-to: <87d16y45vz.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Christopher Allan Webber skribis: > >> Every now and then I rebuild Guix and hit the problem where I run >> ./configure and then I am reminded that I need to instead do: >> >> ./configure --localstatedir=3D/var >> >> IIRC this is because of GNU standards about default paths and pretty >> much no other reason that we don't default to /var. But I think Guix = is >> a special case. >> >> Should we ask maybe for an exception? > > No need to ask. :-) > >> There's no reason for users to bump into this. It's annoying even for >> me, and at least I know (or think I do) why. > > I think it would be surprising to users who install from source if > localstatedir is not under $prefix by default (someone who wants to > install to /opt/foo would be surprised to find out that some files go t= o > /var instead of /opt/foo/var.) > > There=E2=80=99s also the question of =E2=80=9Cmake dist=E2=80=9D, which= should still DTRT. > > We could have $prefix default to /=E2=80=A6 but that=E2=80=99s not quit= e what one might > expect either. > > I think the current situation is a good middle ground, even though I ca= n > also sympathize with your frustration. > > Thoughts? > > It=E2=80=99s weird how a simple question like this can be seemingly thi= s complex > to address. :-) > > Ludo=E2=80=99. Okay! If you feel confident it's the right thing, then I'm not going to argue about it. The warning helps... it's just a little bit annoying :)