From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: postgres service Date: Sun, 23 Apr 2017 08:50:10 +0200 Message-ID: References: <87efxzn87n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114977a4e2ed6a054dcfe6d2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2BLb-0002Sf-0S for help-guix@gnu.org; Sun, 23 Apr 2017 02:50:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2BLa-0004CJ-6y for help-guix@gnu.org; Sun, 23 Apr 2017 02:50:15 -0400 In-Reply-To: <87efxzn87n.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: help-guix --001a114977a4e2ed6a054dcfe6d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-03-14 17:17 GMT+01:00 Ludovic Court=C3=A8s : > Hello! > > Catonano skribis: > > > I added a postgresql service to the list of my services, like this > > > > (services (cons* (postgresql-service #:locale "it_IT.UTF-8") > > (gnome-desktop-service) > > (xfce-desktop-service) > > %desktop-services)) > > > > This is an excerpt of the "guix system reconfigure etc/config.scm" log > > > > ... > > loading system objects' descriptions ... ok > > creating collations ... sh: locale: command not found > > ok > > No usable system locales were found. > > Use the option "--debug" to see details. > > ... > > It looks like the =E2=80=98initdb=E2=80=99 attempts to invoke the =E2=80= =98locale=E2=80=99 command (from > glibc), which it cannot find here. If this is correct, then we should > add =E2=80=98locale=E2=80=99 to the PATH when invoking =E2=80=98initdb=E2= =80=99. > > Christopher: WDYT? > > Thanks, > I reconfigured my system and suddenly the postgres locale works ! Thanks ! --001a114977a4e2ed6a054dcfe6d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2017-03-14 17:17 GMT+01:00 Ludovic Court=C3=A8s <<= a href=3D"mailto:ludo@gnu.org" target=3D"_blank">ludo@gnu.org>:
Hello!

Catonano <catonano@gmail.com&g= t; skribis:

> I added a postgresql service to the list of my services, like this
>
> (services (cons* (postgresql-service #:locale "it_IT.UTF-8")=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(gnome-de= sktop-service)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(xfce-des= ktop-service)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%d= esktop-services))
>
> This is an excerpt of the "guix system reconfigure etc/config.scm= " log
>
> ...
> loading system objects' descriptions ... ok
> creating collations ... sh: locale: command not found
> ok
> No usable system locales were found.
> Use the option "--debug" to see details.
> ...

It looks like the =E2=80=98initdb=E2=80=99 attempts to invoke the = =E2=80=98locale=E2=80=99 command (from
glibc), which it cannot find here.=C2=A0 If this is correct, then we should=
add =E2=80=98locale=E2=80=99 to the PATH when invoking =E2=80=98initdb=E2= =80=99.

Christopher: WDYT?

Thanks,

I reconfigured my s= ystem and suddenly the postgres locale works !

Thanks !
--001a114977a4e2ed6a054dcfe6d2--