From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ng0 Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: Website translations with Haunt Date: Tue, 12 Dec 2017 08:03:02 +0000 Message-ID: <20171212080302.gqhody6clsn3gcpy@abyayala> References: <20171209180619.GA10254@floriannotebook.localdomain> <337C4CEB-E242-4D3B-B110-E19B485DA0AB@gmail.com> <20171210192143.GA1796@floriannotebook.localdomain> <20171212075146.dvu57vwixlzay3su@floriannotebook> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jmbgtgzxzxpphyph" X-Trace: blaine.gmane.org 1513065821 6022 195.159.176.226 (12 Dec 2017 08:03:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 08:03:41 +0000 (UTC) Cc: Guile User Mailing List , guile-devel , Matt Wette To: "pelzflorian (Florian Pelz)" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 12 09:03:33 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOfXI-000190-9g for guile-devel@m.gmane.org; Tue, 12 Dec 2017 09:03:32 +0100 Original-Received: from localhost ([::1]:57086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOfXP-0004dw-J4 for guile-devel@m.gmane.org; Tue, 12 Dec 2017 03:03:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOfXG-0004cG-Dy for guile-devel@gnu.org; Tue, 12 Dec 2017 03:03:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOfXA-0003Cd-Me for guile-devel@gnu.org; Tue, 12 Dec 2017 03:03:30 -0500 Original-Received: from aibo.runbox.com ([91.220.196.211]:56996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOfX2-000306-TG; Tue, 12 Dec 2017 03:03:17 -0500 Original-Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eOfWz-00021v-OR; Tue, 12 Dec 2017 09:03:13 +0100 Original-Received: from dslb-094-220-173-149.094.220.pools.vodafone-ip.de ([94.220.173.149] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eOfWp-00006h-S0; Tue, 12 Dec 2017 09:03:04 +0100 Mail-Followup-To: "pelzflorian (Florian Pelz)" , Matt Wette , Guile User Mailing List , guile-devel Content-Disposition: inline In-Reply-To: <20171212075146.dvu57vwixlzay3su@floriannotebook> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 91.220.196.211 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19409 gmane.lisp.guile.user:14338 Archived-At: --jmbgtgzxzxpphyph Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 > > >=20 > > > #include > > >=20 > > > in the gettext-po.h header file by > > >=20 > > > typedef long size_t; > > >=20 > > > otherwise =E2=80=9Cguild compile-ffi gettext-po.ffi=E2=80=9D would fa= il with the error > > > message > > >=20 > > > ffi-help: WARNING: the FFI helper is experimental > > > (unknown):1: not found: "gnu/stubs-32.h" > > > compile-ffi: parse failed > > >=20 > >=20 > >=20 > > The FH compiler executed gcc to find all the hidden include directories= =2E 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 sur= e "gcc" is in your path. > >=20 > > Matt > >=20 >=20 > Thank you for the tip with the -I option. >=20 > Hmm I=E2=80=99ve since destroyed the Parabola operating system and > switched to GuixSD. It still happens when I run >=20 > $ guild compile-ffi -I /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettex= t-0.19.8.1/include -I /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.2= 5/include gettext-po.ffi > ffi-help: WARNING: the FFI helper is experimental > (unknown):1: not found: "gnu/stubs-32.h" > compile-ffi: parse failed >=20 > A gnu/stubs-64.h exists though. >=20 > Apparently I need to install the 32-bit version of glibc in > order for it to work. I tried >=20 > $ guix build -s i686-linux glibc > [=E2=80=A6] > @ build-succeeded /gnu/store/g7fj77yfv1m4xilfqxvzggm5kd20i10z-glibc-2.25.= drv - > /gnu/store/km57wad98gyghrbj8pwydcscsh9y4n4d-glibc-2.25-debug > /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.25 >=20 > Now > $ guild compile-ffi -I /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettex= t-0.19.8.1/include -I /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.2= 5/include gettext-po.ffi > ffi-help: WARNING: the FFI helper is experimental > wrote `gettext-po.scm' >=20 > worked with the original header file. >=20 > ( >=20 > Removing /usr/bin/gcc leads to a > different error message: >=20 > $ guild compile-ffi gettext-po.scm > /bin/sh: gcc: command not found > [=E2=80=A6] >=20 > ) 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 >=20 --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --jmbgtgzxzxpphyph Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlovjTYACgkQ4i+bv+40 hYiSnxAAqHhDsNQbb6POfnChwmIHd5mRb7qbQD7iUXEizsVt4r10kG7foTqq3PTU XLA3isX6zOv/HVKMXN7u6B4MYoX1Fw395N6qXvpcMJWpsuX0Llw8cge1AfimiFvK H00RczIg3/fXRFfYQx8Xab3RA7ZFSPlwSeub0q0Xp0MPdwGpAskoWVEWgO0rSzQK fMltrZymNtCqg+3FMBPl4XywMePxdU2imIREPmoiwFKb7Uz0JQIQIgg+GjmlOmGA wJHJzkd08Hy+TDwUbtj2IGohTqjYbgF5/0Ap3xeNRAdGIAcueb1Lk+C821s5ZU3U 2S9o0BmLZMR/R6jbZLdw+/XXnmeOUWT7J2EH0MHX8qZVTq/2aqxO6+cH5kPfG9rC +KJK8f3TqZJ6cdqlyxDEyoxhFTsDTaayxGMKOjQ7lQ9PjrQfO99X9oNEYlkc5mgE Nmu53NsWhLHOObqiUFu9BXb/Ct09MRSelCTAxVnv+kPusHhPA0gOni9jl98gNT3W NX540OJ5T1U6WTm7qPXYH3wo1rrReEgGyZmJ9sWTz0iaZfJ3v6U388TKMRtK2oY7 7Ql6nWENNs4dGsrzBT2TzGEm6/nBmlS3WZPO81gKlBAxwmXa29+PaRiuYqS+xF1Y waqAxNSnoRyYAkDVfCn/HlFKewBZJ+VrckZba/nQzrBdVhLC9Ek= =dSc2 -----END PGP SIGNATURE----- --jmbgtgzxzxpphyph--