[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Website translations with Haunt
From: |
ng0 |
Subject: |
Re: Website translations with Haunt |
Date: |
Tue, 12 Dec 2017 08:03:02 +0000 |
pelzflorian (Florian Pelz) transcribed 3.1K bytes:
> On Sun, Dec 10, 2017 at 02:35:16PM -0800, Matt Wette wrote:
> > > By the way, what I forgot to mention is that I needed to replace
> > >
> > > #include <stdlib.h>
> > >
> > > in the gettext-po.h header file by
> > >
> > > typedef long size_t;
> > >
> > > otherwise “guild compile-ffi gettext-po.ffi” would fail with the error
> > > message
> > >
> > > ffi-help: WARNING: the FFI helper is experimental
> > > (unknown):1: not found: "gnu/stubs-32.h"
> > > compile-ffi: parse failed
> > >
> >
> >
> > The FH compiler executed gcc to find all the hidden include directories.
> > If you don't have gcc
> > in your path (you didn't seem to have guile in your path) then it won't
> > find those directories.
> > You can add `-I path-to-gcc-inc-dirs' arg to your path or make make sure
> > "gcc" is in your path.
> >
> > Matt
> >
>
> Thank you for the tip with the -I option.
>
> Hmm I’ve since destroyed the Parabola operating system and
> switched to GuixSD. It still happens when I run
>
> $ guild compile-ffi -I
> /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettext-0.19.8.1/include -I
> /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/include gettext-po.ffi
> ffi-help: WARNING: the FFI helper is experimental
> (unknown):1: not found: "gnu/stubs-32.h"
> compile-ffi: parse failed
>
> A gnu/stubs-64.h exists though.
>
> Apparently I need to install the 32-bit version of glibc in
> order for it to work. I tried
>
> $ guix build -s i686-linux glibc
> […]
> @ build-succeeded /gnu/store/g7fj77yfv1m4xilfqxvzggm5kd20i10z-glibc-2.25.drv -
> /gnu/store/km57wad98gyghrbj8pwydcscsh9y4n4d-glibc-2.25-debug
> /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.25
>
> Now
> $ guild compile-ffi -I
> /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettext-0.19.8.1/include -I
> /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.25/include gettext-po.ffi
> ffi-help: WARNING: the FFI helper is experimental
> wrote `gettext-po.scm'
>
> worked with the original header file.
>
> (
>
> Removing /usr/bin/gcc leads to a
> different error message:
>
> $ guild compile-ffi gettext-po.scm
> /bin/sh: gcc: command not found
> […]
>
> )
Solution: You don't install gcc on Guix. You install gcc-toolchain.
I suspect that you have 'gcc' 'glibc' etc installed via
guix package --install gcc glibc
in your profile. That's not how it works on Guix.
> Regards,
> Florian
>
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is
signature.asc
Description: PGP signature
- Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/09
- Re: Website translations with Haunt, Matt Wette, 2017/12/10
- Re: Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/10
- Re: Website translations with Haunt, Matt Wette, 2017/12/10
- Re: Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/12
- Re: Website translations with Haunt,
ng0 <=
- Re: Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/12
- Re: Website translations with Haunt, Matt Wette, 2017/12/12
- Re: Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/12
- Re: Website translations with Haunt, Matt Wette, 2017/12/10
- Re: Website translations with Haunt, pelzflorian (Florian Pelz), 2017/12/12
Message not available
Re: Website translations with Haunt, Christopher Lemmer Webber, 2017/12/14