Hi, The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it... --- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/
[-- Attachment #1: Type: text/plain, Size: 1908 bytes --] Luis Felipe <luis.felipe.la@protonmail.com> skribis: > Hi, > > The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it... > > > --- > Luis Felipe López Acevedo > https://luis-felipe.gitlab.io/ Hi, There's a "locale" program in the glibc package. --8<---------------cut here---------------start------------->8--- $ guix build glibc /gnu/store/k3dv964sg3n9ls8h28js1q93m6k2p25v-glibc-2.31-debug /gnu/store/gkz044xyi5gmknn5pcdhcviq153w90lf-glibc-2.31 /gnu/store/hjgmcx7pxiwv62f1hv4cfqsajy7cqs54-glibc-2.31-static $ ls -l /gnu/store/gkz044xyi5gmknn5pcdhcviq153w90lf-glibc-2.31/bin/ total 676 -r-xr-xr-x 2 root root 3401 1970-01-01 01:00 catchsegv -r-xr-xr-x 2 root root 31864 1970-01-01 01:00 gencat -r-xr-xr-x 5 root root 29856 1970-01-01 01:00 getconf -r-xr-xr-x 2 root root 40000 1970-01-01 01:00 getent -r-xr-xr-x 2 root root 65856 1970-01-01 01:00 iconv -r-xr-xr-x 2 root root 5714 1970-01-01 01:00 ldd -r-xr-xr-x 2 root root 55240 1970-01-01 01:00 locale -r-xr-xr-x 2 root root 296432 1970-01-01 01:00 localedef -r-xr-xr-x 2 root root 28480 1970-01-01 01:00 makedb -r-xr-xr-x 3 root root 6441 1970-01-01 01:00 mtrace -r-xr-xr-x 2 root root 17792 1970-01-01 01:00 pcprofiledump -r-xr-xr-x 2 root root 22880 1970-01-01 01:00 pldd -r-xr-xr-x 2 root root 4440 1970-01-01 01:00 sotruss -r-xr-xr-x 2 root root 32456 1970-01-01 01:00 sprof -r-xr-xr-x 2 root root 15460 1970-01-01 01:00 tzselect -r-xr-xr-x 2 root root 5458 1970-01-01 01:00 xtrace --8<---------------cut here---------------end--------------->8--- I think the gcc-toolchain package also includes links to these programs. So installing glibc or gcc-toolchain should make the "locale" program available. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 247 bytes --]
On Sunday, April 4, 2021 7:40 AM, Guillaume Le Vaillant <glv@posteo.net> wrote: > Luis Felipe luis.felipe.la@protonmail.com skribis: > > > Hi, > > The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it... [...] > So installing glibc or gcc-toolchain should make the "locale" program > available. Thanks, Guillaume, I went with gcc-toolchain, and it works now. I didn't tried glibc because I use Guix System and, from the description of the package, I assumed it should be already installed.
It's "installed" in the sense that it's used by almost every package, but it's not explicitely part of your profile. Dependencies are installed to the store, but not explicitely accessible unless you install them to your profile.
I hope it makes sense, and glad you found a solution!
Le 4 avril 2021 09:38:41 GMT-04:00, Luis Felipe <luis.felipe.la@protonmail.com> a écrit :
>On Sunday, April 4, 2021 7:40 AM, Guillaume Le Vaillant
><glv@posteo.net> wrote:
>
>> Luis Felipe luis.felipe.la@protonmail.com skribis:
>>
>> > Hi,
>> > The GNU C library documentation mentions this "locale" program that
>I'd like to use
>(https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112),
>but I can't seem to find the package [output] that provides it...
>
>[...]
>
>> So installing glibc or gcc-toolchain should make the "locale" program
>> available.
>
>Thanks, Guillaume, I went with gcc-toolchain, and it works now.
>
>I didn't tried glibc because I use Guix System and, from the
>description of the package, I assumed it should be already installed.